aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-01-14 07:03:49 +0000
committerAlan Modra <amodra@gmail.com>2001-01-14 07:03:49 +0000
commitc46b75158b4d6682705d556b9f69bd7fb6c11a18 (patch)
tree0e84f15fdb0c957f9c98e02f49619c6977cba1eb /gas
parentd768008d61d1d6b5d437d6f5f5546a7ce953ff1c (diff)
downloadgdb-c46b75158b4d6682705d556b9f69bd7fb6c11a18.zip
gdb-c46b75158b4d6682705d556b9f69bd7fb6c11a18.tar.gz
gdb-c46b75158b4d6682705d556b9f69bd7fb6c11a18.tar.bz2
Use SEGREL32 relocs for elf32-hppa unwind.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-hppa.c8
2 files changed, 5 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 11bc523..b52480c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
2001-01-14 Alan Modra <alan@linuxcare.com.au>
+ * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
+ both 32 and 64 bit ELF.
+
* config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
and don't bother storing `m' for "ce" completer. Tidy handling of
'J' and 'K' operands to suit. Handle '<' and '>' operands.
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 69c1e04..ab45da6 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -1,5 +1,5 @@
/* tc-hppa.c -- Assemble for the PA
- Copyright (C) 1989, 93, 94, 95, 96, 97, 98, 99, 2000, 2001
+ Copyright 1989, 93, 94, 95, 96, 97, 98, 99, 2000, 2001
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -6056,11 +6056,7 @@ pa_build_unwind_subspace (call_info)
if (now_seg != text_section)
return;
- if (bfd_get_arch_info (stdoutput)->bits_per_address == 32)
- reloc = R_PARISC_DIR32;
- else
- reloc = R_PARISC_SEGREL32;
-
+ reloc = R_PARISC_SEGREL32;
save_seg = now_seg;
save_subseg = now_subseg;
/* Get into the right seg/subseg. This may involve creating