This change adds INCLUDE support to the MEMORY and SECTION commands, and to output sections, as per:
https://sourceware.org/binutils/docs/ld/File-Commands.html#File-Commands
Differential D52951
[lld] Add more complete support for the INCLUDE command. itessier on Oct 5 2018, 3:09 PM. Authored by
Details
This change adds INCLUDE support to the MEMORY and SECTION commands, and to output sections, as per: https://sourceware.org/binutils/docs/ld/File-Commands.html#File-Commands
Diff Detail
Event TimelineComment Actions Looks good! I think you can write the tests as *.test (see lld/test/ELF/linkerscript/implicit-program-header.test for example). You can write the following line instead of asm code I think:
Comment Actions I converted all the tests into .test files. I removed the empty file test in memory-include.test since it requires modifying the linker script. I could add a separate linker script in the input data directory for this case, or maybe just simplify the remaining tests by removing the empty file checks? |
Please align this: