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
..
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +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
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2018-11-07 18:07:36 +00: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
2016-02-26 05:01:34 -08:00
2026-01-01 23:22:14 +10:30
2020-07-07 18:26:33 +09:30
2020-07-07 18:26:33 +09:30
2020-07-07 18:26:33 +09:30
2018-10-11 11:38:10 +01:00
2019-01-08 14:58:03 +00:00
2025-08-15 12:16:22 +02:00
2025-08-15 12:16:22 +02:00
2026-01-01 23:22:14 +10:30
2016-07-14 11:32:48 +01:00
2024-11-18 11:35:57 +01:00
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2019-01-17 15:29:43 +00:00
2024-06-18 13:23:36 +02:00
2024-06-18 13:23:36 +02:00
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2022-08-13 14:11:27 +09:30
2026-01-01 23:22:14 +10:30
2018-11-27 11:59:10 +00:00
2018-11-27 11:59:10 +00:00
2026-01-01 23:22:14 +10:30
2022-08-13 14:11:27 +09:30
2022-08-13 14:11:27 +09:30
2026-01-01 23:22:14 +10:30
2023-08-22 09:35:55 +09:30
2026-01-01 23:22:14 +10:30
2022-08-13 14:11:27 +09:30
2020-03-19 16:55:13 +00:00
2026-01-01 23:22:14 +10:30
2022-08-13 14:11:27 +09:30
2026-01-01 23:22:14 +10:30
2023-03-14 12:21:13 +00:00
2026-01-01 23:22:14 +10:30
2022-08-13 14:11:27 +09:30
2026-01-01 23:22:14 +10:30
2020-06-30 08:56:14 -07:00
2018-04-25 21:13:14 +00:00
2018-04-25 21:13:14 +00:00
2021-11-17 05:15:48 -08:00
2026-01-01 23:22:14 +10:30
2016-03-07 17:29:25 +00:00
2018-09-20 13:32:58 +01:00
2018-02-13 22:55:49 +10:30
2018-09-15 16:24:18 +09:30
2018-09-15 16:24:18 +09:30
2018-09-15 16:24:18 +09:30
2020-11-20 14:06:14 +00:00
2019-11-04 11:55:28 +10:30
2019-11-04 11:55:28 +10:30
2022-08-13 14:11:27 +09:30
2025-08-01 10:46:27 +09:30
2026-01-01 23:22:14 +10:30
2015-07-24 16:44:27 +01: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
2017-04-04 09:06:04 -07:00
2025-03-07 11:23:13 +01:00
2025-03-07 11:23:13 +01:00
2025-03-07 11:23:13 +01:00
2025-03-07 11:23:13 +01:00
2025-03-07 11:24:19 +01:00
2025-04-07 12:45:11 +02:00
2025-04-07 12:45:11 +02:00
2016-11-11 11:49:45 +00:00
2026-01-04 19:30:16 +10:30
2022-05-18 13:15:22 +01:00
2018-09-15 16:56:55 +09:30
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2017-08-17 14:51:31 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2018-04-26 15:12:42 +01:00
2018-04-26 15:12:42 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2026-01-01 23:22:14 +10:30
2026-01-01 23:22:14 +10:30
2023-11-14 10:57:58 +00:00
2022-08-13 14:11:27 +09:30
2022-05-20 16:55:36 +01:00
2022-08-13 14:11:27 +09:30
2021-03-04 10:41:22 +00:00
2023-03-14 12:21:13 +00:00
2023-11-14 10:57:58 +00:00
2016-07-14 11:32:48 +01:00
2015-09-29 13:31:57 -07:00
2015-09-29 13:31:57 -07:00
2015-09-29 13:31:57 -07:00
2016-02-02 03:30:48 -08:00
2018-09-15 16:56:55 +09:30
2018-09-13 09:09:15 -07:00
2018-09-13 09:09:15 -07:00
2020-03-02 10:02:02 +00:00
2020-03-02 10:02:02 +00:00
2020-06-04 23:41:57 -07:00
2024-04-16 15:06:34 +01:00
2021-02-12 18:55:36 +10:30
2020-06-23 06:52:41 -07:00
2022-08-13 14:11:27 +09:30
2020-06-23 09:20:28 -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
2024-05-15 09:45:55 +02:00
2024-05-15 09:45:55 +02:00
2020-11-20 10:33:28 +00:00
2020-11-20 10:33:28 +00:00
2020-11-20 10:33:28 +00:00
2020-11-18 11:51:13 +00:00
2020-08-12 13:31:59 +01:00
2026-01-01 23:22:14 +10:30
2022-08-13 14:11:27 +09:30
2022-08-13 14:11:27 +09:30
2022-05-20 16:55:36 +01:00
2020-11-13 16:02:39 +00:00
2017-09-22 17:05:51 -03:00
2017-09-22 17:05:51 -03:00
2016-10-17 15:29:43 +01:00
2017-11-07 17:01:16 +10:30
2023-07-28 06:00:36 +01:00
2024-10-11 08:19:34 +02:00
2023-06-15 04:45:03 +01:00
2023-10-03 12:41:02 +01:00
2021-08-30 17:36:11 +08:00
2021-08-30 17:36:11 +08:00
2021-08-30 17:36:11 +08:00
2021-08-30 17:36:11 +08:00
2019-05-20 11:08:23 -07:00
2021-04-21 10:34:32 +01:00
2021-08-30 17:36:11 +08:00
2022-08-13 14:11:27 +09:30
2022-08-13 14:11:27 +09:30
2024-04-11 16:57:18 +01:00
2023-07-28 06:00:37 +01:00
2016-07-15 17:02:20 +09:30
2016-07-14 11:34:10 +01:00
2016-07-14 11:34:10 +01:00
2023-07-28 06:00:37 +01:00
2023-07-28 06:00:37 +01:00
2023-07-28 06:00:37 +01:00
2018-09-17 23:31:18 +09:30
2018-09-17 23:31:18 +09:30
2018-09-17 23:31:18 +09:30
2016-07-14 11:32:48 +01:00
2022-11-14 13:40:52 +10:30
2020-11-18 11:51:13 +00:00
2021-02-02 05:15:05 -08:00
2020-11-18 11:51:13 +00:00
2025-04-04 10:25:16 +02:00
2026-01-01 23:22:14 +10:30
2018-11-09 12:48:23 +00:00
2026-01-01 23:22:14 +10:30
2018-09-20 13:32:58 +01:00
2023-07-28 06:00:36 +01:00
2018-09-20 13:32:58 +01:00
2018-09-20 13:32:58 +01:00
2018-09-20 13:32:58 +01:00
2018-09-15 16:24:18 +09:30
2015-08-11 23:29:36 +09:30
2015-08-11 23:29:36 +09:30
2024-07-06 10:41:29 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-09-15 16:24:18 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-04-10 09:41:25 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2024-07-20 13:54:00 +09:30
2023-06-29 10:29:47 -07:00
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
2024-07-01 07:19:47 +09:30
2024-07-01 07:19:47 +09:30
2015-08-07 11:41:40 +02:00
2025-01-06 14:09:32 +10:30
2025-08-27 21:45:12 +09:30
2016-04-14 12:04:09 +01:00
2025-08-08 23:17:32 +01:00
2022-08-13 14:11:27 +09:30
2026-01-01 23:22:14 +10:30
2019-05-14 10:42:25 +01:00
2019-05-14 10:42:25 +01:00
2019-05-14 10:42:25 +01:00
2019-05-14 10:42:25 +01:00
2022-12-01 13:09:26 +00:00
2019-05-14 16:16:56 +01:00
2022-03-16 09:40:13 -07:00
2020-04-29 16:01:40 +01:00
2020-04-29 16:01:40 +01:00