Files
binutils-gdb/binutils/testsuite/binutils-all
Alan Modra ff31f2e09d Set ELF_OSABI for x86 and sparc
The idea of this patch is to match the solaris target over other
targets if e_ident contains ELFOSABI_SOLARIS.  The solaris target will
continue to recognise ELFOSABI_NONE objects.

This has the side effect of disabling gnu features that require
ELFOSABI_GNU, such as ifuncs.  I think that is correct, so I've made
the required testsuite changes to fix the resulting regressions:
FAIL: nm --ifunc-chars (assembly)
FAIL: mbind sections without SHF_ALLOC

The patch also sets ELF_OSABI for the gnu x86 and sparc targets,
for the same reason as the solaris targets.  This doesn't mean object
files will automatically be marked ELFOSABI_GNU/LINUX.  As before that
will only happen when certain GNU extensions are present.

bfd/
	* elf32-i386.c: Define ELF_OSABI for solaris and gnu targets.
	* elf32-sparc.c: Likewise.
	* elf64-sparc.c: Likewise.
	* elf64-x86-64.c: Likewise.
	* format.c (bfd_check_format_matches): Bump match_priority
	for matching e_ident EI_OSABI.
binutils/
	* testsuite/binutils-all/nm.exp: Use !supports_gnu_osabi to
	disable ifunc test.
gas/
	* testsuite/gas/elf/section13.d: Only run on supports_gnu_osabi
	targets.  Remove xfails.
2026-01-04 19:30:16 +10:30
..
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2019-01-08 14:58:03 +00:00
2023-08-22 09:35:55 +09:30
2020-06-30 08:56:14 -07:00
2016-03-07 17:29:25 +00:00
2020-11-20 14:06:14 +00:00
2017-09-22 17:05:51 -03:00
2017-09-22 17:05:51 -03:00
2020-08-14 21:29:57 +09:30
2026-01-04 19:30:16 +10:30
2022-05-18 13:15:22 +01:00
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-13 09:09:15 -07:00
2022-11-04 16:47:43 -07:00
2021-02-17 16:57:59 +10:30
2021-02-17 16:57:59 +10:30
2021-02-17 16:57:59 +10:30
2017-11-07 17:01:16 +10:30
2015-08-11 23:29:36 +09:30
2015-08-11 23:29:36 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2025-01-06 14:09:32 +10:30
2025-08-27 21:45:12 +09:30
2019-05-14 16:16:56 +01:00