From 40d109bfbc1e7666dedf73f61ef7592c8d272e42 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 29 Feb 2000 05:53:53 +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 5d409192f9e..dae6ea92dbe 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 6748af0b387..dd81b5f744c 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 79e1e80e37e..d73b3d172fb 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 f6d5ef4b277..9abf7f1655c 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 aca71f71df9..d8ca87ab0ad 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 8bbdc0af28f..2c14fbcce3c 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 78676e11fe3..2913ecf1bcb 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 813238d9c08..6635e09e20a 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 62eddb1ec60..ad8e5bfafa2 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 fe8d0b0e3f7..c7f162455cb 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 dd3b264a444..fde43628005 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 548eb808cca..dfa855edd07 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 9ab6b3f0532..a4c32579ee7 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 b47a9daefc2..4c932a14fad 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 fa71ab0edb1..a571b6b3b75 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 d9076ca1956..0a74abd0e08 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.30.2