This is the mail archive of the binutils@sources.redhat.com 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: RFA: Don't canonicalize STT_SECTION syms


On Thu, Dec 09, 2004 at 10:21:32PM -0500, Daniel Jacobowitz wrote:
> On Thu, Dec 09, 2004 at 10:14:47PM -0500, Hans-Peter Nilsson wrote:
> > The error seems in all cases to be that the section name in
> > relocs isn't printed but instead, nothing.  For example, the
> > first error from gas.log:
> 
> > I'm a bit surprised that noone else has reported a problem; this
> > doesn't seem to be specfific for the MMIX port or some
> > unconventional corner of it.
> 
> The MMIX port must be doing something different with section symbols
> than other targets; I tested a couple of other platforms.

No, it's just that the MMIX port has one of the best testsuites.
Try "objdump -r" on any other platform.

>  Could you
> show me readelf -Ss output for an affected object?

readelf won't show anything wrong.  The problem is that objdump uses
the canonicalized symbol name, and the real ELF section symbols have
a name of "".  So you get an empty string displayed instead of the
section name.

-- 
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]