- Mar 19, 2010
-
-
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
-
Daniel Dunbar authored
llvm-svn: 97984
-
Daniel Dunbar authored
llvm-svn: 97983
-
- Feb 23, 2010
-
-
Kevin Enderby authored
With the compiler changed to use EmitCodeAlignment() it does change the functionality. But X86 assembly code assembled with llvm-mc does not change its output. For that we will eventually change the assembler frontend to detect a '.align x, 0x90' when used in a section that 'hasInstructions' and use EmitCodeAlignment, but will wait until we have better target hooks. llvm-svn: 96988
-
Kevin Enderby authored
to be aligned with optimal nops. This patch does not change any functionality and when the compiler is changed to use EmitCodeAlignment() it should also not change the resulting output. Once the compiler change is made and everything looks good the next patch with the table of optimal X86 nops will be added to WriteNopData() changing the output. There are many FIXMEs in this patch which will be removed when we have better target hooks (coming soon I hear). llvm-svn: 96963
-
- Feb 18, 2010
-
-
Daniel Dunbar authored
llvm-svn: 96532
-
- Feb 17, 2010
-
-
Duncan Sands authored
cases that are not part of the enum. llvm-svn: 96477
-