aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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