[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/23854] 16-bit GOT access is incorrectly optimized
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gas/23854] 16-bit GOT access is incorrectly optimized |
Date: |
Mon, 05 Nov 2018 21:54:17 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #24 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Stas Sergeev from comment #23)
> > What your code did is outside of scope of i386 psABI.
>
> Why not linker tells me so with an error msg?
There are many corner cases linker doesn't check. You have things like
extern void foo (void);
short
foo_p (void)
{
return 0x400 - (int) &foo;
}
In normal i386 case, &foo is 32 bits, especially with PIE. BTW,
does your code work without -no-pie using ANY linkers?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, (continued)
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, stsp at users dot sourceforge.net, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, hjl.tools at gmail dot com, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, stsp at users dot sourceforge.net, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, hjl.tools at gmail dot com, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, cvs-commit at gcc dot gnu.org, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, stsp at users dot sourceforge.net, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, stsp at users dot sourceforge.net, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, hjl.tools at gmail dot com, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, hjl.tools at gmail dot com, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, stsp at users dot sourceforge.net, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized,
hjl.tools at gmail dot com <=
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, stsp at users dot sourceforge.net, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, stsp at users dot sourceforge.net, 2018/11/05
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, address@hidden, 2018/11/06
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, cvs-commit at gcc dot gnu.org, 2018/11/06
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, hjl.tools at gmail dot com, 2018/11/06
- [Bug gas/23854] 16-bit GOT access is incorrectly optimized, cvs-commit at gcc dot gnu.org, 2018/11/26