gcc/libatomic/config
Victor Do Nascimento a899a1f2f3 libatomic: Add support for __ifunc_arg_t arg in ifunc resolver
With support for new atomic features in Armv9.4-a being indicated by
HWCAP2 bits, Libatomic's ifunc resolver must now query its second
argument, of type __ifunc_arg_t*.

We therefore make this argument known to libatomic, allowing us to
query hwcap2 bits in the following manner:

  bool
  resolver (unsigned long hwcap, const __ifunc_arg_t *features);
  {
    return (features->hwcap2 & HWCAP2_<FEAT_NAME>);
  }

libatomic/ChangeLog:

	* config/linux/aarch64/host-config.h (__ifunc_arg_t):
	Conditionally-defined if `sys/ifunc.h' not found.
	(_IFUNC_ARG_HWCAP): Likewise.
	(IFUNC_COND_1): Pass __ifunc_arg_t argument to ifunc.
	(ifunc1): Modify function signature to accept __ifunc_arg_t
	argument.
	* configure.tgt: Add second `const __ifunc_arg_t *features'
	argument to IFUNC_RESOLVER_ARGS.
2024-01-28 19:52:42 +00:00
..
aarch64 Update copyright years. 2024-01-03 12:19:35 +01:00
arm Update copyright years. 2024-01-03 12:19:35 +01:00
ia64
linux libatomic: Add support for __ifunc_arg_t arg in ifunc resolver 2024-01-28 19:52:42 +00:00
mingw Update copyright years. 2024-01-03 12:19:35 +01:00
nvptx Update copyright years. 2024-01-03 12:19:35 +01:00
posix Update copyright years. 2024-01-03 12:19:35 +01:00
powerpc
rtems Update copyright years. 2024-01-03 12:19:35 +01:00
s390 Update copyright years. 2024-01-03 12:19:35 +01:00
x86 Update copyright years. 2024-01-03 12:19:35 +01:00
t-aix aix: remove libgomp and libatomic archives before creating FAT archives 2020-10-11 17:30:24 -04:00