aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-08-05 00:09:42 +0000
committerJeff Law <law@redhat.com>1999-08-05 00:09:42 +0000
commit39ba5561643f4922c1fa333028d3da3ecdd41a68 (patch)
treef23837649a3debd3ef3c4954c52ca2d3c12d047d /gas
parente7c4421855a609e38b9398280c543dc9a9ef54f8 (diff)
downloadgdb-39ba5561643f4922c1fa333028d3da3ecdd41a68.zip
gdb-39ba5561643f4922c1fa333028d3da3ecdd41a68.tar.gz
gdb-39ba5561643f4922c1fa333028d3da3ecdd41a68.tar.bz2
* config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
selectors for ELF too. (selector_table): Add "ltp" and "rtp" selectors.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-hppa.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9d39904..ce9b9ef 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 073e9e6..38762f8 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -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;