diff options
author | Ramana Radhakrishnan <ramana.r@gmail.com> | 2009-04-01 16:49:32 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana.r@gmail.com> | 2009-04-01 16:49:32 +0000 |
commit | 4343666d145c423a5207b9ef168817387cd4079c (patch) | |
tree | 573f8ef4a5a66c5c53c28c1063f5161034cdbe92 /gas/config/tc-arm.h | |
parent | 1e2f1c5caa96a6e36670cd183f72b896e472aae0 (diff) | |
download | gdb-4343666d145c423a5207b9ef168817387cd4079c.zip gdb-4343666d145c423a5207b9ef168817387cd4079c.tar.gz gdb-4343666d145c423a5207b9ef168817387cd4079c.tar.bz2 |
2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
(find_real_start): Likewise.
* config/tc-arm.h (TC_VALIDATE_FIX): Likewise
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r-- | gas/config/tc-arm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index 15e02c7..c6f6fd8 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -249,8 +249,10 @@ struct arm_segment_info_type # define tc_fix_adjustable(FIX) arm_fix_adjustable (FIX) /* Values passed to md_apply_fix don't include the symbol value. */ # define MD_APPLY_SYM_VALUE(FIX) 0 -# define TC_VALIDATE_FIX(FIX, SEGTYPE, LABEL) arm_validate_fix (FIX) +#endif +#ifdef OBJ_COFF +# define TC_VALIDATE_FIX(FIX, SEGTYPE, LABEL) arm_validate_fix (FIX) #endif #define MD_PCREL_FROM_SECTION(F,S) md_pcrel_from_section(F,S) |