• jkummerow@chromium.org's avatar
    MIPS: fix mips_arch_variant bug in GYP build. · 8daf7e7d
    jkummerow@chromium.org authored
    There is a small bug that causes to build mips32r2
    version of v8 as mips32 (r1). This affects only
    the compiled code.
    
    In the default case of building for mips32r2,
    the compiler flags are the following:
    
    -EL -mhard-float -mips32r2 -Wa,-mips32r2 -mips32 -Wa,-mips32
    
    Since the "last flag wins" the object files are
    compiled as mips32. In a funny twist, the
    code sourcery lite compilers do not have multi-lib support,
    and there is a bug that if you tell it to link mips32,
    it will silently link the object files with
    mips32r2 libraries, and then the resulting binary is mips32r2.
    
    This commit fixes the mips32r1/mips32r2 build.
    
    BUG=
    TEST=
    
    Review URL: https://codereview.chromium.org/11289003
    Patch from Akos Palfi <palfia@homejinni.com>.
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12833 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    8daf7e7d
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
preparser Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
SConstruct Loading commit data...