aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-16 21:01:08 +0000
committerJeff Law <law@redhat.com>1999-09-16 21:01:08 +0000
commitb2df14602e2319b21dfeb5bb8deeca3fd988276a (patch)
tree0dc9b1df0a999dcb677f8d24c4c37904aaaadbac /bfd
parentd3cc5bd625c76b09b995c0f1f313fc1f83064d07 (diff)
downloadfsf-binutils-gdb-b2df14602e2319b21dfeb5bb8deeca3fd988276a.zip
fsf-binutils-gdb-b2df14602e2319b21dfeb5bb8deeca3fd988276a.tar.gz
fsf-binutils-gdb-b2df14602e2319b21dfeb5bb8deeca3fd988276a.tar.bz2
* elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog2
-rw-r--r--bfd/elf-hppa.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 95c0254..572cbca 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -5,6 +5,8 @@ Thu Sep 16 11:21:13 1999 Catherine Moore <clm@cygnus.com>
Thu Sep 16 10:48:17 1999 Jeffrey A Law (law@cygnus.com)
+ * elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.
+
* elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the
symbol table, then just compute a suitable value (but do not
create a __gp symbol).
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h
index 900247c..99cc17e 100644
--- a/bfd/elf-hppa.h
+++ b/bfd/elf-hppa.h
@@ -656,7 +656,13 @@ elf_hppa_final_write_processing (abfd, linker)
else if (mach == 20)
elf_elfheader (abfd)->e_flags |= EFA_PARISC_2_0;
else if (mach == 25)
- elf_elfheader (abfd)->e_flags |= EF_PARISC_WIDE | EFA_PARISC_2_0;
+ elf_elfheader (abfd)->e_flags |= (EF_PARISC_WIDE
+ | EFA_PARISC_2_0
+ /* The GNU tools have trapped without
+ option since 1993, so need to take
+ a step backwards with the ELF
+ based toolchains. */
+ | EF_PARISC_TRAPNIL);
}
/* Return true if SYM represents a local label symbol. */