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 5d40919..dae6ea9 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 6748af0..dd81b5f 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 79e1e80..d73b3d1 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 f6d5ef4..9abf7f1 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 aca71f7..d8ca87a 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 8bbdc0a..2c14fbc 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 78676e1..2913ecf 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 813238d..6635e09 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 62eddb1..ad8e5bf 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 fe8d0b0..c7f1624 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 dd3b264..fde4362 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 548eb80..dfa855e 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 9ab6b3f..a4c3257 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 b47a9da..4c932a1 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 fa71ab0..a571b6b 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 d9076ca..0a74abd 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.7.4