History log of /bionic/linker/linker_mips.cpp
Revision Date Author Comments
38b88a4a6475160e64d963f7aa48c882d876737d 01-Apr-2016 Elliott Hughes <enh@google.com> Use consistent quoting in linker messages.

Using single quotes can be more convenient -- because there's no need to
escape -- but the vast majority of existing quoting was done with double
quotes, so move in that direction.

Bug: http://b/27524191
Change-Id: I8f58593120e4c8aeaec45e16fc0178e9c162454d
05d08e9716b5974d6ed08973f44930804890b902 04-Feb-2016 Christopher Ferris <cferris@google.com> Updated to v4.4.1 kernel headers.

Small modifications needed to allow compilation with the new headers:

- Manually modify bionic/libc/kernel/uapi/asm-mips/asm/siginfo.h to
remove the uapi from the include.
- PR_XXX defines are now available for mips, so remove the definition
from linker_mips.cpp.

Bug: 23789423
Change-Id: I6dc8a03b012426d3a937db15cb24d3a50fab5a8c
dccc40883ace81d203b3ed66944847e55f45da6f 18-Sep-2015 Douglas Leung <douglas.leung@imgtec.com> Fix mips FP abi bug in the linker.

Change-Id: I1ffab938eb06f9dc0963ee15bc10eca216618792
0acb15ead6a554a6879b29fd90726b9ea8fd98c4 28-Jul-2015 Duane Sand <duane.sand@imgtec.com> [MIPS] Link .dex or .oat code lacking .MIPS.abiflags segment

This corrects an issue with mips32 Art on mips64r6 Android, where
Java ran slowly due to unintended use of kernel-trap emulation of
single-precision floating point registers. This also regressed all
Art tests due to an extra logcat line
WARNING: linker: Using FRE=1 mode to run "..."

When targeting mips32r6, Art generates modeless or FR=1 floating point
code, same as Android's own native mips32r6 modules. So the trapping was
unneeded. Linker was confusing Art-generated modules with those from
old NDK compilers, which do need that trapping mode.

This linker filename check may become unnecessary, if Art learns how to
generate .MIPS.abiflags segments in its generated elf-like codefiles.

Change-Id: I18069d1234960c680c5df739514da09015a7fdb6
bc425c73e07dc150d1dcb64889ca7d379dace410 02-Jun-2015 Duane Sand <duane.sand@imgtec.com> [MIPS] Support FR=0 emulation on FR=1 64-bit FP registers

Enables running of older MIPS NDK-built apps on mips64r6.

Works with kernel supporting FRE emulation, and old kernels.

Change-Id: If5e392ed89e9910cd1ccd30e0fd5c4a5acea2c7d
cc838904642c60f29e915ab3eb6b736782b32923 24-Jun-2015 Dimitry Ivanov <dimitry@google.com> Revert "[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers"

This reverts commit d02ec08427b006e80191ce60690ce48a788fb832.

Bug: http://b/22045439
Change-Id: Iaf10ff1e2948083cce0098f29d5b87b32bfae1b7
fb3357e2eb9366d87a8da96e1a0744c9b1f22af9 24-Jun-2015 Dimitry Ivanov <dimitry@google.com> Revert "[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers"

This reverts commit 40d9e7bf842423e328cda58e21ff5fc0cbab5c8a.

Bug: http://b/22045439
Change-Id: Ia9c56f65d35e404332a462f46460335cef39f0a4
40d9e7bf842423e328cda58e21ff5fc0cbab5c8a 02-Jun-2015 Duane Sand <duane.sand@imgtec.com> [MIPS] Support FR=0 emulation on FR=1 64-bit FP registers

Enables running of older MIPS NDK-built apps on mips64r6.

Works with kernel supporting FRE emulation, and old kernels.

Bug: http://b/21555893
Change-Id: I13923fe62cd83ad1d337f13a50f2eda2dfdd906f
(cherry picked from commit d02ec08427b006e80191ce60690ce48a788fb832)
d02ec08427b006e80191ce60690ce48a788fb832 02-Jun-2015 Duane Sand <duane.sand@imgtec.com> [MIPS] Support FR=0 emulation on FR=1 64-bit FP registers

Enables running of older MIPS NDK-built apps on mips64r6.

Works with kernel supporting FRE emulation, and old kernels.

Change-Id: I13923fe62cd83ad1d337f13a50f2eda2dfdd906f
456afe24b6460f75b3abc296f8f5885f4d8d907a 05-May-2015 Dmitriy Ivanov <dimitry@google.com> Fix protected symbol lookups for mips

Bug: http://b/20694161
Change-Id: I5cc58034f9776e1db9cddc34abe48ef85f6048f4
(cherry picked from commit dbe26fdcc7de503539837467299b96c4a93084cc)
dbe26fdcc7de503539837467299b96c4a93084cc 05-May-2015 Dmitriy Ivanov <dimitry@google.com> Fix protected symbol lookups for mips

Bug: http://b/20694161
Change-Id: I5cc58034f9776e1db9cddc34abe48ef85f6048f4
dc145b510640202a60b0dfaef9d56cd8fc1c05a9 01-May-2015 Dmitriy Ivanov <dimitry@google.com> Lookup version info when relocating mips got

