• Home
  • History
  • Annotate
  • only in /frameworks/rs/cpu_ref/linkloader/
History log of /frameworks/rs/cpu_ref/linkloader/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
340f54c0eb3cd71bc12b993f98cd94e1a2a7e6dc 30-Sep-2014 Stephen Hines <srhines@google.com> Add missing <memory> include for std::unique_ptr.

Bug: 14416410
Change-Id: I96055b34bf497bceead776ec956a0b5b0dd817c3
nclude/ELFHeader.h
nclude/ELFObject.h
59886ba8f9bd4375bca1b82fe245696dfb383716 28-Jul-2014 Tim Murray <timmurray@google.com> Fix relocation issue for AArch64.

Change-Id: Ie10563b6a1ea894c45076480b123dcc2a854b5a5
nclude/impl/ELFObject.hxx
d282991c78d1fd79a222c5f114e623da255ba8a0 17-Jul-2014 Stephen Hines <srhines@google.com> Update RS for LLVM rebase to r212749.

This is mostly s/LLVM::OwningPtr/std::unique_ptr/.

Change-Id: I393f801e0afb867aa262c004844c2542d6d12da4
ndroid/librsloader.cpp
nclude/ELFHeader.h
nclude/ELFObject.h
nclude/ELFReloc.h
nclude/ELFSection.h
nclude/ELFSectionBits.h
nclude/ELFSectionHeader.h
nclude/ELFSectionHeaderTable.h
nclude/ELFSymbol.h
nclude/impl/ELFObject.hxx
nclude/impl/ELFReloc.hxx
nclude/impl/ELFSectionHeader.hxx
nclude/impl/ELFSectionHeaderTable.hxx
nclude/impl/ELFSectionNoBits.hxx
nclude/impl/ELFSectionProgBits.hxx
nclude/impl/ELFSectionRelTable.hxx
nclude/impl/ELFSectionStrTab.hxx
nclude/impl/ELFSectionSymTab.hxx
nclude/impl/ELFSymbol.hxx
ain.cpp
8817e3ebd67635810000de8898afee615a674760 24-Jul-2014 Dave Allison <dallison@google.com> Fix linker veneer for aarch64 in renderscript

Fix to ldr instruction encoding for loading target address.
Also adds a debug print for future debug (default is off)

Bug: 16031597
Change-Id: Ibe47226d9f95e7982dcbbf559389e927c48aed3d
nclude/impl/ELFObject.hxx
ib/StubLayout.cpp
8d50174ff0e80bc3846f9dfd6f7d154fc4949db4 26-May-2014 Logan Chien <tzuhsiang.chien@gmail.com> Fix Windows SDK build.

* Use gcc instead of clang in order to get proper exception support.
* Use libstdc++ instead of libc++ since gcc does not support _Atomic.
* Fix various 32/64 typing in linkloader.

Change-Id: I34abcf1e9fa98633e0fd35b4e1b71a0d5389008a
ndroid/librsloader.cpp
nclude/impl/ELFObject.hxx
29dec29b96f513ceaa06ec1a8c422579a0a3a320 13-Jun-2014 Xiaofei Wan <xiaofei.wan@intel.com> Resolve R_X86_64_PC32 relocation type in RS.

Add stub when offset is out of range in x86_64

Change-Id: I7ad4879545971cd3ce59b8634c943bf4ee723fd8
Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
nclude/impl/ELFObject.hxx
1109ae5cbbebb4922aba0ae84cd859c6695a6184 13-Jun-2014 Stephen Hines <srhines@google.com> Merge "Add stub for x86 & x86_64."
72151aac81a3cc92b9777aaa9b80f31a4ce9fcf7 12-Jun-2014 Xiaofei Wan <xiaofei.wan@intel.com> Add stub for x86 & x86_64.

Add stub support for x86, this will be used in x86 & x86_64 RS relocation.

