- Mar 22, 2010
-
-
Daniel Dunbar authored
llvm-svn: 99217
-
Daniel Dunbar authored
MC: Change MCObjectWriter::RecordRelocation to take an MCFragment (instead of a MCDataFragment). Object files should only need the generic MCFragment features. llvm-svn: 99205
-
Daniel Dunbar authored
llvm-svn: 99203
-
Daniel Dunbar authored
llvm-svn: 99202
-
- Mar 19, 2010
-
-
Daniel Dunbar authored
- MCAssembler is now object-file independent, although we will surely need more work to fully support ELF/COFF. llvm-svn: 98955
-
Daniel Dunbar authored
llvm-svn: 98954
-
Daniel Dunbar authored
llvm-svn: 98953
-
Daniel Dunbar authored
llvm-svn: 98952
-
Daniel Dunbar authored
llvm-svn: 98950
-
Daniel Dunbar authored
llvm-svn: 98949
-
Daniel Dunbar authored
llvm-svn: 98948
-
Daniel Dunbar authored
MCAssembler: Move ApplyFixup to the TargetAsmBackend, this is a target specific not object writer specific task. llvm-svn: 98947
-
Daniel Dunbar authored
MC/Mach-O: Lift the fixup evaluation and application up (to the same place), and eliminate MCAsmFixup::FixedValue. llvm-svn: 98944
-
Daniel Dunbar authored
MC/Mach-O: Factor out ExecutePostLayoutBinding, to separate the post-layout changes the object writer may need to make to the assembler from the actual .o writing. llvm-svn: 98943
-
Daniel Dunbar authored
MC/Mach-O: Lift relocation emission logic a bit higher to separate evaluation / relocation handling from the actual .o writing. llvm-svn: 98942
-
Daniel Dunbar authored
MC/Mach-O: Add isScatteredFixupFullyResolved, which implements the correct algorithm (used on x86_64) for determining whether an evaluated fixup is fully resolved (doesn't need relocation). - Test cases will follow, once we have x86_64 relocation support. llvm-svn: 98926
-
Daniel Dunbar authored
- These find the defining symbol which identifies the containing atom for a symbol or address. They are currently very slow, but will be eliminated eventually. llvm-svn: 98925
-
Daniel Dunbar authored
llvm-svn: 98924
-
Daniel Dunbar authored
MC/Mach-O: Factor out isSymbolLinkerVisible method; "linker visible" is a made up term to refer to non-temporary labels + temporary labels in sections-which-require symbols. For Darwin, it corresponds to symbols which effectively define an atom. llvm-svn: 98923
-
- Mar 18, 2010
-
-
Daniel Dunbar authored
MCValue: Change to holding MCSymbolRefExprs instead of MCSymbols, we will need this for accessing to symbol modifiers. llvm-svn: 98791
-
- Mar 15, 2010
-
-
Daniel Dunbar authored
MC/Mach-O/x86_64: Temporary labels in cstring sections require symbols (and external relocations, but we don't have x86_64 relocations yet). llvm-svn: 98583
-
Daniel Dunbar authored
llvm-svn: 98582
-
- Mar 13, 2010
-
-
Daniel Dunbar authored
llvm-svn: 98456
-
Daniel Dunbar authored
llvm-svn: 98454
-
Daniel Dunbar authored
relative to the fragment address, not its offset. This was masked by the text section normally being at address 0. llvm-svn: 98420
-
- Mar 12, 2010
-
-
Daniel Dunbar authored
- The implementation is currently very brain dead and inefficient, but I have a clear plan on how to fix it. - The good news is, it works and correctly assembles 403.gcc (when built with Clang, at '-Os', '-Os -g', and '-O3'). Even better, at '-Os' and '-Os -g', the resulting binary is exactly equivalent to that when built with the system assembler. So it probably works! :) llvm-svn: 98396
-
Daniel Dunbar authored
llvm-svn: 98381
-
- Mar 11, 2010
-
-
Daniel Dunbar authored
llvm-svn: 98266
-
Daniel Dunbar authored
MC/Mach-O: Implement "absolutizing" semantics of .set, by evaluating the assembly time value of variables. llvm-svn: 98241
-
Daniel Dunbar authored
- Also, drop the current location part of AsmLayout, I think I prefer to implement this via explicit symbols. llvm-svn: 98240
-
Daniel Dunbar authored
llvm-svn: 98222
-
- Mar 10, 2010
-
-
Daniel Dunbar authored
llvm-svn: 98187
-
Daniel Dunbar authored
llvm-svn: 98120
-
Daniel Dunbar authored
- I'm not sure why, but this is what 'as' does. llvm-svn: 98115
-
- Mar 09, 2010
-
-
Daniel Dunbar authored
MC/Mach-O: For PCrel relocations, we need to compensate for the PCrel adjustment when determining if we need a scattered relocation. llvm-svn: 98082
-
Daniel Dunbar authored
llvm-svn: 98081
-
Daniel Dunbar authored
llvm-svn: 98080
-
Daniel Dunbar authored
llvm-svn: 98028
-
Daniel Dunbar authored
llvm-svn: 98027
-
- Mar 08, 2010
-
-
Daniel Dunbar authored
llvm-svn: 97991
-