Bug: http://b/20693971
Bug: http://b/20139821
Change-Id: I28bd3bc44dafe048761b2c598facfe20320128c4
(cherry picked from commit f39cb63603da949325b4d186e870d0c3de01eb30)
f92a417d07d70730fda15d7d98d36968a6a7362e 01-May-2015 Dmitriy Ivanov <dimitry@google.com> Refactoring: move VersionTracker to link_image

Use one instance of VersionTracker per link (instead of 2).

Change-Id: I6860013df65f5969975c82ebdae8bd90a82e0a82
(cherry picked from commit 7e4bbbae4a1e2034e6fa47ac2b0e1e7ca970acf0)
f39cb63603da949325b4d186e870d0c3de01eb30 01-May-2015 Dmitriy Ivanov <dimitry@google.com> Lookup version info when relocating mips got

Bug: http://b/20693971
Bug: http://b/20139821
Change-Id: I28bd3bc44dafe048761b2c598facfe20320128c4
7e4bbbae4a1e2034e6fa47ac2b0e1e7ca970acf0 01-May-2015 Dmitriy Ivanov <dimitry@google.com> Refactoring: move VersionTracker to link_image

Use one instance of VersionTracker per link (instead of 2).

Change-Id: I6860013df65f5969975c82ebdae8bd90a82e0a82
114bd835a756f782c119ed7f76b6cacb2cd723dc 01-May-2015 Dmitriy Ivanov <dimitry@google.com> Refactoring: extract lookup_version_info(..)

Change-Id: I47f9c21a1738dc520fd83281c8227dc3a7e79650
(cherry picked from commit 31b408d2c2e070c35838e7859ca4a4e5eb0c45fc)
31b408d2c2e070c35838e7859ca4a4e5eb0c45fc 01-May-2015 Dmitriy Ivanov <dimitry@google.com> Refactoring: extract lookup_version_info(..)

Change-Id: I47f9c21a1738dc520fd83281c8227dc3a7e79650
e97d519a6b5d5f3272a0c851dff7bcf1f8ac0157 29-Apr-2015 Dmitriy Ivanov <dimitry@google.com> Fix mips relocation to use load_bias as intended

Bug: http://b/20658994
Change-Id: I5a15605fe34db359e26d563e13841ae993083c4a
(cherry picked from commit 0373d4f47342e0a6f146af9023a146b0b707442b)
0373d4f47342e0a6f146af9023a146b0b707442b 29-Apr-2015 Dmitriy Ivanov <dimitry@google.com> Fix mips relocation to use load_bias as intended

Bug: http://b/20658994
Change-Id: I5a15605fe34db359e26d563e13841ae993083c4a
18870d350c29c83bdcecbe5cf3715b2c800275f7 22-Apr-2015 Dmitriy Ivanov <dimitry@google.com> Always use signed leb128 decoder

Relocation packer no longer encodes relocation tables
using unsigned leb128: https://android-review.googlesource.com/147745

Bug: http://b/18051137
Change-Id: I620b7188e5f3dd9d5123431aa1fc7feca76be607
2a815361448d01b0f4e575f507ce31913214c536 09-Apr-2015 Dmitriy Ivanov <dimitry@google.com> Support symbol versioning

Bug: http://b/20139821
Change-Id: I64122a0fb0960c20b2ce614161b7ab048456b681
aae859cc3ca127d890e853cbf12b731e05624a22 31-Mar-2015 Dmitriy Ivanov <dimitry@google.com> Add realpath for soinfo

This change adds realpath to soinfo and
extends limit on filenames from 128 to PATH_MAX.

It also removes soinfo::name field, linker uses
dt_soname instead.

Bug: http://b/19818481
Bug: https://code.google.com/p/android/issues/detail?id=80336
Change-Id: I9cff4cb5bda3ee2bc74e1bbded9594ea7fbe2a08
20d89cb5b0d5eb7546a8fe8da44bbd91564dbdda 31-Mar-2015 Dmitriy Ivanov <dimitry@google.com> Fix long lines and replace macros with functions.

Change-Id: I4e1cab488d5b2c8e4289da617350a86e72a4ba12
18a6956b76a071097fc658c5fe13ef010e31864a 05-Feb-2015 Dmitriy Ivanov <dimitry@google.com> Add support for packed relocations.

Change-Id: I796a4ce86d3fccb8361c19889419c96147ee3c9f
fa26eee77685e8dee7986e62a7d263003f5bd25a 04-Feb-2015 Dmitriy Ivanov <dimitry@google.com> Refactoring: introduce reloc_iterators

Replace rel/rela array with reloc_iterators.

Change-Id: I6165d062e0390b6bc60da2e8279aabbedf828ec9
db3078d97b57224c2c845cefbd46adc77fadfb37 28-Jan-2015 Nikola Veljkovic <Nikola.Veljkovic@imgtec.com> Fix mips64 build. Replace explicit cast with static_cast

Change-Id: Ib08fbe8bb832884a3eb33904fe4d490759116cb2
114ff69f1753c7fe4d749f8fb0c082b80e0d43f4 14-Jan-2015 Dmitriy Ivanov <dimitry@google.com> Refactoring: move mips reloc to separate method

Change-Id: I712614853e3f0e515f5c2bdd8f0aaa5feeae8e55