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

Jason Thorpe thorpej@wasabisystems.com
Thu May 29 18:44:00 GMT 2003


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>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-ro-orphan-patch
Type: application/octet-stream
Size: 881 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030529/c226c398/attachment.obj>


More information about the Binutils mailing list