From ffd6e9debc6605c354105f04b62de622e8458645 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 14 Jan 2001 07:39:01 +0000 Subject: [PATCH] Automatically enable --unique=.text for elf32-hppa. --- ld/ChangeLog | 7 +++++++ ld/emultempl/hppaelf.em | 22 ++++++++++++++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index edab167..e244b8a 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 065bcdd..c8c6bfa 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 <