aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-30Fix comparison between signed and unsigned integer expressions ↵HEADmastermainPete Chou
[-Werror=sign-compare]. Change-Id: Icfd4133b73c62d1ac7c9b076e5c3959219bb0671
2014-12-30build: Accept arm64 target.Pete Chou
Change-Id: If7e687fc49548eba5a6735256b8978381668fd75
2014-10-16Merge branch 'master' of https://android.googlesource.com/toolchain/mclinker ↵Andrew Hsieh
into aosp Conflicts: m4/llvm.m4 Change-Id: I809c460cb338707818dff205979427af8fcd00ed
2014-10-16Add an option --enable-shrink-binary-size to configure.Ray Donnelly
This option could reduce the LLVM tools by "-fdata-sections, -ffunction-sections" and "--gc-sections". Note that with --enable-shrink-binary-size, your LLVM tools might not be able to load plugins (ex: LLVMPolly). The default is off to make NDK llvm tools support plugin. This commit mirrors two commits in the Android LLVM git repo, from release_33 branch: 1: Ray Donnelly <mingw.android@gmail.com> 6230037 Fixes for "Shrink binary sizes when cross-compiling." 2: Lai Wei-Chih <Robert.Lai@mediatek.com> 0190585 Add an option --enable-shrink-binary-size to configure.
2014-10-16Shrink binary size when cross-compiling.WenHan Gu
Add these flags in cross-compiling mode: CFLAGS="-Os -ffunction-sections -fdata-sections -fvisibility=hidden" CXXFLAGS="-Os -ffunction-sections -fdata-sections -fvisibility=hidden" LDFLAGS="-Wl,--gc-sections" Change-Id: I63e2df17711e669f828cd6008f4dc851690ab1dd Signed-off-by: WenHan Gu <Wenhan.gu@mediatek.com>
2014-10-07Revert "ARM: Fix exidx ordering."Pete Chou
This reverts commit 16c6eb74e234fc96ed81b2b09db14056f674a9d5.
2014-10-02lint: Fix style for backend RelocatorsDiana Chen
2014-10-02lint: Fix style for DebugString and MergedStringTableDiana Chen
2014-10-02test: Update golden filesDiana Chen
2014-10-02Fix build break after rebaseDiana Chen
2014-10-02[mips] Update MIPS golden files.Simon Atanasyan
2014-10-02Fix the indentationDiana Chen
2014-10-02debug info: Refine the flow of handling the .debug_str mergingDiana Chen
Move DebguString from Module to output .debug_str LDSection. The flow of handling debug string merging: 1. ObjectLinker::mergeSections - parse the input .debug_str sections and add the strings to DebugString merged table 2. ObjectLinker::preLayout - set the output offset of the debug strings and size the output section 3. ObjectLinker::relocation - apply the debug string offset accordings to corresponding relocations
2014-10-02arm: Refine error messageDiana Chen
2014-10-02debug info: Implement getDebugStringOffset and applyDebugStringOffset in ↵Diana Chen
backends 1. Add implementation in AArch64 and Mips32 2. Fix X86 and ARM functions. Currently we only support relocations against the .debug_str section symbol.
2014-10-02debug info: Fix DebugString::processRelocsDiana Chen
Record the relocation symbol against sections with DebugString kind, instead of the symbol name which is .debug_str.
2014-10-02debug info: Get and apply debug string offset in backend relocatorDiana Chen
1. Add Relocator::getDebugStringOffset and Relcoator::applyDebugStringOffset to get and apply the debug string offset accordings to the relocation type. 2. Implement getDebugStringOffset and applyDebugStringOffset in ARM and X86.
2014-10-02debug info: Handle the mergeable debug string tableDiana Chen
1. Add LDFileFormat::DebugString to denote the section .debug_str 2. Process relocations to get the debug strings and merge them 3. Apply the relocations against .debug_str to set the output offset of the strings after they have been merged. 4. Emit the merged debug string section.
2014-10-02debug info: Add DebugString and MergedStringTableDiana Chen
DebugString represents the debug string table, .debug_str, which the strings are mergeable. All the input .debug_str sections will be merged into one output section which each string is unique in the table. This can reduce the size of .debug_str.
2014-10-01Simplify Path::append().Pete Chou
2014-10-01Use memcpy instead of strcpy.Pete Chou
2014-10-01lint: Fix [readability/function] [3] errors.Diana Chen
2014-09-30Update COPYING and LICENSE.TXTPete Chou
2014-09-30Refine formatting.Pete Chou
2014-09-30lint: Fix [whitespace/comments] [4] errors.Pete Chou
2014-09-30lint: Fix [build/namespaces] [5] errorsDiana Chen
2014-09-30Fix header description.Pete Chou
2014-09-30GC Uncopyable.hPete Chou
Introduce two new macros: DISALLOW_COPY_AND_ASSIGN and DISALLOW_IMPLICIT_CONSTRUCTORS.
2014-09-30lint: Disable build/include_order filter.Pete Chou
LLVM include style is preferred. http://llvm.org/docs/CodingStandards.html#include-style
2014-09-30Reformatting change.Pete Chou
2014-09-30Fix spelling.Pete Chou
2014-09-30Remove unnamed namespace in header.Pete Chou
lint error: [build/namespaces] [4]
2014-09-29lint: Fix [build/namespaces] [5] errors for using namespace llvm.Pete Chou
2014-09-29Fix include order.Pete Chou
2014-09-29lint: Fix [build/include] [4] errors.Pete Chou
2014-09-29lint: Fix [whitespace/parens] [2] errors.Pete Chou
2014-09-29lint: Fix [whitespace/braces] [4] errors.Pete Chou
2014-09-29lint: Fix [whitespace/comments] [4] error.Pete Chou
2014-09-29lint: Fix [whitespace/semicolon] [5] errors.Pete Chou
2014-09-29lint : Fix [whitespace/blank_line] [3] errors.Pete Chou
2014-09-26lint: Fix [readability/casting [4] errors.Diana Chen
2014-09-26ARM: Fix exidx ordering.Pete Chou
2014-09-25Fix formatting of data array.Pete Chou
2014-09-25lint: Fix some [runtime/explicit] [5] errors.Pete Chou
2014-09-25Big reformatting changes!Pete Chou
Will continue to switch to google c++ style. http://google-styleguide.googlecode.com/svn/trunk/cppguide.html
2014-09-25Introduce cpplint(r138) as style checker.Pete Chou
2014-09-24Reformat header guards.Pete Chou
2014-09-23More style fix for targets.Pete Chou
2014-09-23Style fix.Pete Chou
2014-09-23Style fix for targets.Pete Chou