aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-10-20 16:27:04 +0000
committerNick Clifton <nickc@redhat.com>2011-10-20 16:27:04 +0000
commit9553db3cc35cec5cd502d061e8be9da898d825af (patch)
treee9df44b90f7830a89303b67d4e7fd5d386768284 /bfd/elf32-hppa.c
parent27ca1a5b081f313daa1d06190b12abbe645da583 (diff)
downloadgdb-9553db3cc35cec5cd502d061e8be9da898d825af.zip
gdb-9553db3cc35cec5cd502d061e8be9da898d825af.tar.gz
gdb-9553db3cc35cec5cd502d061e8be9da898d825af.tar.bz2
PR ld/13049
* elf32-arm.c (STUB_SUFFIX): Avoid collision with user namespace symbol names. * elf64-ppc.c (STUB_SUFFIX): Likewise. * elf32-hppa.c (STUB_SUFFIX): Likewise.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 7f0f2cb..b7d951b 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -155,8 +155,8 @@ static const bfd_byte plt_stub[] =
};
/* Section name for stubs is the associated section name plus this
- string. */
-#define STUB_SUFFIX ".stub"
+ string. PR 13049: Use a name that is not a valid C identifier. */
+#define STUB_SUFFIX ".__stub"
/* We don't need to copy certain PC- or GP-relative dynamic relocs
into a shared object's dynamic section. All the relocs of the