forked from OSchip/llvm-project
Use UINT64_MAX instead of implicitly-type-converted -1.
llvm-svn: 314126
This commit is contained in:
parent
f0093e45c4
commit
761f0b660d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue