OSDN Git Service

To satisfy latest CVS gcc:
authoramodra <amodra>
Sat, 22 Jan 2000 23:22:17 +0000 (23:22 +0000)
committeramodra <amodra>
Sat, 22 Jan 2000 23:22:17 +0000 (23:22 +0000)
* emultempl/*.em (ld_emulation_xfer_struct): Add missing NULL
initialisers, and comments.
* testsuite/ld-srec/sr3.cc (__rethrow): New.

15 files changed:
ld/ChangeLog
ld/emultempl/armcoff.em
ld/emultempl/armelf.em
ld/emultempl/armelf_oabi.em
ld/emultempl/beos.em
ld/emultempl/generic.em
ld/emultempl/gld960.em
ld/emultempl/gld960c.em
ld/emultempl/hppaelf.em
ld/emultempl/linux.em
ld/emultempl/lnk960.em
ld/emultempl/mipsecoff.em
ld/emultempl/sunos.em
ld/emultempl/vanilla.em
ld/testsuite/ld-srec/sr3.cc

index f14b82b..45b8f9f 100644 (file)
@@ -1,3 +1,12 @@
+2000-01-23  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
+       generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
+       mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
+       Add missing NULL initialisers, and comments.
+
+       * testsuite/ld-srec/sr3.cc (__rethrow): New.
+
 2000-01-21  Nick Clifton  <nickc@cygnus.com>
 
        * ldlang.c (lang_size_sections): Fix typo in comment.
index bdb79d4..79e1e80 100644 (file)
@@ -278,13 +278,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
   gld${EMULATION_NAME}_get_script,
   "${EMULATION_NAME}",
   "${OUTPUT_FORMAT}",
-  gld${EMULATION_NAME}_finish, /* finish */
-  NULL, /* create output section statements */
-  NULL, /* open dynamic archive */
-  NULL, /* place orphan */
-  NULL, /* set_symbols */
+  gld${EMULATION_NAME}_finish,
+  NULL,        /* create output section statements */
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
   gld${EMULATION_NAME}_parse_args,
-  NULL, /* unrecognised file */
-  gld${EMULATION_NAME}_list_options
+  NULL,        /* unrecognised file */
+  gld${EMULATION_NAME}_list_options,
+  NULL         /* recognized file */
 };
 EOF
index c3a1b3c..345b12c 100644 (file)
@@ -1278,14 +1278,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
   gld${EMULATION_NAME}_get_script,
   "${EMULATION_NAME}",
   "${OUTPUT_FORMAT}",
-  gld${EMULATION_NAME}_finish, /* finish */
-  NULL, /* create output section statements */
+  gld${EMULATION_NAME}_finish,
+  NULL,        /* create output section statements */
   gld${EMULATION_NAME}_open_dynamic_archive,
   gld${EMULATION_NAME}_place_orphan,
-  NULL, /* set_symbols */
+  NULL,        /* set symbols */
   gld${EMULATION_NAME}_parse_args,
-  NULL, /* unrecognised file */
+  NULL,        /* unrecognized file */
   gld${EMULATION_NAME}_list_options,
-  NULL /* recognized file */
+  NULL         /* recognized file */
 };
 EOF
index 3a2dfe4..aca71f7 100644 (file)
@@ -163,13 +163,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
   gld${EMULATION_NAME}_get_script,
   "${EMULATION_NAME}",
   "${OUTPUT_FORMAT}",
-  NULL, /* finish */
-  NULL, /* create output section statements */
-  NULL, /* open dynamic archive */
-  NULL, /* place orphan */
-  NULL, /* set_symbols */
-  NULL,
-  NULL, /* unrecognised file */
-  NULL
+  NULL,        /* finish */
+  NULL,        /* create output section statements */
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index 39490ca..8bbdc0a 100644 (file)
@@ -832,6 +832,9 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
   NULL, /* open dynamic archive */
   gld${EMULATION_NAME}_place_orphan,
   gld_${EMULATION_NAME}_set_symbols,
