aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.c
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/config/tc-hppa.c
parentd768008d61d1d6b5d437d6f5f5546a7ce953ff1c (diff)
downloadgdb-c46b75158b4d6682705d556b9f69bd7fb6c11a18.zip
gdb-c46b75158b4d6682705d556b9f69bd7fb6c11a18.tar.gz
gdb-c46b75158b4d6682705d556b9f69bd7fb6c11a18.tar.bz2
Use SEGREL32 relocs for elf32-hppa unwind.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r--gas/config/tc-hppa.c8
1 files changed, 2 insertions, 6 deletions
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