OSDN Git Service

* config/tc-cris.c: Update all comments regarding explicit relocations
authorHans-Peter Nilsson <hp@axis.com>
Sat, 4 Oct 2008 17:20:38 +0000 (17:20 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Sat, 4 Oct 2008 17:20:38 +0000 (17:20 +0000)
commitc29de0c49b11403cc89ffb310c552f927ffd3a89
tree152ad2caa8dc232e453d57dcd4950a23abcde07c
parent8f2f8dc7dc1442f550624b13d1988c12fea4bf62
* config/tc-cris.c: Update all comments regarding explicit relocations
to, besides PIC, also imply TLS or to say "relocation specifier" or
similar.
(RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR.  Change all callers.
(cris_get_reloc_suffix): Rename from cris_get_pic_suffix.  Change all
callers.  Also handle TLS relocs.
(cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
Change all callers.  Also handle TLS relocs.
(tls): New constant.
(cris_process_instruction): Check for non-PIC TLS relocations and
adjust message when emitting error message about relocation not
fitting.
(get_autoinc_prefix_or_indir_op): Also check for relocation suffix
when tls is true.
(get_3op_or_dip_prefix_op): Ditto.
(cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
gas/ChangeLog
gas/config/tc-cris.c