DescriptionMake use of BSS more explicit in global initializers (vs a local .comm).
This reduces the number of conditionals, and will more closely reflect
the structure of the ELF writer's version of the same thing.
Without fdata-sections, the ELF writer version will have to batch all
initializers of a certain type so that they can be contiguous on the file
and the overall alignment can be determined.
A downside of this is that, .s files will be different from llc's output.
The spec .o and executables are identical before/after the change.
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=fed97afff11dfdf934a8d3f980651804ddd93586
Patch Set 1 #Patch Set 2 : local by default #
Messages
Total messages: 6 (2 generated)
|