To satisfy latest CVS gcc:
authorAlan Modra <amodra@gmail.com>
Sat, 22 Jan 2000 23:22:18 +0000 (23:22 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 22 Jan 2000 23:22:18 +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 f14b82be526d126b6f4fa430ccc586dafcb7f96d..45b8f9ff1cf9036fd61c0751ba41203852866eb6 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 bdb79d416efda91ae0a1f626f5cb4000464be744..79e1e80e37e58718433b5dfcc4183379f15016fd 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 c3a1b3ca32472cc20064addb7d0d2eb12ae18b76..345b12ce50ba462e5fae597677e4dbd9136ab947 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 3a2dfe472d319415dcaee04563af1022ff64fd2d..aca71f71df965707e38167a2fa2fe38d61dffc50 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 39490ca22c2bd1a75d25e63538c21e827ca249fc..8bbdc0af28ffd30291445880abc0cd192584ce11 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 9a3f530782beda6b1a1edb401a75f64ccd4d977b..813238d9c084b787f0d26fe6e06a905955cbd518 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 63b4af09738b6be1e5e5a272e18b2ec3d56ae5d3..62eddb1ec601d45aa038c02e882b2e2cc42dd68d 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 4789b22e5bcfdab5952c911c503ba89381cc4db1..fe8d0b0e3f7d2983cd09f091cae0ae5f87c0dba8 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 69abe3ba2e369191e3ae597412f16042d8dc0f49..dd3b264a444bda215f9a99d0175b62e7ce144fd0 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 b8a03ff607f61d4e4ea797c2e8f92181e6d8777c..548eb808cca05843e95d144dcd024a840c79e3e3 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 9df2f609af91b7eda73c0e101e058e6290f56440..9ab6b3f0532f422b964a3f67ce9823046b5977a9 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 10d5924691f7ea77246fd4dfe1a3717340f45e3c..b47a9daefc27cd086e0240b30d7bd33dbb53f787 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 8f095fef3e653f6dbc00f1d43ded48f01f9bb77c..fa71ab0edb1c6378f0783d1464be7002e5978296 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 04e36fbc947646390f2269ec73173a8bd92dca0e..d9076ca19561cf8a095b70547f4438bd80ce8bac 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 bfe5cc849ba32f804921e3521b88915cd1fee17c..4cde2dcbeb2c65509d9cd161f7a15b65356ec235 100644 (file)
@@ -55,6 +55,11 @@ __throw ()
 {
 }
 
+void
+__rethrow ()
+{
+}
+
 void
 __terminate ()
 {