the symbol's section is the undefined section.
* gas/testsuite/gas/elf/symtab.s: New test.
gas/testsuite/gas/elf/symtab.d: New expected output.
gas/testsuite/gas/elf/elf.exp: Run the new symbtab test.
+2007-12-11 Catherine Moore <clm@codesourcery.com>
+
+ * elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if
+ the symbol's section is the undefined section.
+
2007-12-11 Alan Modra <amodra@bigpond.net.au>
* elf.c (elf_fake_sections): Add "warning:" to "..changed to PROGBITS"
osym = elf_symbol_from (obfd, osymarg);
if (isym != NULL
+ && isym->internal_elf_sym.st_shndx != 0
&& osym != NULL
&& bfd_is_abs_section (isym->symbol.section))
{
+2007-12-11 Catherine Moore <clm@codesourcery.com>
+
+ gas/elf/symtab.s: New test.
+ gas/elf/symtab.d: New expected output.
+ gas/elf/elf.exp: Run the new symbtab test.
+
2007-12-10 Richard Sandiford <rsandifo@nildram.co.uk>
* gas/mips/align2.s, gas/mips/align2.d, gas/mips/align2-el.d: New
--- /dev/null
+#readelf: -s
+#name: .set with expression
+
+#...
+.*ABS.*shift.*
+#pass
--- /dev/null
+.text
+ .global foo
+foo:
+ .set shift, 32
+ .set shift, shift - 1