diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-06-01 18:10:16 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-06-01 18:10:16 +0000 |
commit | 8b398c535467b7546b6310d0bb63b51939d09959 (patch) | |
tree | 8cf80709fed557eb3358208aa50f5f2efe2b46f3 /gas | |
parent | da713b8f08ebfa5c6e904ec7e4eea539f79fc6c7 (diff) | |
download | fsf-binutils-gdb-8b398c535467b7546b6310d0bb63b51939d09959.zip fsf-binutils-gdb-8b398c535467b7546b6310d0bb63b51939d09959.tar.gz fsf-binutils-gdb-8b398c535467b7546b6310d0bb63b51939d09959.tar.bz2 |
From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
* config/te-go32.h (TE_GO32): Define.
* config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-i386.h | 15 |
2 files changed, 17 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 825fa22..23f4218 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com> + + From Andrew Crabtree <andrewc@typhoon.rose.hp.com>: + * config/te-go32.h (TE_GO32): Define. + * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32. + Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com> Implement .func/.endfunc pseudo-ops. diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index 6d4f6b4..42bab63 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -61,10 +61,15 @@ extern int tc_i386_fix_adjustable PARAMS ((struct fix *)); checked here. I am not sure if some of the others are ever used with pcrel, but it is easier to be safe than sorry. */ -#define TC_RELOC_RTSYM_LOC_FIXUP(FIX) \ - ((FIX)->fx_r_type != BFD_RELOC_386_PLT32 \ - && (FIX)->fx_r_type != BFD_RELOC_386_GOT32 \ - && (FIX)->fx_r_type != BFD_RELOC_386_GOTPC) +#define TC_RELOC_RTSYM_LOC_FIXUP(FIX) \ + ((FIX)->fx_r_type != BFD_RELOC_386_PLT32 \ + && (FIX)->fx_r_type != BFD_RELOC_386_GOT32 \ + && (FIX)->fx_r_type != BFD_RELOC_386_GOTPC \ + && ((FIX)->fx_addsy == NULL \ + || (! S_IS_EXTERNAL ((FIX)->fx_addsy) \ + && ! S_IS_WEAK ((FIX)->fx_addsy) \ + && S_IS_DEFINED ((FIX)->fx_addsy) \ + && ! S_IS_COMMON ((FIX)->fx_addsy)))) #define TARGET_ARCH bfd_arch_i386 @@ -141,12 +146,14 @@ extern int tc_coff_sizemachdep PARAMS ((fragS *frag)); #ifndef BFD_ASSEMBLER #ifndef OBJ_AOUT #ifndef TE_PE +#ifndef TE_GO32 /* Local labels starts with .L */ #define LOCAL_LABEL(name) (name[0] == '.' \ && (name[1] == 'L' || name[1] == 'X' || name[1] == '.')) #endif #endif #endif +#endif #define LOCAL_LABELS_FB 1 |