gcc/libatomic
Victor Do Nascimento 6edf6fe75b Libatomic: Define per-file identifier macros
In order to facilitate the fine-tuning of how `libatomic_i.h' and
`host-config.h' headers are used by different atomic functions, we
define distinct identifier macros for each file which, in implementing
atomic operations, imports these headers.

The idea is that different parts of these headers could then be
conditionally defined depending on the macros set by the file that
`#include'd them.

Given how it is possible that some file names are generic enough that
using them as-is for macro names (e.g. flag.c -> FLAG) may potentially
lead to name clashes with other macros, all file names first have LAT_
prepended to them such that, for example, flag.c is assigned the
LAT_FLAG macro.

Libatomic/ChangeLog:

	* cas_n.c (LAT_CAS_N): New.
	* exch_n.c (LAT_EXCH_N): Likewise.
	* fadd_n.c (LAT_FADD_N): Likewise.
	* fand_n.c (LAT_FAND_N): Likewise.
	* fence.c (LAT_FENCE): Likewise.
	* fenv.c (LAT_FENV): Likewise.
	* fior_n.c (LAT_FIOR_N): Likewise.
	* flag.c (LAT_FLAG): Likewise.
	* fnand_n.c (LAT_FNAND_N): Likewise.
	* fop_n.c (LAT_FOP_N): Likewise
	* fsub_n.c (LAT_FSUB_N): Likewise.
	* fxor_n.c (LAT_FXOR_N): Likewise.
	* gcas.c (LAT_GCAS): Likewise.
	* gexch.c (LAT_GEXCH): Likewise.
	* glfree.c (LAT_GLFREE): Likewise.
	* gload.c (LAT_GLOAD): Likewise.
	* gstore.c (LAT_GSTORE): Likewise.
	* load_n.c (LAT_LOAD_N): Likewise.
	* store_n.c (LAT_STORE_N): Likewise.
	* tas_n.c (LAT_TAS_N): Likewise.
2024-06-12 10:23:38 +01:00
..
config Libatomic: AArch64: Convert all lse128 assembly to .insn directives 2024-06-12 10:23:38 +01:00
testsuite testsuite: Adjust several dg-additional-files-options calls [PR115294] 2024-05-31 09:29:38 +02:00
.gitignore
acinclude.m4 Libatomic: AArch64: Convert all lse128 assembly to .insn directives 2024-06-12 10:23:38 +01:00
aclocal.m4
auto-config.h.in Libatomic: AArch64: Convert all lse128 assembly to .insn directives 2024-06-12 10:23:38 +01:00
cas_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
ChangeLog Daily bump. 2024-06-01 00:17:20 +00:00
configure Libatomic: AArch64: Convert all lse128 assembly to .insn directives 2024-06-12 10:23:38 +01:00
configure.ac Libatomic: AArch64: Convert all lse128 assembly to .insn directives 2024-06-12 10:23:38 +01:00
configure.tgt aarch64: Add aarch64-w64-mingw32 target to libatomic 2024-05-07 16:02:35 +00:00
exch_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
fadd_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
fand_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
fence.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
fenv.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
fior_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
flag.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
fnand_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
fop_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
fsub_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
fxor_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
gcas.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
gexch.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
glfree.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
gload.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
gstore.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
host-config.h Update copyright years. 2024-01-03 12:19:35 +01:00
init.c
libatomic.map
libatomic_i.h Update copyright years. 2024-01-03 12:19:35 +01:00
load_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
Makefile.am build: Derive object names in make_sunver.pl 2024-05-07 13:14:05 +02:00
Makefile.in build: Derive object names in make_sunver.pl 2024-05-07 13:14:05 +02:00
store_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00
tas_n.c Libatomic: Define per-file identifier macros 2024-06-12 10:23:38 +01:00