[PATCH] D17601: [ELF] - Define special symbols _etext and _edata
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 04:29:12 PST 2016
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.
Description of symbols is avalable here:
It is said that:
_etext - The address of _etext is the first location after the last read-only loadable segment.
_edata - The address of _edata is the first location after the last read-write loadable segment.
_end - If the address of _edata is greater than the address of _etext, the address of _end is same as the address of _edata.
In real life _end and _edata has different values for that case. Both gold/bfd set _edata to address of .bss
This patch do the same for consistency.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6905 bytes
Desc: not available
More information about the llvm-commits