aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-07-15 01:33:07 +0000
committerNick Clifton <nickc@redhat.com>1999-07-15 01:33:07 +0000
commit2f992c04c2d58b2bf5b048abc15cea1d3c4459f2 (patch)
treed7262a9605ce79f5d985699a66c0b3d2428e4958 /gas/config/tc-arm.h
parent6296902ea53edeef902ed898fd9223fce1299257 (diff)
downloadgdb-2f992c04c2d58b2bf5b048abc15cea1d3c4459f2.zip
gdb-2f992c04c2d58b2bf5b048abc15cea1d3c4459f2.tar.gz
gdb-2f992c04c2d58b2bf5b048abc15cea1d3c4459f2.tar.bz2
Apply patch from Philip Blundell <pb@nexus.co.uk>
Prepend LOCAL_LABEL_PREFIX (if defined) to local symbols. ARM: Set F_SOFTFLOAT in the output file if -mno-fpu was given.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r--gas/config/tc-arm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index 72a5713..d27d61d 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -171,6 +171,9 @@ char * arm_canonicalize_symbol_name PARAMS ((char *));
#define LOCAL_LABEL(name) (name[0] == '.' && (name[1] == 'L'))
#define LOCAL_LABELS_FB 1
+#ifdef OBJ_ELF
+#define LOCAL_LABEL_PREFIX '.'
+#endif
/* This expression evaluates to false if the relocation is for a local object
for which we still want to do the relocation at runtime. True if we