aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-12-02 18:30:35 +0000
committerNick Clifton <nickc@redhat.com>1997-12-02 18:30:35 +0000
commit09888f155fde38cc08195d4b3baa3cedb4f32afc (patch)
treed1cc2d60e15e3f88a646895ab35d41c234dfb515 /bfd/coff-arm.c
parentfd6d6c603d0bcdf5c546e9daa0b8618098d7063a (diff)
downloadgdb-09888f155fde38cc08195d4b3baa3cedb4f32afc.zip
gdb-09888f155fde38cc08195d4b3baa3cedb4f32afc.tar.gz
gdb-09888f155fde38cc08195d4b3baa3cedb4f32afc.tar.bz2
Add support for Thumb target
Restore underscore at the start of user labels.
Diffstat (limited to 'bfd/coff-arm.c')
-rw-r--r--bfd/coff-arm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c
index 10c5ac0..1d9c979 100644
--- a/bfd/coff-arm.c
+++ b/bfd/coff-arm.c
@@ -152,8 +152,8 @@ coff_arm_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd,
return bfd_reloc_continue;
}
-/* #define TARGET_UNDERSCORE '_' */
-#define TARGET_UNDERSCORE '\0'
+#define TARGET_UNDERSCORE '_'
+/* #define TARGET_UNDERSCORE '\0' */
#ifndef PCRELOFFSET
#define PCRELOFFSET true
@@ -1977,7 +1977,8 @@ coff_arm_bfd_copy_private_bfd_data (src, dest)
/* Note: the definitions here of LOCAL_LABEL_PREFIX and USER_LABEL_PREIFX
*must* match the definitions on gcc/config/arm/semi.h. */
#define LOCAL_LABEL_PREFIX "."
-#define USER_LABEL_PREFIX ""
+#define USER_LABEL_PREFIX "_"
+/* #define USER_LABEL_PREFIX "" */
static boolean
coff_arm_is_local_label_name (abfd, name)