gas reloc rewrite.
[deliverable/binutils-gdb.git] / gas / config / tc-i370.h
index 7ddc12ce623793b189fd117dea1f81033cd18c57..81007ac97da216214666ad5e737120fe97fbc820 100644 (file)
@@ -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)
This page took 0.02571 seconds and 4 git commands to generate.