mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
ia64: Work around miscompilation and fix build on ia64's gcc-10 and later
Needed since gcc-10 enabled -fno-common by default. [In use in Gentoo since gcc-10, no problems observed. Also discussed with and reviewed by Jessica Clarke from Debian. Andreas] Bug: https://bugs.gentoo.org/723268 Reviewed-by: Carlos O'Donell <carlos@redhat.com> Signed-off-by: Sergei Trofimovich <slyich@gmail.com> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
parent
5f798d38e9
commit
073edbdfab
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@
|
|||
#ifndef __ASSEMBLER__
|
||||
/* Don't declare this as a function---we want it's entry-point, not
|
||||
it's function descriptor... */
|
||||
extern int _dl_sysinfo_break attribute_hidden;
|
||||
/* Use section ".text" to force far GPREL64 relocation instead of
|
||||
GPREL22. */
|
||||
extern int _dl_sysinfo_break attribute_hidden __attribute__((section(".text")));
|
||||
# define DL_SYSINFO_DEFAULT ((uintptr_t) &_dl_sysinfo_break)
|
||||
# define DL_SYSINFO_IMPLEMENTATION \
|
||||
asm (".text\n\t" \
|
||||
|
|
Loading…
Add table
Reference in a new issue