[Bug target/67215] -fno-plt needs improvements for x86
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 14 13:07:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67215
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andrew Senkevich from comment #2)
> -bash-4.2$ cat test.c
> extern int proc2(int);
>
> int proc( void)
> {
> int i = proc2( 3);
>
> return i;
> }
>
> gcc test.c -S -pie -fpie -o test.1.S
> gcc test.c -S -pie -fpie -fno-plt -o test.2.S
Please provide a tectcase which shows the problem with -O1 and above
for both ia32 and x86-64.
More information about the Gcc-bugs
mailing list