search for: myoutputsect

Displaying 2 results from an estimated 2 matches for "myoutputsect".

2014 Dec 03
2
[LLVMdev] [lld] need to figure out if file is an archive member and record more information...
Hi Nick, Currently the Reader doesnot have a way to figure out that a file that is being parsed is part of an archive. For linker script support this is needed to match a rule that matches only if the file is from an archive library (or a member of an archive. For example :- SECTIONS { .myoutputsection : { libc.a : { *(.text) } printf.o : { *(.rodata) } } } The colon is used to denote an archive file or a member of an archive file and the rule says pick all text sections from members of libc.a that the linker uses for the current link step. Current Design ------------------------...
2014 Dec 03
2
[LLVMdev] [lld] need to figure out if file is an archive member and record more information...
...file that is >> being parsed is part of an archive. >> >> For linker script support this is needed to match a rule that matches only >> if the file is from an archive library (or a member of an archive. >> >> For example :- >> >> SECTIONS { >> .myoutputsection : { >> libc.a : { *(.text) } >> printf.o : { *(.rodata) } >> } >> } >> >> The colon is used to denote an archive file or a member of an archive file >> and the rule says pick all text sections from members of libc.a that the >> linker use...