]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/xtensa/linux.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / xtensa / linux.h
index 540e4bf538f8d5e2ef908a81fd4b3b0ff248b984..03ec8e7254a45e42c0eb18363b205eff7653ce50 100644 (file)
@@ -1,6 +1,6 @@
 /* Xtensa Linux configuration.
    Derived from the configuration for GCC for Intel i386 running Linux.
-   Copyright (C) 2001-2022 Free Software Foundation, Inc.
+   Copyright (C) 2001-2024 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -54,9 +54,10 @@ along with GCC; see the file COPYING3.  If not see
 #define LINK_SPEC \
  "%{shared:-shared} \
   %{!shared: \
-    %{!static: \
+    %{!static:%{!static-pie: \
       %{rdynamic:-export-dynamic} \
-      -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
+      -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \
+    %{static-pie:-static -pie --no-dynamic-linker -z text} \
     %{static:-static}} \
   %{mabi=windowed:--abi-windowed} \
   %{mabi=call0:--abi-call0}"
@@ -69,3 +70,4 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef DEBUGGER_REGNO
 
+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack