From: Ian Lance Taylor Date: Mon, 1 Jun 1998 18:10:16 +0000 (+0000) Subject: From Andrew Crabtree : X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b398c535467b7546b6310d0bb63b51939d09959;p=binutils-gdb.git From Andrew Crabtree : * config/te-go32.h (TE_GO32): Define. * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 825fa224212..23f4218e01e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +Mon Jun 1 14:08:35 1998 Ian Lance Taylor + + From Andrew Crabtree : + * 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 Implement .func/.endfunc pseudo-ops. diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index 6d4f6b448b9..42bab6379d1 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