Combine .data section into .text
This commit is contained in:
parent
3ab328fbf8
commit
7311ec1dd7
|
@ -77,7 +77,7 @@ namespace Amalgamator
|
|||
if (!RunAssembler(options.RootDirectory))
|
||||
return 3;
|
||||
|
||||
linkerScript.AppendLine($"SECTIONS {{ .text 0x{options.CompiledAddress:X} : {{ *(.text .rodata) }} }}");
|
||||
linkerScript.AppendLine($"SECTIONS {{ .text 0x{options.CompiledAddress:X} : {{ *(.text .data .rodata) }} }}");
|
||||
|
||||
foreach (var sym in EnumerateArmipsSymbols(options.GetRootFile(ArmipsSymFile))
|
||||
.Where(s => undefinedSymbols.Contains(s.Key)))
|
||||
|
|
Loading…
Reference in New Issue