Use SEGREL32 relocs for elf32-hppa unwind.

This commit is contained in:
Alan Modra
2001-01-14 07:03:49 +00:00
parent d768008d61
commit c46b75158b
6 changed files with 229 additions and 86 deletions

View File

@@ -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.

View File

@@ -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