diff options
author | Zack Weinberg <zackw@panix.com> | 2005-06-13 15:34:39 +0000 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2005-06-13 15:34:39 +0000 |
commit | 37f6032b8594c94b585732cf7ae09affe8614eee (patch) | |
tree | 7d3a71c810ed316b774aad0ff2b6070b5d760810 /gas/config/tc-arm.h | |
parent | 7b5c6b52e4427fd82b0240b52acefb12f83db001 (diff) | |
download | gdb-37f6032b8594c94b585732cf7ae09affe8614eee.zip gdb-37f6032b8594c94b585732cf7ae09affe8614eee.tar.gz gdb-37f6032b8594c94b585732cf7ae09affe8614eee.tar.bz2 |
gas:
* config/tc-arm.c (find_real_start): Check S_IS_LOCAL on
symbolP as well as for names with a leading dot. Use ACONCAT.
(md_apply_fix): For branch relocations, only replace value
with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done.
(arm_force_relocation): Remove #ifdef OBJ_ELF case.
* config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses.
(LOCAL_LABEL_PREFIX): Don't define.
gas/testsuite:
* gas/arm/thumb.s: Only branch to labels defined in this file.
* gas/arm/thumb.d, gas/arm/thumb32.d: Adjust expected output.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r-- | gas/config/tc-arm.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index 09a49ad..c17d176 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -127,8 +127,8 @@ struct fix; #define OPTIONAL_REGISTER_PREFIX '%' -#define LOCAL_LABEL(name) (name[0] == '.' && (name[1] == 'L')) -#define LOCAL_LABELS_FB 1 +#define LOCAL_LABEL(name) (name[0] == '.' && name[1] == 'L') +#define LOCAL_LABELS_FB 1 /* This expression evaluates to true if the relocation is for a local object for which we still want to do the relocation at runtime. @@ -168,7 +168,6 @@ struct fix; # define md_elf_section_change_hook() arm_elf_change_section () # define md_elf_section_type(str, len) arm_elf_section_type (str, len) # define GLOBAL_OFFSET_TABLE_NAME "_GLOBAL_OFFSET_TABLE_" -# define LOCAL_LABEL_PREFIX '.' # define TC_SEGMENT_INFO_TYPE struct arm_segment_info_type enum mstate |