mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-01 13:17:19 +08:00
ifuncmain9.c: Return EXIT_UNSUPPORTED for GCC 5.4 or older
Since elf/ifuncmain9.c fails at run-time when compiled with GCC 5.4 or older (PR ipa/81128), return EXIT_UNSUPPORTED for GCC 5.4 or older. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
ed377c952a
commit
65817569ad
@ -20,9 +20,10 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
# include <stdbool.h>
|
||||
# include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if __GNUC_PREREQ (5, 5)
|
||||
/* Do not use the test framework, so that the process setup is not
|
||||
disturbed. */
|
||||
|
||||
@ -90,3 +91,12 @@ main (void)
|
||||
|
||||
return errors;
|
||||
}
|
||||
#else
|
||||
#include <support/test-driver.h>
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
return EXIT_UNSUPPORTED;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user