arm-elf ld fails phdrs test
Philip Blundell
Philip.Blundell@pobox.com
Sun Mar 12 05:47:00 GMT 2000
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.
More information about the Binutils
mailing list