gold-linked dragonfly kernel unbootable, likely due to segment page size, alignment
John Marino
binutils@marino.st
Thu Feb 23 17:59:00 GMT 2012
More information about the Binutils mailing list
Thu Feb 23 17:59:00 GMT 2012
- Previous message (by thread): gold-linked dragonfly kernel unbootable, likely due to segment page size, alignment
- Next message (by thread): gold-linked dragonfly kernel unbootable, likely due to segment page size, alignment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2/21/2012 2:38 PM, Ian Lance Taylor wrote: > The header handling behaviour is hardcoded, yes. That said, you should > be able to control the program headers by using an explicit PHDRS > section in your linker script. PHDRS are supported by both GNU ld and > gold. > Hi Ian, Good news! Adding PHDRS section to the linker script resulted in a DragonFly kernel that boots and functions fine, including the kernel modules that we had trouble with before in gold 2.21. I've attached the readelf output of the kernel built with ld and gold. The main difference is the alignment value for the LOAD segments, but both have the first LOAD segment starting at the same address so I guess that's the important thing. Thanks again, John -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: kernel_phdrs.gold.txt URL: <https://sourceware.org/pipermail/binutils/attachments/20120223/e55f2dcc/attachment.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: kernel_phdrs.ld.txt URL: <https://sourceware.org/pipermail/binutils/attachments/20120223/e55f2dcc/attachment-0001.txt>
- Previous message (by thread): gold-linked dragonfly kernel unbootable, likely due to segment page size, alignment
- Next message (by thread): gold-linked dragonfly kernel unbootable, likely due to segment page size, alignment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list