From aa713662e8c8349dbf475437e8db72ffd9a9cc4d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 22 May 2002 05:08:31 +0000 Subject: [PATCH] 2002-05-21 H.J. Lu (hjl@gnu.org) * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle "-z muldefs". (gld${EMULATION_NAME}_list_options): Add "-z muldefs". * ld.texinfo: Updated for --allow-multiple-definition and "-z muldefs". * ldmain.c (main): Initialize the allow_multiple_definition field to false. * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New. (ld_options): Add --allow-multiple-definition. (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION. --- ld/ChangeLog | 16 ++++++++++++++++ ld/emultempl/elf32.em | 3 +++ ld/ld.texinfo | 9 +++++++++ ld/ldmain.c | 1 + ld/lexsup.c | 8 +++++++- 5 files changed, 36 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 920129ad357..4d2bc18e7c5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,19 @@ +2002-05-21 H.J. Lu (hjl@gnu.org) + + * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle + "-z muldefs". + (gld${EMULATION_NAME}_list_options): Add "-z muldefs". + + * ld.texinfo: Updated for --allow-multiple-definition and + "-z muldefs". + + * ldmain.c (main): Initialize the allow_multiple_definition + field to false. + + * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New. + (ld_options): Add --allow-multiple-definition. + (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION. + 2002-05-21 Jason Thorpe * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o. diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 077a8fc0f32..5f12e69f072 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1541,6 +1541,8 @@ cat >>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <