aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-02-29 00:51:00 +0000
committerJeff Law <law@redhat.com>1996-02-29 00:51:00 +0000
commit24b216e1ddfc6c818fbb22d60cbf9605e8718e76 (patch)
treedb6851013a04faa8f90f569699b22787f7631c74 /gas
parent8fe2b2c53ecccead619b2165445b30ccc348fb36 (diff)
downloadgdb-24b216e1ddfc6c818fbb22d60cbf9605e8718e76.zip
gdb-24b216e1ddfc6c818fbb22d60cbf9605e8718e76.tar.gz
gdb-24b216e1ddfc6c818fbb22d60cbf9605e8718e76.tar.bz2
* config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
reduce relocs using e_nlrsel field selectors.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-hppa.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2ce062e..c682505 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
Wed Feb 28 15:38:56 1996 Jeffrey A Law (law@cygnus.com)
+ * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
+ reduce relocs using e_nlrsel field selectors.
+
* write.c (fix_new_exp): Don't use #elif. Some compilers
don't handle it.
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index f06f44a..ab880e3 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -6301,7 +6301,8 @@ hppa_fix_adjustable (fixp)
selectors. That confuses the optimization pass in HP linker. */
if (fixp->fx_r_type == R_DP_RELATIVE
&& (hppa_fix->fx_r_field == e_lrsel
- || hppa_fix->fx_r_field == e_rrsel))
+ || hppa_fix->fx_r_field == e_rrsel
+ || hppa_fix->fx_r_field == e_nlrsel))
return 0;
#endif