-  gld_${EMULATION_NAME}_parse_args
+  gld_${EMULATION_NAME}_parse_args,
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index 9a3f530..813238d 100644 (file)
@@ -113,6 +113,15 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
   before_allocation_default,
   gld${EMULATION_NAME}_get_script,
   "${EMULATION_NAME}",
-  "${OUTPUT_FORMAT}"
+  "${OUTPUT_FORMAT}",
+  NULL,        /* finish */
+  NULL,        /* create output section statements */
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index 63b4af0..62eddb1 100644 (file)
@@ -168,6 +168,15 @@ struct ld_emulation_xfer_struct ld_gld960_emulation =
   before_allocation_default,
   gld960_get_script,
   "960",
-  ""
+  "",
+  NULL,        /* finish */
+  NULL,        /* create output section statements */
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index 4789b22..fe8d0b0 100644 (file)
@@ -184,6 +184,15 @@ struct ld_emulation_xfer_struct ld_gld960coff_emulation =
   before_allocation_default,
   gld960_get_script,
   "960coff",
-  ""
+  "",
+  NULL,        /* finish */
+  NULL,        /* create output section statements */
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index 69abe3b..dd3b264 100644 (file)
@@ -276,5 +276,12 @@ struct ld_emulation_xfer_struct ld_hppaelf_emulation =
   "elf32-hppa",
   hppaelf_finish,
   hppaelf_create_output_section_statements,
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index b8a03ff..548eb80 100644 (file)
@@ -198,14 +198,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
   gld${EMULATION_NAME}_get_script,
   "${EMULATION_NAME}",
   "${OUTPUT_FORMAT}",
-  NULL,
+  NULL,        /* finish */
   gld${EMULATION_NAME}_create_output_section_statements,
   gld${EMULATION_NAME}_open_dynamic_archive,
-  NULL,
-  NULL,
-  NULL,
-  NULL,
-  NULL,
-  NULL
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index 9df2f60..9ab6b3f 100644 (file)
@@ -320,6 +320,15 @@ struct ld_emulation_xfer_struct ld_lnk960_emulation =
   lnk960_before_allocation,
   lnk960_get_script,
   "lnk960",
-  ""
+  "",
+  NULL,        /* finish */
+  NULL,        /* create output section statements */
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index 10d5924..b47a9da 100644 (file)
@@ -224,6 +224,15 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
   before_allocation_default,
   gld${EMULATION_NAME}_get_script,
   "${EMULATION_NAME}",
-  "${OUTPUT_FORMAT}"
+  "${OUTPUT_FORMAT}",
+  NULL,        /* finish */
+  NULL,        /* create output section statements */
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index 8f095fe..fa71ab0 100644 (file)
@@ -1029,10 +1029,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
   gld${EMULATION_NAME}_get_script,
   "${EMULATION_NAME}",
   "${OUTPUT_FORMAT}",
-  NULL, /* finish */
+  NULL,        /* finish */
   gld${EMULATION_NAME}_create_output_section_statements,
-  NULL, /* open_dynamic_library */
-  NULL, /* place_orphan */
-  gld${EMULATION_NAME}_set_symbols
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  gld${EMULATION_NAME}_set_symbols,
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index 04e36fb..d9076ca 100644 (file)
@@ -64,6 +64,15 @@ struct ld_emulation_xfer_struct ld_vanilla_emulation =
   before_allocation_default,
   vanilla_get_script,
   "vanilla",
-  "a.out-sunos-big"
+  "a.out-sunos-big",
+  NULL,        /* finish */
+  NULL,        /* create output section statements */
+  NULL,        /* open dynamic archive */
+  NULL,        /* place orphan */
+  NULL,        /* set symbols */
+  NULL,        /* parse args */
+  NULL,        /* unrecognized file */
+  NULL,        /* list options */
+  NULL         /* recognized file */
 };
 EOF
index bfe5cc8..4cde2dc 100644 (file)
@@ -56,6 +56,11 @@ __throw ()
 }
 
 void
+__rethrow ()
+{
+}
+
+void
 __terminate ()
 {
 }