Change-Id: Id5d1cc0679b43348a4f66707c21c6bdf85a3a7e4
Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
nclude/ELFSectionProgBits.h
nclude/StubLayout.h
ib/StubLayout.cpp
77867c3e8dbad29699db85099551004d9af560bf 12-Jun-2014 Dave Allison <dallison@google.com> Fix CALL26/JUMP26 relocations for AARCH64

This fixes the code to relocate CALL26 and JUMP26 AARCH64 relocations. It will
jump directly to the target address if it is in range, otherwise it will use
a linker veneer (stub).

Change-Id: I816de505b95a5797e1ba3bf1023dfc24484e5da8
nclude/impl/ELFObject.hxx
nclude/impl/ELFSectionProgBits.hxx
d25f7a0a19446fa3d0c20fcf375e11e3fb5d1a0a 09-Jun-2014 Dave Allison <dallison@google.com> Add R_AARCH64_ADD_ABS_LO12_NC relocation to RS linkloader.

Add the missing relocation.
Also add R_AARCH64_LDST8_ABS_LO12_NC as I noticed this was missing too.

Bug: 15448747
Change-Id: I6e79017e8ef659eb8913347c4eacb5ff0ef008a6
nclude/impl/ELFObject.hxx
723ba16bac04e65c147742fa08ae2b87da3c0fd5 20-May-2014 Dave Allison <dallison@google.com> Add aarch64 relocations

This adds missing aarch64 relocations for the RS linker.

Bug: 15020895
Change-Id: Ibcd8537426c57247ac6f7cbc358bfc9b78546249
nclude/impl/ELFObject.hxx
dc061e48d5b17d14cfd18c170b4331e67d857475 30-Apr-2014 Stephen Hines <srhines@google.com> Switch to __builtin___clear_cache(), since __clear_cache is deprecated.

Change-Id: Ib6ab398b39c72365dfa81c467bf6f56326f4097a
tils/flush_cpu_cache.h
0715b383c2d121de12af5bdcba5183edd753f523 21-Apr-2014 Stephen Hines <srhines@google.com> Skip the .ARM.exidx section, since it is currently unused.

Change-Id: I454e4cf311a3eed5cc3b1f4398bdbc7976a0d430
nclude/impl/ELFObject.hxx
6cdb84d219baf95287e223c8d078c1852fa1a29a 17-Apr-2014 Tim Murray <timmurray@google.com> Fix ARM64 build.

Change-Id: Ic947b16baaea22a0a6ad02da938ea48b986b2f0e
nclude/impl/ELFObject.hxx
db2ffd2e9c7b7949905621e55a73d3431cf4fc90 04-Apr-2014 WeiTang <wei.a.tang@intel.com> Enable linker loader support for 64bit elf object

Change-Id: I6425c427d6a9eddd30e44abf595601180ca52eba

Conflicts:
cpu_ref/linkloader/include/impl/ELFObject.hxx
ndroid/librsloader.cpp
nclude/impl/ELFObject.hxx
cc141397f74536754b9ca6d847f7385b38f92b50 16-Apr-2014 Tim Murray <timmurray@google.com> Merge "Resolve x86_64 relocations in RS."
30e2a4c8d848bc788cc5600e6b929b4f761f3f03 28-Mar-2014 Dave Allison <dallison@google.com> Add support for AARCH64 relocations to the RS linkloader.

This is still a WIP until we can verify what relocations are actually used by
the 64 bit compiler. This covers ABS, PREL, CALL and JUMP relocations only for
now.

This has not been tested but does build.

Change-Id: Iaa85c49e96a63e8c4eef225b8cab619a1cdb861f
nclude/ELFObject.h
nclude/ELFSectionProgBits.h
nclude/StubLayout.h
nclude/impl/ELFObject.hxx
nclude/impl/ELFSectionRelTable.hxx
ib/ELFHeader.cpp
ib/StubLayout.cpp
41de3047284411afde00707e0a98fe2949bc04ec 20-Mar-2014 Xiaofei Wan <xiaofei.wan@intel.com> Resolve x86_64 relocations in RS.

