diff options
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
-rw-r--r-- | lld/ELF/LinkerScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 0baa2129bed..e72a20d9fa3 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -428,7 +428,7 @@ void LinkerScript::processCommands(OutputSectionFactory &Factory) { void LinkerScript::fabricateDefaultCommands() { // Define start address - uint64_t StartAddr = -1; + uint64_t StartAddr = UINT64_MAX; // The Sections with -T<section> have been sorted in order of ascending // address. We must lower StartAddr if the lowest -T<section address> as |