* config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 02:36:27 +0000 (02:36 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 02:36:27 +0000 (02:36 +0000)
commita1cc9221e2f5771188b5832633eb73ee2bbbb4c5
tree7abae9229c83c3e90771b75ffeeff560c667c8c8
parent37c644f2f5e7b4dce05757b8cd5822f971f6d5d8
* config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
* config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
become PC-relative to BFD_RELOC_32_PCREL.  Reject 16- or 8-bit
similar relocs.
(sh_obj_adjustable): Return 1 for PC-relative offsets used in
branches.

* config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
* config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
[OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
(GOT_symbol): New variable.
(md_undefined_symbol): Set it.
gas/ChangeLog
gas/config/tc-sh.c
gas/config/tc-sh.h