Closed Bug 646843 Opened 14 years ago Closed 14 years ago

Rebuild the NDK to contain PIC code in static libraries

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 616057

People

(Reporter: glandium, Unassigned)

Details

Currently libgcc.a and libstdc++.a are not built as PIC. From my experiments, this should get us between 2 and 5% less time spent before main(), provided bug 646815 is fixed as well. From my experiments, all that is needed is to add --with-pic as a compile option to gcc (which I did through build/tools/build-gcc.sh), and add -fPIC to libgcc config options (which I did through the TARGET_LIBGCC2_CFLAGS variable in src/gcc/gcc-4.4.0/gcc/config/arm/t-arm-softfp, though there's probably a better place)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.