mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-23 06:54:16 -04:00
Use custom ldscript template to fix missing .bss warning from linker
This fixes "No linker command file input for section '.bss'" being printed by the linker for every TU that includes the weak .bss from the PCH but then it gets stripped out and doesn't appear in the final object.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
SECTIONS
|
||||
{
|
||||
GROUP:
|
||||
{
|
||||
.init :{}
|
||||
.text ALIGN(0x4):{}
|
||||
.ctors ALIGN(0x4):{}
|
||||
.dtors ALIGN(0x4):{}
|
||||
.rodata ALIGN(0x8):{}
|
||||
.data ALIGN(0x8):{ *(.data) *(extabindex) *(extab) }
|
||||
.bss ALIGN(0x8):{}
|
||||
}
|
||||
}
|
||||
|
||||
FORCEACTIVE
|
||||
{
|
||||
$FORCEACTIVE
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
SECTIONS
|
||||
{
|
||||
GROUP:
|
||||
{
|
||||
.init :{}
|
||||
.text ALIGN(0x4):{}
|
||||
.ctors ALIGN(0x4):{}
|
||||
.dtors ALIGN(0x4):{}
|
||||
.rodata ALIGN(0x8):{}
|
||||
.data ALIGN(0x8):{ *(.data) *(extabindex) *(extab) }
|
||||
.bss ALIGN(0x8):{}
|
||||
}
|
||||
}
|
||||
|
||||
FORCEACTIVE
|
||||
{
|
||||
$FORCEACTIVE
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
SECTIONS
|
||||
{
|
||||
GROUP:
|
||||
{
|
||||
.init :{}
|
||||
.text ALIGN(0x4):{}
|
||||
.ctors ALIGN(0x4):{}
|
||||
.dtors ALIGN(0x4):{}
|
||||
.rodata ALIGN(0x8):{}
|
||||
.data ALIGN(0x8):{ *(.data) *(extabindex) *(extab) }
|
||||
.bss ALIGN(0x8):{}
|
||||
}
|
||||
}
|
||||
|
||||
FORCEACTIVE
|
||||
{
|
||||
$FORCEACTIVE
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
SECTIONS
|
||||
{
|
||||
GROUP:
|
||||
{
|
||||
.init :{}
|
||||
.text ALIGN(0x4):{}
|
||||
.ctors ALIGN(0x4):{}
|
||||
.dtors ALIGN(0x4):{}
|
||||
.rodata ALIGN(0x8):{}
|
||||
.data ALIGN(0x8):{ *(.data) *(extabindex) *(extab) }
|
||||
.bss ALIGN(0x8):{}
|
||||
}
|
||||
}
|
||||
|
||||
FORCEACTIVE
|
||||
{
|
||||
$FORCEACTIVE
|
||||
}
|
||||
Reference in New Issue
Block a user