Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/usr.bin/ld/arch turn off executable-s...



details:   https://anonhg.NetBSD.org/src/rev/1c7aa35d15d6
branches:  trunk
changeset: 373097:1c7aa35d15d6
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 18 12:58:08 2023 +0000

description:
turn off executable-stack default when the gnu stack note is missing.

diffstat:

 external/gpl3/binutils/usr.bin/ld/arch/aarch64/config.h   |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/aarch64eb/config.h |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/alpha/config.h     |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/earm/config.h      |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/hppa/config.h      |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/i386/config.h      |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/ia64/config.h      |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h    |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/m68k/config.h      |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/mips64eb/config.h  |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/mips64el/config.h  |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/mipseb/config.h    |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/mipsel/config.h    |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/mipsn64eb/config.h |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/powerpc/config.h   |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/powerpc64/config.h |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/riscv32/config.h   |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/riscv64/config.h   |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/sh3eb/config.h     |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/sh3el/config.h     |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/sparc/config.h     |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/sparc64/config.h   |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/vax/config.h       |  2 +-
 external/gpl3/binutils/usr.bin/ld/arch/x86_64/config.h    |  2 +-
 24 files changed, 24 insertions(+), 24 deletions(-)

diffs (288 lines):

diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/aarch64/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/aarch64/config.h   Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/aarch64/config.h   Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/aarch64eb/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/aarch64eb/config.h Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/aarch64eb/config.h Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/alpha/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/alpha/config.h     Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/alpha/config.h     Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/earm/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/earm/config.h      Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/earm/config.h      Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/hppa/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/hppa/config.h      Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/hppa/config.h      Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/i386/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/i386/config.h      Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/i386/config.h      Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_warning
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/ia64/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/ia64/config.h      Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/ia64/config.h      Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h    Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h    Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/m68k/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/m68k/config.h      Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/m68k/config.h      Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/mips64eb/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/mips64eb/config.h  Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/mips64eb/config.h  Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/mips64el/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/mips64el/config.h  Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/mips64el/config.h  Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/mipseb/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/mipseb/config.h    Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/mipseb/config.h    Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/mipsel/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/mipsel/config.h    Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/mipsel/config.h    Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/mipsn64eb/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/mipsn64eb/config.h Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/mipsn64eb/config.h Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/powerpc/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/powerpc/config.h   Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/powerpc/config.h   Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/powerpc64/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/powerpc64/config.h Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/powerpc64/config.h Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/riscv32/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/riscv32/config.h   Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/riscv32/config.h   Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/riscv64/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/riscv64/config.h   Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/riscv64/config.h   Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/sh3eb/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/sh3eb/config.h     Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/sh3eb/config.h     Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/sh3el/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/sh3el/config.h     Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/sh3el/config.h     Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/sparc/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/sparc/config.h     Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/sparc/config.h     Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/sparc64/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/sparc64/config.h   Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/sparc64/config.h   Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/vax/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/vax/config.h       Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/vax/config.h       Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
diff -r 8c0cddbf2f50 -r 1c7aa35d15d6 external/gpl3/binutils/usr.bin/ld/arch/x86_64/config.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/x86_64/config.h    Wed Jan 18 12:52:55 2023 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/x86_64/config.h    Wed Jan 18 12:58:08 2023 +0000
@@ -23,7 +23,7 @@
 
 /* Define to 0 if you want to disable the generation of an executable stack
    when a .note-GNU-stack section is missing. */
-#define DEFAULT_LD_EXECSTACK 1
+#define DEFAULT_LD_EXECSTACK 0
 
 /* The default method for DT_TEXTREL check in ELF linker. */
 #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none



Home | Main Index | Thread Index | Old Index