diff --git a/compiled/Amalgamator/Amalgamator/Program.cs b/compiled/Amalgamator/Amalgamator/Program.cs index cb6287c..3da46a5 100644 --- a/compiled/Amalgamator/Amalgamator/Program.cs +++ b/compiled/Amalgamator/Amalgamator/Program.cs @@ -70,7 +70,7 @@ namespace Amalgamator if (!RunAssembler(options.RootDirectory)) return 3; - linkerScript.AppendLine(@"SECTIONS { .text 0x8000000 : { *(.text .rodata) } }"); + linkerScript.AppendLine($"SECTIONS {{ .text 0x{options.CompiledAddress:X} : {{ *(.text .rodata) }} }}"); foreach (var sym in EnumerateArmipsSymbols(options.GetRootFile(ArmipsSymFile)) .Where(s => undefinedSymbols.Contains(s.Key)))