PR gas/1049
authorHans-Peter Nilsson <hp@axis.com>
Fri, 8 Jul 2005 03:54:30 +0000 (03:54 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 8 Jul 2005 03:54:30 +0000 (03:54 +0000)
* config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.

gas/ChangeLog
gas/config/tc-cris.h

index faaa63c245815f80aab5546a0edbd0429443d3e3..c1a2990b5b70639a620fd1671792799e5e612261 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR gas/1049
+       * config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.
+
 2005-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * config/tc-tic30.c (debug): Add format attribute.  Fix format
index c84a2b7491b98ca1fc167f6ff8fc24246aa09e43..34e6ef8153c5248b9368d2e506150662821429a1 100644 (file)
@@ -114,6 +114,13 @@ extern int md_cris_force_relocation (struct fix *);
   && (! IS_CRIS_PIC_RELOC ((FIX)->fx_r_type)           \
       || (FIX)->fx_r_type == BFD_RELOC_CRIS_32_GOTREL))
 
+/* FIXME: This *should* be a redundant definition, as the
+   TC_FORCE_RELOCATION* definitions already told about the cases where
+   we *don't* want the symbol value calculated.  Here we seem to answer
+   the "are you sure" question.  It certainly has very little to do with
+   whether the symbol value is passed to md_apply_fix.  */
+#define MD_APPLY_SYM_VALUE(FIX) 0
+
 /* When we have fixups against constant expressions, we get a GAS-specific
    section symbol at no extra charge for obscure reasons in
    adjust_reloc_syms.  Since ELF outputs section symbols, it gladly
This page took 0.02887 seconds and 4 git commands to generate.