Change-Id: I7e32aa150bd04d6b48afd656291a85b0ca5c182d
Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
nclude/impl/ELFObject.hxx
72f5f8c0e7833d9a4f0288700256982dc7127e23 11-Mar-2014 Narayan Kamath <narayan@google.com> Move renderscript over to __clear_cache (compiler-rt).

bug: 12965705

Change-Id: Ia9917a4aff377fd43a4e71c71a886639763eb250
tils/flush_cpu_cache.h
f8852d0494a260c583795a96a2a06c49b86a9b10 30-Jan-2014 Ian Rogers <irogers@google.com> Work-around 64bit build issues.

Log errors and abort as a temporary work-around for 64bit support.

Change-Id: I7f6b483d671189bd12ae0ef79515fcdd871eba17
ndroid/librsloader.cpp
nclude/impl/ELFObject.hxx
e6b3d13534186d08f14d0753c26c535825ffdec8 08-Aug-2013 Stephen Hines <srhines@google.com> Move mmanWindows.* to proper locations.

Change-Id: If7044224de65735e257cf90d0c3bf655c31dd4d5
nclude/mmanWindows.h
ib/mmanWindows.cpp
2644c42ddc16ef2515fc2e566ad2f60f1a1b47c6 03-Aug-2013 Raphael Moll <raphael@google.com> am 9b21cf51: am 1033b597: Fix Windows build issues for librsloader.

* commit '9b21cf5166b9ce3ac01c98d5122198dbde972b24':
Fix Windows build issues for librsloader.
6ba6c664f773a53d7b6ddaf2c216d11404fd18fc 13-Jul-2013 Stephen Hines <srhines@google.com> Move linkloader into cpu_ref/ instead of driver/.

This library is actually part of the reference implementation and not part of
the direct instantiation in driver/. Having this code live in driver/ (for
partners to modify/replace) is misleading.

Change-Id: Ifba4575ff3bcdd09a3839384cfb26c2b0bf9d5fa
ndroid/librsloader.cpp
ndroid/librsloader.h
ndroid/test-librsloader.c
nclude/ELF.h
nclude/ELFHeader.h
nclude/ELFObject.h
nclude/ELFReloc.h
nclude/ELFSection.h
nclude/ELFSectionBits.h
nclude/ELFSectionHeader.h
nclude/ELFSectionHeaderTable.h
nclude/ELFSectionNoBits.h
nclude/ELFSectionProgBits.h
nclude/ELFSectionRelTable.h
nclude/ELFSectionStrTab.h
nclude/ELFSectionSymTab.h
nclude/ELFSymbol.h
nclude/ELFTypes.h
nclude/GOT.h
nclude/MemChunk.h
nclude/StubLayout.h
nclude/impl/ELFHeader.hxx
nclude/impl/ELFObject.hxx
nclude/impl/ELFReloc.hxx
nclude/impl/ELFSection.hxx
nclude/impl/ELFSectionBits.hxx
nclude/impl/ELFSectionHeader.hxx
nclude/impl/ELFSectionHeaderTable.hxx
nclude/impl/ELFSectionNoBits.hxx
nclude/impl/ELFSectionProgBits.hxx
nclude/impl/ELFSectionRelTable.hxx
nclude/impl/ELFSectionStrTab.hxx
nclude/impl/ELFSectionSymTab.hxx
nclude/impl/ELFSymbol.hxx
ib/ELFHeader.cpp
ib/ELFSectionHeader.cpp
ib/ELFSymbol.cpp
ib/ELFTypes.cpp
ib/GOT.cpp
ib/MemChunk.cpp
ib/StubLayout.cpp
ain.cpp
tils/flush_cpu_cache.h
tils/helper.cpp
tils/helper.h
tils/raw_ostream.cpp
tils/raw_ostream.h
tils/rsl_assert.cpp
tils/rsl_assert.h
tils/serialize.h
tils/traits.h