This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Special ELF section flags vs. linker-specified bfd flags
On Thu, Oct 19, 2006 at 12:20:35PM -0700, H. J. Lu wrote:
> On Thu, Oct 19, 2006 at 07:12:33PM +0100, Richard Sandiford wrote:
> > "H. J. Lu" <hjl@lucon.org> writes:
> > > "makec check" failed in ld on Linux/x86-64:
> > >
> > > FAIL: Run with libdl3a.so
> > > FAIL: Run with libdl3b.so
> > > FAIL: Run with libdl3c.so
> > > ...
> > > ERROR: tmpdir/3.x: nm failed
> > > ERROR: tmpdir/4.x: nm failed
> > > ERROR: tmpdir/5.x: nm failed
> >
> > Hmm, it works fine for me on the same target. What do the logs say?
> >
>
> I see those on the current FC5/x86-64. I got
>
> /export/build/gnu/binutils-last/build-x86_64-linux/ld/../binutils/nm-new
> --demangle tmpdir/3.x >tmpdir/nm.out BFD: tmpdir/3.x: no group info for
> section .rodata
> ERROR: tmpdir/3.x: nm failed
> UNRESOLVED: selective4
We don't want to copy all input section flags to output section.
For example, we don't want SHF_GROUP in output section in a DSO
or an executable.
H.J.