This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
arm-elf ld fails phdrs test
- To: binutils at sourceware dot cygnus dot com
- Subject: arm-elf ld fails phdrs test
- From: Philip Blundell <Philip dot Blundell at pobox dot com>
- Date: Sun, 12 Mar 2000 13:46:55 +0000
The current version of ld configured for arm-elf is failing the
ld-scripts/phdrs.exp test. The problem is that the last segment in the output
file looks like this:
LOAD off 0x00000098 vaddr 0x00080098 paddr 0x00080098 align 2**15
filesz 0x00000004 memsz 0x00000004 flags rwx
whereas it's not supposed to be executable.
From a quick poke around with the debugger it seems that the special .glue_7
and .glue_7t sections are ending up in the .data segment, rather than in .text
where they belong, and so the former segment is inheriting their executable
flag.
Does anybody have time to investigate this?
p.