summaryrefslogtreecommitdiff
path: root/gcc/config/arm/linux-elf.h
diff options
context:
space:
mode:
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-02 16:27:42 +0000
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-02 16:27:42 +0000
commit4387ea9e9bd72b6b2d70808de127d9ce0f6bf957 (patch)
treed30d4bff6483bb865ccd51268acdebe0679bb2b2 /gcc/config/arm/linux-elf.h
parent422c18cb111cc25f287c4c7db0960c51a81519f2 (diff)
downloadgcc-4387ea9e9bd72b6b2d70808de127d9ce0f6bf957.tar.gz
* config/arm/linux-elf.h (ARM_FUNCTION_PROFILER): Do not use (PLT)
for Thumb. * config/arm/netbsd-elf.h (ARM_FUNCTION_PROFILER): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95785 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/linux-elf.h')
-rw-r--r--gcc/config/arm/linux-elf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index e85b6d035c6..48b0f016401 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -1,5 +1,6 @@
/* Definitions for ARM running Linux-based GNU systems using ELF
- Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
+ Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+ 2005
Free Software Foundation, Inc.
Contributed by Philip Blundell <philb@gnu.org>
@@ -123,7 +124,8 @@
#undef ARM_FUNCTION_PROFILER
#define ARM_FUNCTION_PROFILER(STREAM, LABELNO) \
{ \
- fprintf (STREAM, "\tbl\tmcount%s\n", NEED_PLT_RELOC ? "(PLT)" : ""); \
+ fprintf (STREAM, "\tbl\tmcount%s\n", \
+ (TARGET_ARM && NEED_PLT_RELOC) ? "(PLT)" : ""); \
}
/* The linux profiler clobbers the link register. Make sure the