diff options
author | Eric Christopher <echristo@gmail.com> | 2000-08-22 01:20:41 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2000-08-22 01:20:41 +0000 |
commit | 58a77e418b6999bee8e5e54e5483d24536bb93c0 (patch) | |
tree | 6cdd7c1cc691efcf1798178c6841ff38f1777772 /gas/config/tc-mn10300.h | |
parent | 7a9af8c4a0fdb228854799a8b96eef29932a2004 (diff) | |
download | gdb-58a77e418b6999bee8e5e54e5483d24536bb93c0.zip gdb-58a77e418b6999bee8e5e54e5483d24536bb93c0.tar.gz gdb-58a77e418b6999bee8e5e54e5483d24536bb93c0.tar.bz2 |
2000-08-22 Eric Christopher <echristo@cygnus.com>
* config/tc-mn10300.c: (md_apply_fix): New function.
(mn10300_force_relocation): New function.
(mn10300_fix_adjustable): New function.
* config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
(TC_HANDLES_FX_DONE): Define.
(obj_fix_adjustable): Define.
(MD_APPLY_FIX3): Define.
(TC_LINKRELAX_FIXUP): Define.
* write.c: (TC_LINKRELAX_FIXUP): Define if not
previously defined.
(fixup_segment): Use TC_LINKRELAX_FIXUP.
* doc/internals.texi: Document TC_LINKRELAX_FIXUP.
Diffstat (limited to 'gas/config/tc-mn10300.h')
-rw-r--r-- | gas/config/tc-mn10300.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gas/config/tc-mn10300.h b/gas/config/tc-mn10300.h index f9c8826..bff92b0 100644 --- a/gas/config/tc-mn10300.h +++ b/gas/config/tc-mn10300.h @@ -31,7 +31,21 @@ #define TARGET_FORMAT "elf32-mn10300" -#define MD_APPLY_FIX3 +/* For fixup and relocation handling. */ +#define TC_FORCE_RELOCATION(fixp) mn10300_force_relocation (fixp) +extern int mn10300_force_relocation PARAMS ((struct fix *)); + +#define TC_HANDLES_FX_DONE + +#define obj_fix_adjustable(fixP) mn10300_fix_adjustable (fixP) +extern boolean mn10300_fix_adjustable PARAMS ((struct fix *)); + +#define MD_APPLY_FIX3 md_apply_fix3 + +/* Fixup debug sections since we will never relax them. */ +#define TC_LINKRELAX_FIXUP(seg) (seg->flags & SEC_ALLOC) + + #define md_operand(x) /* Permit temporary numeric labels. */ |