diff options
Diffstat (limited to 'gas/config/tc-i370.h')
-rw-r--r-- | gas/config/tc-i370.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gas/config/tc-i370.h b/gas/config/tc-i370.h index 7ddc12c..81007ac 100644 --- a/gas/config/tc-i370.h +++ b/gas/config/tc-i370.h @@ -1,5 +1,5 @@ /* tc-i370.h -- Header file for tc-i370.c. - Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001 + Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support. @@ -43,9 +43,7 @@ extern enum bfd_architecture i370_arch PARAMS ((void)); extern int target_big_endian; /* The target BFD format. */ -#ifdef OBJ_ELF #define TARGET_FORMAT ("elf32-i370") -#endif /* Permit temporary numeric labels. */ #define LOCAL_LABELS_FB 1 @@ -53,15 +51,16 @@ extern int target_big_endian; /* $ is used to refer to the current location. */ /* #define DOLLAR_DOT */ -#ifdef OBJ_ELF #define DIFF_EXPR_OK /* foo-. gets turned into PC relative relocs */ -#endif + +/* Values passed to md_apply_fix3 don't include the symbol value. */ +#define MD_APPLY_SYM_VALUE(FIX) 0 /* We don't need to handle .word strangely. */ #define WORKING_DOT_WORD /* Call md_pcrel_from_section, not md_pcrel_from. */ -#define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section(FIXP, SEC) +#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC) extern long md_pcrel_from_section PARAMS ((struct fix *, segT)); #define md_operand(x) |