From: Alan Modra Date: Sun, 14 Jan 2001 07:39:01 +0000 (+0000) Subject: Automatically enable --unique=.text for elf32-hppa. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffd6e9debc6605c354105f04b62de622e8458645;p=binutils-gdb.git Automatically enable --unique=.text for elf32-hppa. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index edab167b3cc..e244b8a5061 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,11 @@ 2001-01-14 Alan Modra + * emultempl/hppaelf.em (hppaelf_after_parse): New function, + enabling search for libmilli. On a relocatable link, make .text + sections unique. + (LDEMUL_AFTER_PARSE): Define. + (hppaelf_finish): Correct spelling of relocatable in comments. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't rummage through the script for sections on the unique list. Correct length of strncmp for ".note". @@ -9,6 +15,7 @@ (unique_section_p): New function. (walk_wild_section): Don't match sections on unique_section_list. (lang_add_unique): New function. + Correct spelling of relocatable in comments. * ldlang.h (struct unique_sections): Declare. (unique_section_list): Declare. diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index 065bcdde555..c8c6bfac803 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -1,5 +1,5 @@ # This shell script emits a C file. -*- C -*- -# Copyright (C) 1991, 93, 94, 95, 97, 99, 2000 +# Copyright 1991, 93, 94, 95, 97, 99, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GLD, the Gnu Linker. @@ -27,6 +27,7 @@ cat >>e${EMULATION_NAME}.c <