* emultempl/elf32.em: Update new bfd_elf_discard_info name.
authorAlan Modra <amodra@gmail.com>
Sat, 27 Mar 2004 10:58:35 +0000 (10:58 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 27 Mar 2004 10:58:35 +0000 (10:58 +0000)
* emultempl/hppaelf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/sh64elf.em: Likewise.

ld/ChangeLog
ld/emultempl/elf32.em
ld/emultempl/hppaelf.em
ld/emultempl/ppc64elf.em
ld/emultempl/sh64elf.em

index 51e5ebb36b6439a73d02c67d7b34da6ffe3ac342..c795bacbaf4ddde7f59971564ff1f15fb0f35748 100644 (file)
@@ -1,3 +1,10 @@
+2004-03-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf32.em: Update new bfd_elf_discard_info name.
+       * emultempl/hppaelf.em: Likewise.
+       * emultempl/ppc64elf.em: Likewise.
+       * emultempl/sh64elf.em: Likewise.
+
 2004-03-25  Alan Modra  <amodra@bigpond.net.au>
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
index a86434afd802ee823ed30c4a667abb8e1a0977d3..92f502d9d7e97c33ec2dd83f9617d962998b3409 100644 (file)
@@ -1407,7 +1407,7 @@ cat >>e${EMULATION_NAME}.c <<EOF
 static void
 gld${EMULATION_NAME}_finish (void)
 {
-  if (bfd_elf${ELFSIZE}_discard_info (output_bfd, &link_info))
+  if (bfd_elf_discard_info (output_bfd, &link_info))
     {
       lang_reset_memory_regions ();
 
index e9445f279196a5e5e8d9ba40f6070f8067594105..93e88ad655a0a6dc9f9490fd9f39aa7795c104ae 100644 (file)
@@ -254,11 +254,11 @@ build_section_lists (lang_statement_union_type *statement)
 static void
 gld${EMULATION_NAME}_finish (void)
 {
-  /* bfd_elf32_discard_info just plays with debugging sections,
+  /* bfd_elf_discard_info just plays with debugging sections,
      ie. doesn't affect any code, so we can delay resizing the
      sections.  It's likely we'll resize everything in the process of
      adding stubs.  */
-  if (bfd_elf${ELFSIZE}_discard_info (output_bfd, &link_info))
+  if (bfd_elf_discard_info (output_bfd, &link_info))
     need_laying_out = 1;
 
   /* If generating a relocatable output file, then we don't
index 22ed608c297a63cb718b11cda875b18c7e6e6252..4f408a9fa29eb4f8c092a56fc8317270e507cdf1 100644 (file)
@@ -318,11 +318,11 @@ gld${EMULATION_NAME}_finish (void)
      descriptor in the .opd section.  */
   entry_section = ".opd";
 
-  /* bfd_elf64_discard_info just plays with debugging sections,
+  /* bfd_elf_discard_info just plays with debugging sections,
      ie. doesn't affect any code, so we can delay resizing the
      sections.  It's likely we'll resize everything in the process of
      adding stubs.  */
-  if (bfd_elf${ELFSIZE}_discard_info (output_bfd, &link_info))
+  if (bfd_elf_discard_info (output_bfd, &link_info))
     need_laying_out = 1;
 
   /* If generating a relocatable output file, then we don't have any
index 7f2b037df7f596235934b8cc9d08c1eb443de71f..83bfe676bb1de03dbec43912ebd39e2ecbb8e239 100644 (file)
@@ -379,7 +379,7 @@ sh64_elf_${EMULATION_NAME}_after_allocation (void)
      lang_process, and the second time when lang_process calls ldemul_finish,
      which calls gld${EMULATION_NAME}_finish, e.g. gldshelf32_finish, which
      is defined in emultempl/elf32.em and calls ldemul_after_allocation,
-     if bfd_elf${ELFSIZE}_discard_info returned true.  */
+     if bfd_elf_discard_info returned true.  */
   if (cranges->contents != NULL)
     free (cranges->contents);