aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/ELFObjectWriter.cpp
AgeCommit message (Expand)Author
2010-10-17Fix a typo and silence unused variable warnings in -Asserts build.Benjamin Kramer
2010-10-16Add a MCObjectFormat class so that code common to all targets that use aRafael Espindola
2010-10-15Refactor alias handling to AliasedSymbol.Rafael Espindola
2010-10-15Refactor code a bit and avoid creating unnecessary entries in the stringRafael Espindola
2010-10-14Remove some code duplication.Rafael Espindola
2010-10-06Another case of 256 sections not being enough :-)Rafael Espindola
2010-10-06Get binding and visibility info from the the alias, but Type from the symbolRafael Espindola
2010-10-06If a symbol is global, reloc against it even if it is in a mergeable section.Rafael Espindola
2010-10-06Make sure weak symbols are listed after the local ones.Rafael Espindola
2010-10-06Correctly handle GOTPCREL relocations.Rafael Espindola
2010-10-05Use a relocation against the symbol if it is a PLT and the symbol is in anotherRafael Espindola
2010-10-05Implement more alias cases.Rafael Espindola
2010-10-05256 sections should be enough for anyone...Rafael Espindola
2010-10-05Don't crash in a strange .size directive.Rafael Espindola
2010-10-05Implement a simple alias case and refactor the code a bit so that theRafael Espindola
2010-10-05Produce a undefined reference to _GLOBAL_OFFSET_TABLE_ when needed.Rafael Espindola
2010-10-05On ELF we need to know which symbols are used in relocations to decide ifRafael Espindola
2010-10-04Implement ELF::R_X86_64_GOTPCREL.Rafael Espindola
2010-10-04Move isFixupKindX86PCRel.Rafael Espindola
2010-10-04Produce a R_X86_64_PLT32 when needed.Rafael Espindola
2010-10-04Produce a R_X86_64_GOT32 when needed.Rafael Espindola
2010-10-04Include the section address in the computation of the relocation.Rafael Espindola
2010-10-04Correctly compute the relocation when it is not in the first fragment.Rafael Espindola
2010-10-03Implement a very basic PIC case.Rafael Espindola
2010-09-30Factor some logic into ShouldRelocOnSymbol. This simplifies the code andRafael Espindola
2010-09-30Correctly produce R_X86_64_32 or R_X86_64_32S.Rafael Espindola
2010-09-30Make it possible for the MCObjectWriter to decide if a given fixup is fullyRafael Espindola
2010-09-28On elf, undefined symbols can start with .L.Rafael Espindola
2010-09-27Write relocations in the end of the file. This matches what gas does andRafael Espindola
2010-09-27Factor symbol value computation into a function.Rafael Espindola
2010-09-25Move ELF to HasReliableSymbolDifference=true. Also take the opportunity to putRafael Espindola
2010-09-24Reapply 114678 and 114667. Reverting them did not fix the bot:Rafael Espindola
2010-09-24Revert 114678 and 114667 to see ifRafael Espindola
2010-09-23Correctly handle weak undefined symbols. Before we would get a invalid bindingRafael Espindola
2010-09-23Correctly compute the offset of the symbol. Forgot these bits from theRafael Espindola
2010-09-23Represent relocations against local symbols as relocations against the sectionRafael Espindola
2010-09-23Fix the FIXME.Rafael Espindola
2010-09-22Fix typo and add a FIXME.Rafael Espindola
2010-09-21Revert unrelated change that was accidentally included in the previous commit.Rafael Espindola
2010-09-21Implement support for .local and its "interesting" interactions with .comm.Rafael Espindola
2010-09-20Produce a R_X86_64_32 when the value is >=0.Rafael Espindola
2010-09-18Make sure the STT_FILE symbol is the first one in the symbol table.Rafael Espindola
2010-09-17Avoid relocations in a common case.Rafael Espindola
2010-09-16Print the address of sections as 0 and create the metadata sections in theRafael Espindola
2010-09-09MCELF: Write relocation fragments in the right endian.Benjamin Kramer
2010-09-09Make ELF OS ABI dependent on the OS from target triple.Roman Divacky
2010-09-08ELF_STB_Local is 0 so setting and checking it must be done speciallyRoman Divacky
2010-09-08Unresolved weak symbols have value equal zero.Roman Divacky
2010-09-06MCELF: Align symtab, relocation sections and section headers properly. Patch ...Benjamin Kramer
2010-08-31Allow creation of SHT_NULL sections, from Roman Divacky.Benjamin Kramer