2005-04-13 Daniel Jacobowitz <dan@codesourcery.com>
* elflink.c (elf_link_input_bfd): Update check for removed
sections.
ld/testsuite/
2005-04-13 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/empty.d: New file.
* ld-elf/empty.s: Likewise.
+2005-04-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * elflink.c (elf_link_input_bfd): Update check for removed
+ sections.
+
2005-04-12 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
&& (isec->flags & SEC_EXCLUDE) != 0)))
continue;
+ /* If the section is not in the output BFD's section list, it is not
+ being output. */
+ if (bfd_section_removed_from_list (output_bfd, isec->output_section))
+ continue;
+
/* Get the name of the symbol. */
name = bfd_elf_string_from_elf_section (input_bfd, symtab_hdr->sh_link,
isym->st_name);
+2005-04-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elf/empty.d: New file.
+ * ld-elf/empty.s: Likewise.
+
2005-04-11 David S. Miller <davem@davemloft.net>
* ld-sparc/tlssunbin32.dd: Update for TLS relocation fixes.
--- /dev/null
+#source: empty.s
+#ld:
+#readelf: -s
+
+#...
+[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[0-9]+[ ]+FUNC[ ]+GLOBAL DEFAULT[ ]+[1-9] _start
+#pass
--- /dev/null
+ .section .bss
+bar:
+ .text
+ .type _start,"function"
+ .global _start
+_start:
+ .type __start,"function"
+ .global __start
+__start:
+ .long 0