diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-07-08 03:54:30 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2005-07-08 03:54:30 +0000 |
commit | d8b19f1a2d0407cb5813dbb8d4d7529fbc311e0f (patch) | |
tree | af2e8a11bf4a86a60f145192a49a94ae2d8dfbd1 /gas | |
parent | 3352f82b97d3c5d9fe4899f10f53432412433a51 (diff) | |
download | gdb-d8b19f1a2d0407cb5813dbb8d4d7529fbc311e0f.zip gdb-d8b19f1a2d0407cb5813dbb8d4d7529fbc311e0f.tar.gz gdb-d8b19f1a2d0407cb5813dbb8d4d7529fbc311e0f.tar.bz2 |
PR gas/1049
* config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-cris.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index faaa63c..c1a2990 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-cris.h b/gas/config/tc-cris.h index c84a2b74..34e6ef8 100644 --- a/gas/config/tc-cris.h +++ b/gas/config/tc-cris.h @@ -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 |