Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
a3a2dfd4a2a8265a9a0c962cb776e2e6ba123956
/
lib
/
MC
/
ELFObjectWriter.cpp
7aabcb1
Also create a shndx even if there are no symbols. This lets us test
by Nick Lewycky
· 13 years ago
d2fdb4a
Don't emit the symbol table entry for the .symtab_shndx section either.
by Nick Lewycky
· 13 years ago
4a8d43e
Remove extraneous curlies. No functionality change.
by Nick Lewycky
· 13 years ago
b3429d3
Don't emit a shstrtabindex in the reserved range. Spotted by inspection and
by Nick Lewycky
· 13 years ago
aaae3f6
Clarify/fix typo. No functionality change.
by Nick Lewycky
· 13 years ago
291512f
Add definition of MipsELFObjectWriter.
by Akira Hatanaka
· 13 years ago
2a66cea
Introduce adjustFixupOffset that adjusts the fixup offset of a relocation.
by Roman Divacky
· 13 years ago
bbf9c4a
Add an assert to check that the Addend fits the file format.
by Rafael Espindola
· 13 years ago
e651983
Fix http://llvm.org/bugs/show_bug.cgi?id=10568
by Jason W Kim
· 13 years ago
c9c0cc1
Comment out the PPC relocation offset adjustment. It must be done differently.
by Roman Divacky
· 13 years ago
2c0d69f
Sketch out PowerPC ELF writer. This is enough to get clang -integrated-as
by Roman Divacky
· 13 years ago
78c10ee
Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend.
by Evan Cheng
· 13 years ago
8c3fee5
Refactor X86 target to separate MC code from Target code.
by Evan Cheng
· 13 years ago
a7cfc08
Move TargetAsmParser.h TargetAsmBackend.h and TargetAsmLexer.h to MC where they belong.
by Evan Cheng
· 13 years ago
be74029
Sink ARM mc routines into MCTargetDesc.
by Evan Cheng
· 13 years ago
bebd44a
Remove an uneeded switch - Turns out reloc results are identical w/o the switch. (face+palm)
by Jason W Kim
· 13 years ago
378e0ec
Produce an undefined reference to _GLOBAL_OFFSET_TABLE_ if we have a
by Rafael Espindola
· 13 years ago
e0b8703
Add support for @GOTPTOFF in i386 mode.
by Nick Lewycky
· 13 years ago
298c8e1
fixes target address tBL and tBLX and sets relocation type
by Rafael Espindola
· 13 years ago
97c07da
Add a FIXME reminder to remove ForceARMElfPIC switch.
by Jason W Kim
· 13 years ago
6469540
sets bit 0 of the function address of thumb function in .symtab
by Rafael Espindola
· 13 years ago
6dcd413
Remove an unused variable and move a couple others inside DEBUG.
by Matt Beaumont-Gay
· 13 years ago
e964d11
Address the last bit of relocation flag related divergence betweeen
by Jason W Kim
· 13 years ago
debd7e4
Simplify the handling of pcrel relocations on ELF. Now we do the right thing
by Rafael Espindola
· 13 years ago
d5321da
Micro optimization and improved similarity with gas' output:
by Rafael Espindola
· 13 years ago
7c18fa8
Write the section table and the section data in the same order that
by Rafael Espindola
· 13 years ago
24b17c6
Split MCEELFStreamer and ELFObjectWriter into .h and .cpp files, so that other components can use them.
by Jan Sjödin
· 14 years ago
78c1e17
PR9352: Always emit a relocation for weak symbols. Not emitting relocations
by Eli Friedman
· 14 years ago
2ddfd95
Make all static functions become static class methods. Move shared (duplicated) functions to new MCELF class.
by Jan Sjödin
· 14 years ago
21451e5
Put in the symbol table symbols only used in a .globl statement. Fixes PR9292.
by Rafael Espindola
· 14 years ago
d45e8bf
Handle FK_PCRel_1 and add a test case for this and FK_PCRel_4.
by Joerg Sonnenberger
· 14 years ago
908159b
Gas is very inconsistent about when a relaxation/relocation is needed. Do
by Rafael Espindola
· 14 years ago
953a2a3
Teach ARM/MC/ELF about gcc compatible reloc output to get past odd linkage
by Jason W Kim
· 14 years ago
2d7a53a
Teach ARM/MC/ELF about EF_ARM_EABI_VERSION. The magic number is set to
by Jason W Kim
· 14 years ago
685c350
by Jason W Kim
· 14 years ago
96aa78c
Add support for the --noexecstack option.
by Rafael Espindola
· 14 years ago
0cf5e3d
Delay the creation of eh_frame so that the user can change the defaults.
by Rafael Espindola
· 14 years ago
1c13026
Remove more duplicated code.
by Rafael Espindola
· 14 years ago
f3eb3bb
Completed :lower16: / :upper16: support for movw / movt pairs on Darwin.
by Evan Cheng
· 14 years ago
1d86617
Style clean up - break up the breaks.
by Jason W Kim
· 14 years ago
86a97f2
1. Support ELF pcrel relocations for movw/movt:
by Jason W Kim
· 14 years ago
7a54997
Fix PR8878.
by Rafael Espindola
· 14 years ago
c3a561c
Handle reloc_riprel_4byte_movq_load. Should make the bots happy.
by Rafael Espindola
· 14 years ago
3a83c40
Add support for the same encodings of the personality function that gnu as
by Rafael Espindola
· 14 years ago
9897661
Add support for @note. Patch by Jörg Sonnenberger.
by Rafael Espindola
· 14 years ago
fea753b
Merge IsFixupFullyResolved and IsSymbolRefDifferenceFullyResolved. We now
by Rafael Espindola
· 14 years ago
f012124
Simplify the handling of .size expressions.
by Rafael Espindola
· 14 years ago
d149186
Set the value of absolute symbols.
by Roman Divacky
· 14 years ago
3132780
Merge isAbsolute into IsSymbolRefDifferenceFullyResolved.
by Rafael Espindola
· 14 years ago
1ec5bd3
Remove the MCObjectFormat class.
by Rafael Espindola
· 14 years ago
bff66a8
Move some data to the TargetWriter.
by Rafael Espindola
· 14 years ago
31f3578
Store and free the TargetObjectWriter.
by Rafael Espindola
· 14 years ago
6024c97
Stub out explicit MCELFObjectTargetWriter interface.
by Rafael Espindola
· 14 years ago
285b3e5
Move createELFObjectWriter to its own header.
by Rafael Espindola
· 14 years ago
127a6a4
Use getFixupKindInfo to implement isFixupKindPCRel, ELF version.
by Rafael Espindola
· 14 years ago
1f3662a
MC/ObjectWriter: Add a new IsSymbolRefDifferenceFullyResolved target format specific hook.
by Daniel Dunbar
· 14 years ago
5d2477c
MC/Assembler: Strip out object writer arguments, now that it is always available
by Daniel Dunbar
· 14 years ago
f13743b
1. ARM/MC/ELF: A few more ELF relocs for .o
by Jason W Kim
· 14 years ago
3fa4c1d
First cut of ARM/MC/ELF PIC relocations.
by Jason W Kim
· 14 years ago
e246717
Thumb unconditional branch binary encoding. rdar://8754994
by Jim Grosbach
· 14 years ago
b492a7c
Rename CB/CBZ specific fixup accordingly.
by Jim Grosbach
· 14 years ago
a0871e7
ARM/MC/ELF TPsoft is now a proper pseudo inst.
by Jason W Kim
· 14 years ago
dff2f71
Support the "target" encodings for the CB[N]Z instructions.
by Bill Wendling
· 14 years ago
b8958b0
Add support for loading from a constant pool.
by Bill Wendling
· 14 years ago
85f2ecc
Sorry for such a large commit. The summary is that only MachO cares about the
by Rafael Espindola
· 14 years ago
662a816
Add fixup for Thumb1 BL/BLX instructions.
by Jim Grosbach
· 14 years ago
56a3990
Refactor ELFObjectWriter.
by Jason W Kim
· 14 years ago
f8803fe
Remove the getAddress getter, initialize Ordinal in the constructor and use
by Rafael Espindola
· 14 years ago
ffd902b
Add a getSymbolOffset method and use it in the ELF writer.
by Rafael Espindola
· 14 years ago
6db8a9f
The sections that the ELF object writer has to create are very simple and
by Rafael Espindola
· 14 years ago
dff84b0
Add support for binary encoding of ARM 'adr' instructions referencing constant
by Jim Grosbach
· 14 years ago
9d63d90
Add correct encodings for STRD and LDRD, including fixup support. Additionally, update these to unified syntax.
by Owen Anderson
· 14 years ago
fdbdaac
Fix a mised reloc rename spot.
by Jim Grosbach
· 14 years ago
85fed5e
ARM/MC/ELF relocation "hello world" for movw/movt.
by Jason W Kim
· 14 years ago
e04ed7e
Define generic 1, 2 and 4 byte pc relative relocations. They are common
by Rafael Espindola
· 14 years ago
2595873
Behave a bit more like gnu as and use the symbol (instead of the section)
by Rafael Espindola
· 14 years ago
1683fcc
Relocate with the symbol if the relocation is of kind NTPOFF.
by Rafael Espindola
· 14 years ago
1090742
Fixed some style issues (no _, no spc after !)
by Jason W Kim
· 14 years ago
28ef0a5
Make the <ARCH>ELFObjectWriter statics private
by Jason W Kim
· 14 years ago
ccbe000
Fix misplaced statics.
by Jason W Kim
· 14 years ago
858e750
Kill trailing whitespace
by Jason W Kim
· 14 years ago
4a511f0
Refactor the ELFRelocationEntry (pull up) and move the arch-specific statics to inside the class where it belongs.
by Jason W Kim
· 14 years ago
4b04713
Implement ELF object file writing support for the MBlaze backend. Its not perfect yet, but it works for many tests.
by Wesley Peck
· 14 years ago
12203cc
Handle PCRel relocations with absolute values. Fixes PR8656.
by Rafael Espindola
· 14 years ago
2c92085
A bit more of gnu as compatibility when handling relocations with aliases.
by Rafael Espindola
· 14 years ago
3285877
Fix compiler warnigns.
by Benjamin Kramer
· 14 years ago
94ed5fc
Change MCExpr::EvaluateAsRelocatableImpl of variables to return the original
by Rafael Espindola
· 14 years ago
d3443e9
Dovetail with Dan Dunbar's rework of ELFObjectWriter.
by Jason W Kim
· 14 years ago
1f52dfe
Move the logic to decide with which symbol we produce a relocation (if any) to
by Rafael Espindola
· 14 years ago
1f4f9e3
Handle a peculiar comdat case: Creating a section with an undefined
by Rafael Espindola
· 14 years ago
ab4a7af
Simplify getSymbolIndexInSymbolTable by setting the actual index of the symbols.
by Rafael Espindola
· 14 years ago
115a3dd
MC: Simplify Mach-O and ELF object writer implementations.
by Daniel Dunbar
· 14 years ago
1261a2f
MCELF: Copy the symbol name only if we're going to modify it.
by Benjamin Kramer
· 14 years ago
2ff9e83
Initial comdat implementation.
by Rafael Espindola
· 14 years ago
9302bd6
Make AliasedSymbol able to handle MCTargetExpr. They can get here if
by Rafael Espindola
· 14 years ago
03f1b74
Fix the symbol index of weak references. Also make RecordRelocation a bit
by Rafael Espindola
· 14 years ago
3f2d13c
Remove some explicit arguments to getELFSection. This is
by Rafael Espindola
· 14 years ago
c87a94a
Factor some code into WriteSection.
by Rafael Espindola
· 14 years ago
1d739a0
Update the section index map after we add the medatada sections.
by Rafael Espindola
· 14 years ago
4beee3d
Use SectionIndexMap in WriteSymbolTable to make it a little less brittle.
by Rafael Espindola
· 14 years ago
Next »