Benjamin Kramer
|
4e04c2e69f
|
MCELF: Always overwrite FixedValue.
llvm-svn: 112259
|
2010-08-27 10:38:39 +00:00 |
|
Benjamin Kramer
|
537450a5e8
|
MCELF: Fix a thinko of mine.
llvm-svn: 112203
|
2010-08-26 18:12:04 +00:00 |
|
Benjamin Kramer
|
a1f93ec939
|
MCELF: Compensate for the addend on i386. Patch by Roman Divacky, with some cleanups.
llvm-svn: 112197
|
2010-08-26 17:23:02 +00:00 |
|
Benjamin Kramer
|
ebee78319c
|
MCELF: Use precomputed symbol indices, patch by Roman Divacky.
llvm-svn: 112079
|
2010-08-25 20:09:43 +00:00 |
|
Benjamin Kramer
|
958ba693b5
|
Relocate against parent if the symbol is not in section or it's a common symbol, from Roman Divacky.
llvm-svn: 111925
|
2010-08-24 17:34:39 +00:00 |
|
Benjamin Kramer
|
b08a868783
|
Fix thinko. Having no tests is great ...
llvm-svn: 111848
|
2010-08-23 21:32:00 +00:00 |
|
Benjamin Kramer
|
005c0b532e
|
Reduce code duplication.
llvm-svn: 111846
|
2010-08-23 21:23:52 +00:00 |
|
Benjamin Kramer
|
8961d86d95
|
ELFObjectWriter: Run ComputeSymbolTable before recording relocations. This way we can use the information it has computed and don't have to recompute the same stuff over and over again.
llvm-svn: 111844
|
2010-08-23 21:19:37 +00:00 |
|
Benjamin Kramer
|
be1f37f512
|
Add the symbol offset to the relocation value when we relocate against section. By Roman Divacky.
llvm-svn: 111824
|
2010-08-23 19:05:46 +00:00 |
|
Benjamin Kramer
|
c67b87ec44
|
Use the proper relocation section + cleanup, from Roman Divacky.
llvm-svn: 111819
|
2010-08-23 18:24:20 +00:00 |
|
Benjamin Kramer
|
574b1a27b1
|
MCELF: Count the section orders properly. Patch by Roman Divacky.
llvm-svn: 111517
|
2010-08-19 13:44:49 +00:00 |
|
Benjamin Kramer
|
5756afebba
|
Remove dead code. Fixes a GCC warning.
llvm-svn: 111271
|
2010-08-17 19:45:05 +00:00 |
|
Benjamin Kramer
|
1e37b165c8
|
Sketch i386 relocations handling, from Roman Divacky.
Hello world builds & runs now on i386/ELF with -integrated-as.
llvm-svn: 111264
|
2010-08-17 18:20:28 +00:00 |
|
Benjamin Kramer
|
3bc7de0605
|
Use the correct entry size for relocation entries, from Roman Divacky.
llvm-svn: 111259
|
2010-08-17 17:56:13 +00:00 |
|
Benjamin Kramer
|
cc741eccfa
|
Differentiate between RELA and REL relocations, from Roman Divacky.
llvm-svn: 111252
|
2010-08-17 17:30:07 +00:00 |
|
Benjamin Kramer
|
2bf444b7d4
|
One baby step towards i386 ELF, from Roman Divacky.
llvm-svn: 111247
|
2010-08-17 17:02:29 +00:00 |
|
Benjamin Kramer
|
3acf387e2d
|
Try to silence a overeager GCC warning.
llvm-svn: 111214
|
2010-08-17 00:33:24 +00:00 |
|
Benjamin Kramer
|
41deb334b5
|
A round of minor cleanups for ELFObjectWriter.
llvm-svn: 111213
|
2010-08-17 00:00:46 +00:00 |
|
Benjamin Kramer
|
70e0faed21
|
Silence warnings and simplify code. Eliminate a 32/64 bit portability issue.
llvm-svn: 111201
|
2010-08-16 23:00:12 +00:00 |
|
Eli Friedman
|
39484fda25
|
Fixes for generation of ELF relocations. Patch by Roman Divacky.
llvm-svn: 111183
|
2010-08-16 21:17:09 +00:00 |
|
Eli Friedman
|
d2c0d2d0bb
|
Fix a few warnings in and detabify MCELFStreamer and ELFObjectWriter.
llvm-svn: 111175
|
2010-08-16 19:15:06 +00:00 |
|
Matt Fleming
|
8183e01389
|
Add ELF ObjectWriter and Streamer support.
I forgot to add these files in commit 111172.
llvm-svn: 111174
|
2010-08-16 18:57:57 +00:00 |
|