aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/maxpage5.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-11-21 21:31:18 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-11-21 21:31:18 +0000
commitf1d85785136b9335f837775031f4dba0124462db (patch)
treea06b890a356e440d206c0d3631ecb3af27bc51d2 /ld/testsuite/ld-elf/maxpage5.s
parenta3f548ed8589b815eb5141825c73d3871d0d1786 (diff)
downloadgdb-f1d85785136b9335f837775031f4dba0124462db.zip
gdb-f1d85785136b9335f837775031f4dba0124462db.tar.gz
gdb-f1d85785136b9335f837775031f4dba0124462db.tar.bz2
Set output maxpagesize when rewriting program header
bfd/ PR binutils/14493 * elf.c (copy_elf_program_header): When rewriting program header, set the output maxpagesize to the maximum alignment of input PT_LOAD segments. 2012-11-21 H.J. Lu <hongjiu.lu@intel.com> PR binutils/14493 * ld-elf/maxpage5.d: New file. * ld-elf/maxpage5.s: Likewise. * ld-elf/maxpage5.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/maxpage5.s')
-rw-r--r--ld/testsuite/ld-elf/maxpage5.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/maxpage5.s b/ld/testsuite/ld-elf/maxpage5.s
new file mode 100644
index 0000000..93d6b36
--- /dev/null
+++ b/ld/testsuite/ld-elf/maxpage5.s
@@ -0,0 +1,8 @@
+ .globl _entry
+ .text
+_entry:
+ .byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+ .section .foo,"awx",%progbits
+ .byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+ .section .note,"",%note
+ .byte 0