Error: LD: symbol not found: '__data_start'

Christian Helmuth christian.helmuth at genode-labs.com
Mon Jun 14 16:44:21 CEST 2021


Alexander,

On Mon, Jun 14, 2021 at 15:22:37 CEST, Alexander Tormasov via users wrote:
> uintptr
> getEtext(void)
> {
>   const void *p;
> 
>   p = __data_start;
>   if (p == nil)
>     p = __etext;
>   if (p == nil)
>     p = _etext;
>   return (uintptr)(p);
> }

How do you think about the following fix in this cloudy situation?

1. Define __data_start to nil like it's done for _AIX

2. Accept __etext that is already provided by genode_dyn.ld

Greets
-- 
Christian Helmuth
Genode Labs

https://www.genode-labs.com/ · https://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth



More information about the users mailing list