diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-11-20 11:29:45 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-11-20 11:29:45 -0800 |
commit | 731885c1add5b5012654fe1a70572f033c8d21f8 (patch) | |
tree | f96c140d3301f41b2a3d236ca5fa057827927fdb /ld/testsuite/ld-x86-64/plt-main3.c | |
parent | 5f7cbeec7d698c4881ffbb55d9c3288536098d32 (diff) | |
download | binutils-gdb-731885c1add5b5012654fe1a70572f033c8d21f8.tar.gz |
Always load function pointer into a stack variable
This patch makes sure that compiler won't optimize out loading function
into a stack variable.
* ld-ifunc/ifunc-main.c (get_bar): New function.
(main): Use it.
Diffstat (limited to 'ld/testsuite/ld-x86-64/plt-main3.c')
0 files changed, 0 insertions, 0 deletions