Gold: Fix mips.cc for GCC 4.2
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 26 Jul 2017 17:39:20 +0000 (10:39 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 26 Jul 2017 17:43:36 +0000 (10:43 -0700)
commit104f0515d038716599728f8e2b58aefe3fc188aa
tree6a2b0f38600360841a24e78b3763c668b8d64b89
parent27d41eac62a6a1aa803dfcfba2be61431e7b3d13
Gold: Fix mips.cc for GCC 4.2

GCC 4.2 fails to compile "(uint64_t) 0x800080008000" with

error: integer constant is too large for ‘long’ type

This patch adds "llu" suffix to 0x800080008000 for GCC 4.2.

* mips.cc (Mips_relocate_functions): Add "llu" suffix to
0x800080008000.
gold/ChangeLog
gold/mips.cc
This page took 0.026723 seconds and 4 git commands to generate.