* config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte

selectors for ELF too.
        (selector_table): Add "ltp" and "rtp" selectors.
This commit is contained in:
Jeff Law 1999-08-05 00:09:42 +00:00
parent e7c4421855
commit 39ba556164
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
selectors for ELF too.
(selector_table): Add "ltp" and "rtp" selectors.
1999-08-04 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (i386_operand): No need to change

View File

@ -997,6 +997,7 @@ static const struct selector_entry selector_table[] =
{"lr", e_lrsel},
{"ls", e_lssel},
{"lt", e_ltsel},
{"ltp", e_ltpsel},
{"n", e_nsel},
{"nl", e_nlsel},
{"nlr", e_nlrsel},
@ -1007,6 +1008,7 @@ static const struct selector_entry selector_table[] =
{"rr", e_rrsel},
{"rs", e_rssel},
{"rt", e_rtsel},
{"rtp", e_rtpsel},
{"t", e_tsel},
};
@ -3629,13 +3631,11 @@ pa_chk_field_selector (str)
name[0] = tolower ((*str)[0]),
name[1] = tolower ((*str)[1]),
name[2] = 0;
#ifdef OBJ_SOM
else if ((*str)[3] == '\'' || (*str)[3] == '%')
name[0] = tolower ((*str)[0]),
name[1] = tolower ((*str)[1]),
name[2] = tolower ((*str)[2]),
name[3] = 0;
#endif
else
return e_fsel;