Displaying 4 results from an estimated 4 matches for "endjunk".
2018 Feb 08
2
LLD: targeting cygwin
...be at the beginning of the section to enable SECREL32 relocations with
TLS
data. */
.tls BLOCK(__section_alignment__) :
{
___tls_start__ = . ;
KEEP (*(.tls$AAA))
KEEP (*(.tls))
KEEP (*(.tls$))
KEEP (*(SORT(.tls$*)))
KEEP (*(.tls$ZZZ))
___tls_end__ = . ;
}
.endjunk BLOCK(__section_alignment__) :
{
/* end is deprecated, don't use it */
PROVIDE (end = .);
PROVIDE ( _end = .);
__end__ = .;
}
.rsrc BLOCK(__section_alignment__) : SUBALIGN(4)
{
KEEP (*(.rsrc))
KEEP (*(.rsrc$*))
}
.reloc BLOCK(__section_alignment__) :
{...
2018 Feb 09
0
LLD: targeting cygwin
...s
> with TLS
> data. */
> .tls BLOCK(__section_alignment__) :
> {
> ___tls_start__ = . ;
> KEEP (*(.tls$AAA))
> KEEP (*(.tls))
> KEEP (*(.tls$))
> KEEP (*(SORT(.tls$*)))
> KEEP (*(.tls$ZZZ))
> ___tls_end__ = . ;
> }
> .endjunk BLOCK(__section_alignment__) :
> {
> /* end is deprecated, don't use it */
> PROVIDE (end = .);
> PROVIDE ( _end = .);
> __end__ = .;
> }
> .rsrc BLOCK(__section_alignment__) : SUBALIGN(4)
> {
> KEEP (*(.rsrc))
> KEEP (*(.rsrc$*))
&...
2018 Feb 07
0
LLD: targeting cygwin
COFF lld doesn't support the linker script at the moment, and I'm sad to
say that it is very unlikely to support that in the future. Linker script
support is so huge that I can't imagine we really want it for COFF. GNU BFD
linker supports it because the linker is built as an interpreter for the
built-in linker script (and that's one of the reasons why GNU linker is by
far more
2018 Feb 07
2
LLD: targeting cygwin
Hello, I have a user who is trying to get LLD to link for the cygwin
target: https://github.com/zig-lang/zig/issues/751
Currently the issue they are running into is needing to define a linker
script, but the COFF driver (or MinGW driver) does not have support for
that.
Is there documentation or advice for how to use LLD to link for cygwin? As
a starting point, which driver to use?
Regards,