Combine .data section into .text

This commit is contained in:
jeffman 2017-04-10 17:08:03 -04:00
parent 3ab328fbf8
commit 7311ec1dd7
1 changed files with 1 additions and 1 deletions

View File

@ -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)))