diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-04-24 09:37:10 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-04-24 09:37:10 -0700 |
commit | 1587442d37ee4266e54d59bfdc783574f0587aff (patch) | |
tree | 005f2f972b2fe2b66a473422ef66161be9cc6546 /bfd | |
parent | 534455547021f3262fa60d32cabb626af01692a3 (diff) | |
download | fsf-binutils-gdb-1587442d37ee4266e54d59bfdc783574f0587aff.zip fsf-binutils-gdb-1587442d37ee4266e54d59bfdc783574f0587aff.tar.gz fsf-binutils-gdb-1587442d37ee4266e54d59bfdc783574f0587aff.tar.bz2 |
i386: Set ELF_MAXPAGESIZE to 0x1000 for VxWorks
commit a27e437177412e5b52999723f3c5d5d0d37b9087
Author: Roland McGrath <roland@gnu.org>
Date: Thu Jul 28 22:35:15 2011 +0000
BFD vector for elf32-i386-nacl:
changed ELF_MAXPAGESIZE to 0x10000 for VxWorks. This patch fixes it
and updated testsuite/ld-i386/vxworks2.sd to add space for program
headers.
bfd/
PR ld/21425
* elf32-i386.c (ELF_MAXPAGESIZE): Set to 0x1000 for VxWorks.
ld/
PR ld/20815
* testsuite/ld-i386/vxworks2.sd: Add space for program headers.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-i386.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0288046..6b969d6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2017-04-24 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/21425 + * elf32-i386.c (ELF_MAXPAGESIZE): Set to 0x1000 for VxWorks. + 2017-04-23 Alan Modra <amodra@gmail.com> PR 21414 diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 9e71974..83f3b11 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -6680,6 +6680,8 @@ elf32_i386_nacl_elf_object_p (bfd *abfd) #undef TARGET_LITTLE_NAME #define TARGET_LITTLE_NAME "elf32-i386-vxworks" #undef ELF_OSABI +#undef ELF_MAXPAGESIZE +#define ELF_MAXPAGESIZE 0x1000 #undef elf_backend_plt_alignment #define elf_backend_plt_alignment 4 |