/* Definitions for PA_RISC with ELF format
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2024 Free Software Foundation, Inc.
This file is part of GCC.
#define GLOBAL_ASM_OP ".globl "
/* FIXME: Hacked from the <elfos.h> one so that we avoid multiple
- labels in a function declaration (since pa.c seems determined to do
+ labels in a function declaration (since pa.cc seems determined to do
it differently). */
#undef ASM_DECLARE_FUNCTION_NAME
#undef TARGET_GAS
#define TARGET_GAS 1
-#undef TARGET_SYNC_LIBCALL
-#define TARGET_SYNC_LIBCALL 1
-
/* The SYNC operations are implemented as library functions, not
INSN patterns. As a result, the HAVE defines for the patterns are
not defined. We need to define them to generate the corresponding
#define HAVE_sync_compare_and_swapsi 1
#define HAVE_sync_compare_and_swapdi 1
-/* It's not possible to enable GNU_stack notes since the kernel needs
- an executable stack for signal returns and syscall restarts. */
+/* Enable GNU stack notes. */
#undef NEED_INDICATE_EXEC_STACK
-#define NEED_INDICATE_EXEC_STACK 0
+#define NEED_INDICATE_EXEC_STACK 1