This is the mail archive of the 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] LD: PROVIDE_HIDDEN export class problem

On 4/29/2013 6:30 PM, Maciej W. Rozycki wrote:
2. For the hppa64-hp-hpux11.23 and hppa64-linux targets the backend
    produces .dynsym and .dynstr sections even in static links.  The former
    section is empty and the latter contains a single zero byte, however
    the result is they show up in `readelf -s' dumps.  Other dynamic
    sections are also produced as is a dynamic segment.

    This is probably a bug in these backends; especially for Linux I fail
    to see a reason why the kernel would require any dynamic file
    structures in a static executable.  I will appreciate feedback from
    HPPA maintainers; meanwhile I have tweaked test patterns to discard
    rubbish before static symbol table dumps to avoid failures on these
    targets (I'd prefer to remove the tweak though, if that is indeed a
This is definitely intentional for HP-UX.  See discussion in this
thread: <>.

For Linux, it's probably a bug but it isn't a problem as far as
I know.


John David Anglin

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