diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-13 20:57:43 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-13 20:57:43 +0000 |
| commit | dece28087ea83030c1bb3c2c7c2ec6c8bdd85624 (patch) | |
| tree | 176f1f7662e6e36b03ab96464703259e29344f09 /llvm/lib | |
| parent | 1f76ca5a2d1ddebdd81690a2891c11359e805ea9 (diff) | |
| download | bcm5719-llvm-dece28087ea83030c1bb3c2c7c2ec6c8bdd85624.tar.gz bcm5719-llvm-dece28087ea83030c1bb3c2c7c2ec6c8bdd85624.zip | |
Set non alloc section address to 0 earlier.
Currently we do layout as if non alloc sections had an actual address
and then set it to zero. This produces a few odd results where a
symbol has an address that is inconsistent with the section address.
The simplest way to fix it is probably to just set the address earlier.
The behavior of bfd seems to be similar, but it only sets the non
alloc section address is missing from the linker script or if the
script has an explicit " : 0" setting the address of the output
section (which the default script does).
llvm-svn: 305323
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

