aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-07-05 01:18:23 +0000
committerJeff Law <law@redhat.com>1994-07-05 01:18:23 +0000
commit8fb99170f1f32f510a61a2e1853022c93a4b1263 (patch)
tree48fe3e0a3a3b60e3d5dab92e9faeca9fd6559ac1 /gas
parent655f3ef4afee55f38bb4424ee6402899e85188c2 (diff)
downloadgdb-8fb99170f1f32f510a61a2e1853022c93a4b1263.zip
gdb-8fb99170f1f32f510a61a2e1853022c93a4b1263.tar.gz
gdb-8fb99170f1f32f510a61a2e1853022c93a4b1263.tar.bz2
Fix thinko in last change
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-hppa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index caaad7c..c6780ad 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -1257,12 +1257,11 @@ cons_fix_new_hppa (frag, where, size, exp)
{
unsigned int rel_type;
- /* Get a base relocation type. We use NONE for complex as it should
- always be reducable to a constant in the cases we generate. */
+ /* Get a base relocation type. */
if (is_DP_relative (*exp))
rel_type = R_HPPA_GOTOFF;
else if (is_complex (*exp))
- rel_type = R_HPPA_NONE;
+ rel_type = R_HPPA_COMPLEX;
else
rel_type = R_HPPA;