[PATCH] D27613: [ELF] - Change how -Ttext/-Tdata/-Tbss works.
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 13 01:21:37 PST 2016
On Tue, Dec 13, 2016 at 1:23 AM, Rafael Avila de Espindola <
rafael.espindola at gmail.com> wrote:
> Simon, what about mips-got-page.s? I assume you used --section-start
> just for convenience in the test, correct? Could you change it to avoid
> it? A linker script should be fine.
There is a bug/problem which hidden by --section-start option. In
MipsGot::finalize method linker calculates number of required "page"
address entries in GOT. To do so we need to know sizes of output sections.
If there is no script, linker calculates the sizes before call the finalize
method. In case of linker script, the finalize method called too early. I'm
going to fix this, but not right now. Maybe your fix solves the problem.
Meantime we can mark the test case as XFAIL.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits