Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [LLD][ELF] - Do not remove empty sections referenced in LOADADDR/ADDR commands. | George Rimar | 2019-04-26 | 1 | -0/+24 |
This is https://bugs.llvm.org//show_bug.cgi?id=38750. If script references empty sections in LOADADDR/ADDR commands .empty : { *(.empty ) } .text : AT(LOADADDR (.empty) + SIZEOF (.empty)) { *(.text) } then an empty section will be removed and LOADADDR/ADDR will evaluate to null. It is not that user may expect from using of the generic script, what is a common case. Differential revision: https://reviews.llvm.org/D54621 llvm-svn: 359279 |