summaryrefslogtreecommitdiffstats
path: root/runtime/elf_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* ART: Allow to compile interpret-only mips64 filesAndreas Gampe2015-01-151-0/+1
| | | | | | | | | | | | Include enough infrastructure to allow cross-compiling for mips64, interpret-only. This includes the instruction-set-features, frame size info and utils assembler. Also add a disassembler for oatdump, and support in patchoat. Note: the runtime cannot run mips64, yet. Change-Id: Id106581fa76b478984741c62a8a03be0f370d992
* ART: Introduce Mips32 R6Andreas Gampe2015-01-131-0/+1
| | | | | | | Add an instruction-set feature for Mips R6. Currently restricted to the interpreter. Change-Id: Ic6d888e135bc87340229a0543dd94d0c1e863edd
* Tidy up logging.Ian Rogers2014-10-221-0/+4
| | | | | | | | | | | | | | | | | Move gVerboseMethods to CompilerOptions. Now "--verbose-methods=" option to dex2oat rather than runtime argument "-verbose-methods:". Move ToStr and Dumpable out of logging.h, move LogMessageData into logging.cc except for a forward declaration. Remove ConstDumpable as Dump methods are all const (and make this so if not currently true). Make LogSeverity an enum and improve compile time assertions and type checking. Remove log_severity.h that's only used in logging.h. With system headers gone from logging.h, go add to .cc files missing system header includes. Also, make operator new in ValueObject private for compile time instantiation checking. Change-Id: I3228f614500ccc9b14b49c72b9821c8b0db3d641
* Some code clean-up.Ian Rogers2014-10-161-2/+2
| | | | Change-Id: I4b745fd5298cd61c793e3b57514b48347bd66c0e
* Add patchoat tool to Art.Alex Light2014-07-071-0/+97
| | | | | | | | | | | | | Add a new executable called patchoat to art. This tool takes already compiled images and oat files and changes their base address, acting as a cheap form of relocation. Add a --include-patch-information flag to dex2oat and code to add required patch information to oat files created with the quick compiler. Bug: 15358152 Change-Id: Ie0c580db45bb14ec180deb84930def6c3628d97d
* Add a local elf.hBrian Carlstrom2014-07-021-2/+2
| | | | Change-Id: Ic2d449bfdd3c95e393c083c9e1022adc4e9c06b8
* Fix build by converting from bionic to elfutils version of elf.hBrian Carlstrom2014-06-111-0/+2
| | | | Change-Id: I70a3b6fedae6d290a4f01d4ae8fdd726b8aaa90f
* Remove deprecated WITH_HOST_DALVIK.Ian Rogers2014-06-101-3/+2
| | | | | | | | | | | | | | | | | | | | | | | Bug: 13751317 Fix the Mac build: - disable x86 selector removal that causes OS/X 10.9 kernel panics, - madvise don't need does zero memory on the Mac, factor into MemMap routine, - switch to the elf.h in elfutils to avoid Linux kernel dependencies, - we can't rely on exclusive_owner_ being available from other pthread libraries so maintain our own when futexes aren't available (we can't rely on the OS/X 10.8 hack any more), - fix symbol naming in assembly code, - work around C library differences, - disable backtrace in DumpNativeStack to avoid a broken libbacktrace dependency, - disable main thread signal handling logic, - align the stack in stub_test, - use $(HOST_SHLIB_SUFFIX) rather than .so in host make file variables. Not all host tests are passing on the Mac with this change. dex2oat works as does running HelloWorld. Change-Id: I5a232aedfb2028524d49daa6397a8e60f3ee40d3
* AArch64: Add arm64 runtime support.Stuart Monteith2014-03-191-0/+2
| | | | | | | | | Adds support for arm64 to ART. Assembler stubs are sufficient for down calls into interpreter. JNI compiler and generics are not finished. Basic Generic JNI functionality. Change-Id: I4a07c79d1e037b9f5746673480e32cf456867b82
* Remove dependency on llvm/Support/ELF.h by using linux's elf.h.Nicolas Geoffray2014-02-191-0/+66
Change-Id: Iefe66af9958641ac7f08fdc22f438d976e5b4d54