aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-04-24 09:37:10 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-04-24 09:37:10 -0700
commit1587442d37ee4266e54d59bfdc783574f0587aff (patch)
tree005f2f972b2fe2b66a473422ef66161be9cc6546 /ld
parent534455547021f3262fa60d32cabb626af01692a3 (diff)
downloadgdb-1587442d37ee4266e54d59bfdc783574f0587aff.zip
gdb-1587442d37ee4266e54d59bfdc783574f0587aff.tar.gz
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 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-i386/vxworks2.sd2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 9ab31fa..07afee4 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2017-04-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/20815
+ * testsuite/ld-i386/vxworks2.sd: Add space for program headers.
+
2017-04-24 Jose E. Marchesi <jose.marchesi@oracle.com>
* testsuite/ld-sparc/tlssunbin64.dd: Expect `return' instructions
diff --git a/ld/testsuite/ld-i386/vxworks2.sd b/ld/testsuite/ld-i386/vxworks2.sd
index 5ff87d3..4f56f2a 100644
--- a/ld/testsuite/ld-i386/vxworks2.sd
+++ b/ld/testsuite/ld-i386/vxworks2.sd
@@ -6,7 +6,7 @@ Program Headers:
Type .*
PHDR .*
#...
- LOAD .* 0x00080000 0x00080000 .* R E 0x1000
+ LOAD .* 0x0007f000 0x0007f000 .* R E 0x1000
LOAD .* 0x00081000 0x00081000 .* RW 0x1000
DYNAMIC .*