| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 119816
|
|
|
|
| |
llvm-svn: 119286
|
|
|
|
| |
llvm-svn: 114176
|
|
|
|
|
|
| |
python's %r.
llvm-svn: 113685
|
|
|
|
|
|
| |
rdar://8061602
llvm-svn: 113343
|
|
|
|
| |
llvm-svn: 104890
|
|
|
|
| |
llvm-svn: 104794
|
|
|
|
|
|
| |
and testcases accordingly.
llvm-svn: 104635
|
|
|
|
| |
llvm-svn: 104163
|
|
|
|
| |
llvm-svn: 104148
|
|
|
|
| |
llvm-svn: 104063
|
|
|
|
|
|
|
| |
correctly. The Lexer was incorrectly eating the newline casusing it to branch
to address 0. Updated the test case to use a "0:" label and a branch to "0b".
llvm-svn: 104038
|
|
|
|
|
|
|
|
| |
section header.
Also, create symbol data for LHS of assignment, to match 'as' symbol ordering better.
llvm-svn: 104033
|
|
|
|
| |
llvm-svn: 103989
|
|
|
|
|
|
| |
sections, not all sections in the text segment.
llvm-svn: 103981
|
|
|
|
|
|
|
| |
- This fixes a string table mismatch with 'as' when two new symbols are defined
in a single instruction.
llvm-svn: 103979
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't clear weak reference flag, 'as' was only "trying" to do this, it wasn't
actually succeeding.
- Clear the "lazy bound" bit when we mark something external. This corresponds
roughly to the lazy clearing of the bit that 'as' implements in
symbol_table_lookup.
- The exact meaning of these flags appears pretty loose, since 'as' isn't very
consistent. For now we just try to match 'as', we will clean this up one day
hopefully.
llvm-svn: 103964
|
|
|
|
|
|
| |
used to replace a normal relocation, not a reference to a GOT entry.
llvm-svn: 103789
|
|
|
|
| |
llvm-svn: 103691
|
|
|
|
|
|
|
|
| |
be diced into atoms, and adjust getAtom() to take this into account.
- This fixes relocations to symbols in fixed size literal sections, for
example.
llvm-svn: 103532
|
|
|
|
|
|
| |
offset instead of the fixup address as intended.
llvm-svn: 103527
|
|
|
|
|
|
|
|
|
| |
- This eliminates getAtomForAddress() (which was a linear search) and
simplifies getAtom().
- This also fixes some correctness problems where local labels at the same
address as non-local labels could be assigned to the wrong atom.
llvm-svn: 103480
|
|
|
|
|
|
| |
scattered relocation entry with a .weak_definition.
llvm-svn: 103443
|
|
|
|
|
|
|
| |
external and the item to be relocated should not have the address of the
symbol added in.
llvm-svn: 103302
|
|
|
|
|
|
|
| |
writing them.
- <rdar://problem/7885351> integrated assembler broken for i386 objc code
llvm-svn: 103112
|
|
|
|
|
|
|
| |
when possible.
- <rdar://problem/7934873>
llvm-svn: 103092
|
|
|
|
| |
llvm-svn: 99853
|
|
|
|
|
|
|
|
| |
address with a symbol address.
- This fixes the integrated-as nightly test regressions.
llvm-svn: 99466
|
|
|
|
| |
llvm-svn: 99100
|
|
|
|
|
|
| |
- This also avoids us running valgrind on /usr/bin/as, which has leaks. :)
llvm-svn: 99099
|
|
|
|
|
|
|
|
|
| |
override prefix and only the r/m16 forms should have had that. Also for variant
one, the AT&T syntax, added suffixes to all forms. Also added the missing
64-bit form for 'CRC32 r64, r/m8'. Plus added test cases for all forms and
tweaked one test case to add the needed suffixes.
llvm-svn: 98980
|
|
|
|
|
|
|
|
| |
- This is "extraordinarily" Darwin 'as' compatible. See the litany of FIXMEs littered about for more information.
- There are a few cases which seem to clearly be 'as' bugs which I have left unsupported, and there is one cases where we diverge but should fix if it blocks diffing .o files (Darwin 'as' ends up widening a jump unnecessarily).
- 403.gcc build, runs, and diffs equivalently to the 'as' built version now (using llvm-mc). However, it builds so slowly that I wouldn't recommend trying it quite yet. :)
llvm-svn: 98974
|
|
|
|
|
|
| |
some corner cases.
llvm-svn: 98924
|
|
|
|
|
|
| |
external relocations, but we don't have x86_64 relocations yet).
llvm-svn: 98583
|
|
|
|
| |
llvm-svn: 98479
|
|
|
|
| |
llvm-svn: 98476
|
|
|
|
| |
llvm-svn: 98456
|
|
|
|
| |
llvm-svn: 98454
|
|
|
|
|
|
|
| |
relative to the fragment address, not its offset. This was masked by the text
section normally being at address 0.
llvm-svn: 98420
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
assembly time value of variables.
llvm-svn: 98241
|
|
|
|
|
|
|
|
| |
is external.
- I'm not sure why, but this is what 'as' does.
llvm-svn: 98115
|
|
|
|
|
|
| |
adjustment when determining if we need a scattered relocation.
llvm-svn: 98082
|
|
|
|
| |
llvm-svn: 97991
|
|
|
|
| |
llvm-svn: 97984
|
|
|
|
|
|
|
|
| |
section with TextAlignFillValue and calls EmitCodeAlignment() instead of
calling EmitValueToAlignment(). This allows x86 assembly code to be aligned
with optimal nops.
llvm-svn: 97158
|
|
|
|
|
|
| |
instructions exactly like 'as', and produce equivalent .o files.
llvm-svn: 95143
|
|
|
|
| |
llvm-svn: 95135
|
|
|
|
|
|
|
| |
that a symbol stub section with no attributes can be parsed as in:
.section __TEXT,__picsymbolstub4,symbol_stubs,none,16
llvm-svn: 83488
|
|
|
|
| |
llvm-svn: 80351
|