diff options
author | Alan Modra <amodra@gmail.com> | 2000-01-22 23:22:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-01-22 23:22:18 +0000 |
commit | e1c47aa42d359b3b54ecf3b9eb7eed8b81852302 (patch) | |
tree | 1ac70225758fbbbf8a770bc36c1c5bbc588a2af5 | |
parent | dfad2e408fb7e2c59baeabe60090fe182fb090dc (diff) | |
download | binutils-gdb-e1c47aa42d359b3b54ecf3b9eb7eed8b81852302.tar.gz |
To satisfy latest CVS gcc:
* emultempl/*.em (ld_emulation_xfer_struct): Add missing NULL
initialisers, and comments.
* testsuite/ld-srec/sr3.cc (__rethrow): New.
-rw-r--r-- | ld/ChangeLog | 9 | ||||
-rw-r--r-- | ld/emultempl/armcoff.em | 15 | ||||
-rw-r--r-- | ld/emultempl/armelf.em | 10 | ||||
-rw-r--r-- | ld/emultempl/armelf_oabi.em | 17 | ||||
-rw-r--r-- | ld/emultempl/beos.em | 5 | ||||
-rw-r--r-- | ld/emultempl/generic.em | 11 | ||||
-rw-r--r-- | ld/emultempl/gld960.em | 11 | ||||
-rw-r--r-- | ld/emultempl/gld960c.em | 11 | ||||
-rw-r--r-- | ld/emultempl/hppaelf.em | 7 | ||||
-rw-r--r-- | ld/emultempl/linux.em | 14 | ||||
-rw-r--r-- | ld/emultempl/lnk960.em | 11 | ||||
-rw-r--r-- | ld/emultempl/mipsecoff.em | 11 | ||||
-rw-r--r-- | ld/emultempl/sunos.em | 12 | ||||
-rw-r--r-- | ld/emultempl/vanilla.em | 11 | ||||
-rw-r--r-- | ld/testsuite/ld-srec/sr3.cc | 5 |
15 files changed, 122 insertions, 38 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index f14b82be526..45b8f9ff1cf 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/emultempl/armcoff.em b/ld/emultempl/armcoff.em index bdb79d416ef..79e1e80e37e 100644 --- a/ld/emultempl/armcoff.em +++ b/ld/emultempl/armcoff.em @@ -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 diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em index c3a1b3ca324..345b12ce50b 100644 --- a/ld/emultempl/armelf.em +++ b/ld/emultempl/armelf.em @@ -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 diff --git a/ld/emultempl/armelf_oabi.em b/ld/emultempl/armelf_oabi.em index 3a2dfe472d3..aca71f71df9 100644 --- a/ld/emultempl/armelf_oabi.em +++ b/ld/emultempl/armelf_oabi.em @@ -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 diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em index 39490ca22c2..8bbdc0af28f 100644 --- a/ld/emultempl/beos.em +++ b/ld/emultempl/beos.em @@ -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 diff --git a/ld/emultempl/generic.em b/ld/emultempl/generic.em index 9a3f530782b..813238d9c08 100644 --- a/ld/emultempl/generic.em +++ b/ld/emultempl/generic.em @@ -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 diff --git a/ld/emultempl/gld960.em b/ld/emultempl/gld960.em index 63b4af09738..62eddb1ec60 100644 --- a/ld/emultempl/gld960.em +++ b/ld/emultempl/gld960.em @@ -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 diff --git a/ld/emultempl/gld960c.em b/ld/emultempl/gld960c.em index 4789b22e5bc..fe8d0b0e3f7 100644 --- a/ld/emultempl/gld960c.em +++ b/ld/emultempl/gld960c.em @@ -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 diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index 69abe3ba2e3..dd3b264a444 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -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 diff --git a/ld/emultempl/linux.em b/ld/emultempl/linux.em index b8a03ff607f..548eb808cca 100644 --- a/ld/emultempl/linux.em +++ b/ld/emultempl/linux.em @@ -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 diff --git a/ld/emultempl/lnk960.em b/ld/emultempl/lnk960.em index 9df2f609af9..9ab6b3f0532 100644 --- a/ld/emultempl/lnk960.em +++ b/ld/emultempl/lnk960.em @@ -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 diff --git a/ld/emultempl/mipsecoff.em b/ld/emultempl/mipsecoff.em index 10d5924691f..b47a9daefc2 100644 --- a/ld/emultempl/mipsecoff.em +++ b/ld/emultempl/mipsecoff.em @@ -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 diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em index 8f095fef3e6..fa71ab0edb1 100644 --- a/ld/emultempl/sunos.em +++ b/ld/emultempl/sunos.em @@ -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 diff --git a/ld/emultempl/vanilla.em b/ld/emultempl/vanilla.em index 04e36fbc947..d9076ca1956 100644 --- a/ld/emultempl/vanilla.em +++ b/ld/emultempl/vanilla.em @@ -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 diff --git a/ld/testsuite/ld-srec/sr3.cc b/ld/testsuite/ld-srec/sr3.cc index bfe5cc849ba..4cde2dcbeb2 100644 --- a/ld/testsuite/ld-srec/sr3.cc +++ b/ld/testsuite/ld-srec/sr3.cc @@ -56,6 +56,11 @@ __throw () } void +__rethrow () +{ +} + +void __terminate () { } |