This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR ld/4701: binutils generates invalid klibc-based binary on Linux x86_64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]