Issue 54194
Summary LLD with --orphan-handling=warn and custom linker script complains about ELF debug sections
Labels new issue
Assignees
Reporter royger
    Hello,

It seems like LLD when used with a linker scripts complains about .symtab, .shstrtab and .strtab not explicitly handled in the script:
```
ld: warning: <internal>:(.symtab) is being placed in '.symtab'
ld: warning: <internal>:(.shstrtab) is being placed in '.shstrtab'
ld: warning: <internal>:(.strtab) is being placed in '.strtab'
```
GNU ld doesn't complain about such sections not being placed, and it's unknown which effect adding those sections to the linker script will have. Is it intended for LLD to complain about such sections not being explicitly handled in linker scripts?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to