This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch] Prevent cloned symbols from being assigned to the wrong section
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Catherine Moore <clm at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 11 Dec 2007 12:02:43 +1030
- Subject: Re: [Patch] Prevent cloned symbols from being assigned to the wrong section
- References: <475DE46C.8060700@codesourcery.com>
On Mon, Dec 10, 2007 at 08:14:20PM -0500, Catherine Moore wrote:
> bfd/ChangeLog:
>
> * elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if
> the symbol's section is the undefined section.
>
> gas/testsuite/ChangeLog:
>
> elf/symtab.s: New test.
> elf/symtab.d: New expected output.
> elf/elf.exp: Run the new symbtab test.
OK.
--
Alan Modra
Australia Development Lab, IBM