summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/plt-main3.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-11-20 11:29:45 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-11-20 11:29:45 -0800
commit731885c1add5b5012654fe1a70572f033c8d21f8 (patch)
treef96c140d3301f41b2a3d236ca5fa057827927fdb /ld/testsuite/ld-x86-64/plt-main3.c
parent5f7cbeec7d698c4881ffbb55d9c3288536098d32 (diff)
downloadbinutils-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