You forgot that the text segment may contain
references to data or bss.
Ah, I did not suppose that there would be such absolute references, which would mean that that loader needs to modify the content of the text segment according to where it allocates the data segment. I assumed the data segments would be allocated not by the loader but by the OS when starting the program.

Sorry for my ignorance :(

-Michael
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to