[Barrelfish-users] .data section overlapping .text
Zeus Gómez Marmolejo
zeus.gomez at bsc.es
Tue Aug 16 17:04:12 CEST 2011
Hi,
I've seen that all executables compiled for x86_64 have the -section-start .
data.rel.ro=0x600000 for the linker.
I just activated all debug and trace capabilities of Gasnet and surprisingly
the text section starting on 0x400000 goes beyond 0x600000, so the linker
complains with the following error:
/usr/bin/ld: section .data.rel.ro loaded at
[0000000000600000,0000000000601077] overlaps section .text loaded at
[0000000000400160,000000000064d8a7]
Do you need the data section to be placed at 0x600000 ? Why is that? Can't
the loader just read it from the ELF header?
Many thanks,
--
Zeus Gómez Marmolejo
Barcelona Supercomputing Center
PhD student
http://www.bsc.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20110816/5dbf2d3d/attachment.html
More information about the Barrelfish-users
mailing list