This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

arm-elf ld fails phdrs test


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]