This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

[PATCH/RFA] Allow read-only orphans to sort with .text


This is a patch I've had kicking around in my tree for a while. This allows read-only orphan sections to be sorted with .text if no other suitable adopted parent section can be found (e.g. if the linker script does not have a ".rodata" section).

OK for mainline?

        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Allow
        orphan read-only sections to be sorted with .text of no other
        suitable section can be found.

-- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: ld-ro-orphan-patch
Description: Binary data


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