summaryrefslogtreecommitdiff
path: root/bfd/elf-hppa.h
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
commitacad6c8fb05b7713d9a619298ebe312564ff4262 (patch)
tree081d31d3f0b639022e662b1422d70ed6a36d06cf /bfd/elf-hppa.h
parent7c7311bcfadd1843206e69a3cac1cc0fb5dbde27 (diff)
downloadbinutils-redhat-acad6c8fb05b7713d9a619298ebe312564ff4262.tar.gz
* elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.
Diffstat (limited to 'bfd/elf-hppa.h')
-rw-r--r--bfd/elf-hppa.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h
index 900247ce3a..99cc17e51f 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. */