PATCH: PR ld/4701: binutils generates invalid klibc-based binary on Linux x86_64
Alan Modra
amodra@bigpond.net.au
Thu Jun 28 03:00:00 GMT 2007
On Wed, Jun 27, 2007 at 07:40:27PM -0700, H. J. Lu wrote:
> Linux ld.so isn't OK with your change. We haven't seen the problem
> because we won't get a PT_LOAD segment with .bss sections only
> using the default linker script. I uploaded a testcase to:
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=4701
Arggh! I was sure this worked! So we should go back to using my voff
code probably, or otherwise hack p_offset.
Meanwhile, please let me know exactly why klibc was unhappy, as I'm
concerned that whatever is causing the segv there might also be
affected by overlapping p_offset for bss segments.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list