From 24b216e1ddfc6c818fbb22d60cbf9605e8718e76 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 29 Feb 1996 00:51:00 +0000 Subject: [PATCH] * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't reduce relocs using e_nlrsel field selectors. --- gas/ChangeLog | 3 +++ gas/config/tc-hppa.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2ce062ea282..c68250572bd 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 f06f44a567a..ab880e3da01 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 -- 2.30.2