diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-02-28 20:04:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-02-28 20:04:39 +0000 |
commit | 236049217663ad79c7f522d6442332a346ff4d53 (patch) | |
tree | bb560fed03778aeeaa5b36178522df7ad4761a57 /gas/config/tc-arm.h | |
parent | e691320ea4711f41b7e934013ac70c1ff72b5eaf (diff) | |
download | gdb-236049217663ad79c7f522d6442332a346ff4d53.zip gdb-236049217663ad79c7f522d6442332a346ff4d53.tar.gz gdb-236049217663ad79c7f522d6442332a346ff4d53.tar.bz2 |
* write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
(S_LOCAL_NAME): Likewise.
(FAKE_LABEL_NAME): Define unconditionally.
* symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if
BFD_ASSEMBLER.
(S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL.
* config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER.
Don't define FAKE_LABEL_NAME.
* config/te-ic960.h: Likewise.
* config/tc-mips.h (tc_frob_file_before_adjust): Define.
(mips_frob_file_before_adjust): Declare.
* config/tc-mips.c (mips_frob_file_before_adjust): New function.
(mips_local_label): Remove.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r-- | gas/config/tc-arm.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index 149579e..0214d68 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -1,9 +1,8 @@ /* This file is tc-arm.h + Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org) Modified by David Taylor (dtaylor@armltd.co.uk) - Copyright (C) 1994, 1995 Free Software Foundation, Inc. - This file is part of GAS, the GNU Assembler. GAS is free software; you can redistribute it and/or modify @@ -17,11 +16,16 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with GAS; see the file COPYING. If not, write to the Free + Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ #define TC_ARM 1 +#ifndef TARGET_BYTES_BIG_ENDIAN +#define TARGET_BYTES_BIG_ENDIAN 0 +#endif + #define COFF_MAGIC ARMMAGIC #define TARGET_ARCH bfd_arch_arm @@ -32,10 +36,6 @@ #define LITTLE_ENDIAN 1234 #define BIG_ENDIAN 4321 -#ifndef TARGET_BYTES_BIG_ENDIAN -#define TARGET_BYTES_BIG_ENDIAN 0 -#endif - #ifdef OBJ_AOUT #ifdef TE_RISCIX #define TARGET_FORMAT "a.out-riscix" @@ -111,9 +111,10 @@ char *arm_canonicalize_symbol_name PARAMS ((char *)); #define LOCAL_LABELS_FB 1 /* Use defaults for OBJ_AOUT. */ +#ifndef BFD_ASSEMBLER #ifndef OBJ_AOUT #define LOCAL_LABEL(name) ((name)[0] == '.' && (name)[1] == 'L') -#define FAKE_LABEL_NAME ".L0\001" +#endif #endif /* end of tc-arm.h */ |