OSDN Git Service

* config/tc-cris.c: Update all comments regarding explicit relocations
authorhp <hp>
Sat, 4 Oct 2008 17:20:38 +0000 (17:20 +0000)
committerhp <hp>
Sat, 4 Oct 2008 17:20:38 +0000 (17:20 +0000)
commitef6ee5d23a5c93f21988020bdb4810b6f1367795
tree5ce4c42fdfcf45fc5df34b39ed6bd3b16b58574d
parente63ee7cae9438ced5f3abdda61038f4feb4b23db
* 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