aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.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/elf64-ppc.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/elf64-ppc.c')
-rw-r--r--bfd/elf64-ppc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index dfe10fa..674bff4 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -3527,8 +3527,8 @@ must_be_dyn_reloc (struct bfd_link_info *info,
#define ELIMINATE_COPY_RELOCS 1
/* 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"
/* Linker stubs.
ppc_stub_long_branch: