aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-06-14 08:20:16 -0700
committerH.J. Lu <hjl.tools@gmail.com>2022-06-20 08:26:47 -0700
commitfe9765c0b97e6b4ce2cd226631d329fc05ba2aa5 (patch)
tree0aa82431aa82b11596e02944610305db29075662 /gcc/expr.cc
parent1b238124840a323e70771d88a5b8fae48f26c69b (diff)
downloadgcc-fe9765c0b97e6b4ce2cd226631d329fc05ba2aa5.zip
gcc-fe9765c0b97e6b4ce2cd226631d329fc05ba2aa5.tar.gz
gcc-fe9765c0b97e6b4ce2cd226631d329fc05ba2aa5.tar.bz2
i386: Disallow sibcall for calling ifunc functions with PIC register
Disallow siball when calling ifunc functions with PIC register so that PIC register can be restored. gcc/ PR target/105960 * config/i386/i386.cc (ix86_function_ok_for_sibcall): Return false if PIC register is used when calling ifunc functions. gcc/testsuite/ PR target/105960 * gcc.target/i386/pr105960.c: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions