From 03cf3b4dba0e1d2ffb35626000df5808483dff21 Mon Sep 17 00:00:00 2001 From: amodra Date: Tue, 29 Feb 2000 05:53:52 +0000 Subject: [PATCH] GCC warning fix: Add missing NULL initialiser for find_potential_libraries. --- ld/ChangeLog | 8 ++++++++ ld/emultempl/aix.em | 3 ++- ld/emultempl/armcoff.em | 3 ++- ld/emultempl/armelf.em | 3 ++- ld/emultempl/armelf_oabi.em | 3 ++- ld/emultempl/beos.em | 3 ++- ld/emultempl/elf32.em | 3 ++- ld/emultempl/generic.em | 3 ++- ld/emultempl/gld960.em | 3 ++- ld/emultempl/gld960c.em | 3 ++- ld/emultempl/hppaelf.em | 3 ++- ld/emultempl/linux.em | 3 ++- ld/emultempl/lnk960.em | 3 ++- ld/emultempl/mipsecoff.em | 3 ++- ld/emultempl/sunos.em | 3 ++- ld/emultempl/vanilla.em | 3 ++- 16 files changed, 38 insertions(+), 15 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 5d409192f9..dae6ea92db 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2000-02-29 Alan Modra + + * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, + beos.em, elf32.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 initialiser for + find_potential_libraries. + 2000-02-28 Jim Blandy * ldgram.y (exclude_name_list): Don't require a comma to separate diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em index 6748af0b38..dd81b5f744 100644 --- a/ld/emultempl/aix.em +++ b/ld/emultempl/aix.em @@ -1049,6 +1049,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = 0, /* place_orphan */ 0, /* set_symbols */ gld${EMULATION_NAME}_parse_args, - gld${EMULATION_NAME}_unrecognized_file + gld${EMULATION_NAME}_unrecognized_file, + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/armcoff.em b/ld/emultempl/armcoff.em index 79e1e80e37..d73b3d172f 100644 --- a/ld/emultempl/armcoff.em +++ b/ld/emultempl/armcoff.em @@ -286,6 +286,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = gld${EMULATION_NAME}_parse_args, NULL, /* unrecognised file */ gld${EMULATION_NAME}_list_options, - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em index f6d5ef4b27..9abf7f1655 100644 --- a/ld/emultempl/armelf.em +++ b/ld/emultempl/armelf.em @@ -1287,6 +1287,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = gld${EMULATION_NAME}_parse_args, NULL, /* unrecognized file */ gld${EMULATION_NAME}_list_options, - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/armelf_oabi.em b/ld/emultempl/armelf_oabi.em index aca71f71df..d8ca87ab0a 100644 --- a/ld/emultempl/armelf_oabi.em +++ b/ld/emultempl/armelf_oabi.em @@ -171,6 +171,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em index 8bbdc0af28..2c14fbcce3 100644 --- a/ld/emultempl/beos.em +++ b/ld/emultempl/beos.em @@ -835,6 +835,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = gld_${EMULATION_NAME}_parse_args, NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 78676e11fe..2913ecf1bc 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1181,6 +1181,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = gld_${EMULATION_NAME}_parse_args, NULL, /* unrecognized_file */ gld_${EMULATION_NAME}_list_options, - NULL /* recognized_file */ + NULL, /* recognized_file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/generic.em b/ld/emultempl/generic.em index 813238d9c0..6635e09e20 100644 --- a/ld/emultempl/generic.em +++ b/ld/emultempl/generic.em @@ -122,6 +122,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/gld960.em b/ld/emultempl/gld960.em index 62eddb1ec6..ad8e5bfafa 100644 --- a/ld/emultempl/gld960.em +++ b/ld/emultempl/gld960.em @@ -177,6 +177,7 @@ struct ld_emulation_xfer_struct ld_gld960_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/gld960c.em b/ld/emultempl/gld960c.em index fe8d0b0e3f..c7f162455c 100644 --- a/ld/emultempl/gld960c.em +++ b/ld/emultempl/gld960c.em @@ -193,6 +193,7 @@ struct ld_emulation_xfer_struct ld_gld960coff_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index dd3b264a44..fde4362800 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -282,6 +282,7 @@ struct ld_emulation_xfer_struct ld_hppaelf_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/linux.em b/ld/emultempl/linux.em index 548eb808cc..dfa855edd0 100644 --- a/ld/emultempl/linux.em +++ b/ld/emultempl/linux.em @@ -206,6 +206,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/lnk960.em b/ld/emultempl/lnk960.em index 9ab6b3f053..a4c32579ee 100644 --- a/ld/emultempl/lnk960.em +++ b/ld/emultempl/lnk960.em @@ -329,6 +329,7 @@ struct ld_emulation_xfer_struct ld_lnk960_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/mipsecoff.em b/ld/emultempl/mipsecoff.em index b47a9daefc..4c932a14fa 100644 --- a/ld/emultempl/mipsecoff.em +++ b/ld/emultempl/mipsecoff.em @@ -233,6 +233,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em index fa71ab0edb..a571b6b3b7 100644 --- a/ld/emultempl/sunos.em +++ b/ld/emultempl/sunos.em @@ -1037,6 +1037,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF diff --git a/ld/emultempl/vanilla.em b/ld/emultempl/vanilla.em index d9076ca195..0a74abd0e0 100644 --- a/ld/emultempl/vanilla.em +++ b/ld/emultempl/vanilla.em @@ -73,6 +73,7 @@ struct ld_emulation_xfer_struct ld_vanilla_emulation = NULL, /* parse args */ NULL, /* unrecognized file */ NULL, /* list options */ - NULL /* recognized file */ + NULL, /* recognized file */ + NULL /* find_potential_libraries */ }; EOF -- 2.11.0