DescriptionWrite out global initializers and data rel directly to ELF file.
The local symbol relocations are a bit different from
llvm-mc, which are section-relative. E.g., instead "bytes",
it will be ".data + offsetof(bytes, .data)". So the
contents of the text/data/rodata sections can also differ
since the offsets written in place are different.
Still need to fill the symbol table with undefined
symbols (e.g., memset, and szrt lib functions) before
trying to link.
BUG=none
R=kschimpf@google.com, stichnot@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=72984d881d7afb8d890380348061a3177b609e89
Patch Set 1 #Patch Set 2 : fix local/global binding check #Patch Set 3 : clang-format #Patch Set 4 : pull statics out #
Total comments: 4
Patch Set 5 : misc stuff #
Total comments: 25
Patch Set 6 : rebase #Patch Set 7 : review #1 #
Total comments: 14
Patch Set 8 : review #2 #Patch Set 9 : typo #Patch Set 10 : rename GlobalLowering to DataLowering #Patch Set 11 : tweak comment #
Total comments: 1
Messages
Total messages: 14 (3 generated)
|