* [gentoo-commits] repo/gentoo:master commit in: sys-boot/syslinux/files/
@ 2017-02-04 21:22 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-02-04 21:22 UTC (permalink / raw
To: gentoo-commits
commit: 262006d72fd7ec9ad22cef44d9c9d847b1d12092
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Feb 3 15:20:51 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 4 21:20:32 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=262006d7
sys-boot/syslinux: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3791
.../syslinux-6.02-add-fno-stack-protector.patch | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/sys-boot/syslinux/files/syslinux-6.02-add-fno-stack-protector.patch b/sys-boot/syslinux/files/syslinux-6.02-add-fno-stack-protector.patch
deleted file mode 100644
index b353767..00000000
--- a/sys-boot/syslinux/files/syslinux-6.02-add-fno-stack-protector.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naur syslinux-6.02/mk/efi.mk syslinux-6.02-hardened/mk/efi.mk
---- syslinux-6.02/mk/efi.mk 2013-10-13 13:59:03.000000000 -0400
-+++ syslinux-6.02-hardened/mk/efi.mk 2014-02-09 12:56:47.036409135 -0500
-@@ -23,6 +23,7 @@
- EFI_SUBARCH = $(ARCH)
- endif
-
-+GCCOPT := $(call gcc_ok,-fno-stack-protector,)
- EFIINC = $(shell $(topdir)/efi//find-gnu-efi.sh include $(EFI_SUBARCH))
- $(if $(EFIINC),, \
- $(error Missing $(EFI_SUBARCH) gnu-efi header files))
-@@ -42,7 +43,7 @@
- -DELF_DEBUG -DSYSLINUX_EFI -I$(objdir) \
- $(GCCWARN) -D__COM32__ -mno-red-zone \
- -DLDLINUX=\"$(LDLINUX)\" -fvisibility=hidden \
-- -Wno-unused-parameter
-+ -Wno-unused-parameter $(GCCOPT)
-
- # gnuefi sometimes installs these under a gnuefi/ directory, and sometimes not
- CRT0 := $(shell find $(LIBDIR) -name crt0-efi-$(EFI_SUBARCH).o 2>/dev/null | tail -n1)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-boot/syslinux/files/
@ 2023-10-18 10:13 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-10-18 10:13 UTC (permalink / raw
To: gentoo-commits
commit: e0f0e1c28a7c48434188ca0f60ab21eafa8ba167
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 10:12:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 10:12:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0f0e1c2
sys-boot/syslinux: tweak binutils patch to support <2.39
This makes the upgrade path a bit easier and the option just suppresses
a warning, not an error.
Bug: https://bugs.gentoo.org/913129
Closes: https://bugs.gentoo.org/915663
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-boot/syslinux/files/syslinux-6.04-binutils-2.41.patch | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/sys-boot/syslinux/files/syslinux-6.04-binutils-2.41.patch b/sys-boot/syslinux/files/syslinux-6.04-binutils-2.41.patch
index 530959fc478b..56762aa756d5 100644
--- a/sys-boot/syslinux/files/syslinux-6.04-binutils-2.41.patch
+++ b/sys-boot/syslinux/files/syslinux-6.04-binutils-2.41.patch
@@ -6,7 +6,7 @@ https://bugs.gentoo.org/913129
-fno-stack-check
ASFLAGS += $(ARCH3264)
-LDFLAGS += -nostdlib --warn-common --no-undefined --fatal-warnings
-+LDFLAGS += -nostdlib --warn-common --no-undefined --fatal-warnings --no-warn-rwx-segments -z notext
++LDFLAGS += -nostdlib --warn-common --no-undefined --fatal-warnings -z notext
--- a/gnu-efi/gnu-efi-3.0/apps/Makefile
+++ b/gnu-efi/gnu-efi-3.0/apps/Makefile
@@ -52,7 +52,7 @@ ifneq (,$(findstring FreeBSD,$(OS)))
@@ -14,7 +14,7 @@ https://bugs.gentoo.org/913129
endif
-LDFLAGS += -shared -Bsymbolic -L../lib -L../gnuefi $(CRTOBJS)
-+LDFLAGS += -shared --no-warn-rwx-segments -z notext -Bsymbolic -L../lib -L../gnuefi $(CRTOBJS)
++LDFLAGS += -shared -z notext -Bsymbolic -L../lib -L../gnuefi $(CRTOBJS)
LOADLIBES += -lefi -lgnuefi
LOADLIBES += $(shell $(CC) $(ARCH3264) -print-libgcc-file-name)
@@ -25,7 +25,7 @@ https://bugs.gentoo.org/913129
COM32LD = $(com32)/lib/$(ARCH)/elf.ld
-LDFLAGS = -m elf_$(ARCH) -shared --hash-style=gnu -T $(COM32LD)
-+LDFLAGS = -m elf_$(ARCH) -shared --no-warn-rwx-segments -z notext --hash-style=gnu -T $(COM32LD)
++LDFLAGS = -m elf_$(ARCH) -shared -z notext --hash-style=gnu -T $(COM32LD)
LIBGCC := $(shell $(CC) $(GCCOPT) --print-libgcc)
LNXCFLAGS = -I$(com32)/libutil/include $(GCCWARN) -O -g \
@@ -36,7 +36,7 @@ https://bugs.gentoo.org/913129
LDFLAGS = -T $(SRC)/$(ARCH)/syslinux.ld -Bsymbolic -pie -nostdlib -znocombreloc \
- -L$(LIBDIR) --hash-style=gnu -m elf_$(ARCH) $(CRT0) -E
-+ -L$(LIBDIR) --no-warn-rwx-segments -z notext --hash-style=gnu -m elf_$(ARCH) $(CRT0) -E
++ -L$(LIBDIR) -z notext --hash-style=gnu -m elf_$(ARCH) $(CRT0) -E
SFLAGS = $(GCCOPT) $(GCCWARN) $(ARCHOPT) \
-fomit-frame-pointer -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ \
@@ -47,7 +47,7 @@ https://bugs.gentoo.org/913129
SFLAGS = $(GCCOPT) -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__
-LDFLAGS = -m elf_$(ARCH) -shared --hash-style=gnu -T $(com32)/lib/$(ARCH)/elf.ld --as-needed
-+LDFLAGS = -m elf_$(ARCH) -shared --no-warn-rwx-segments -z notext --hash-style=gnu -T $(com32)/lib/$(ARCH)/elf.ld --as-needed
++LDFLAGS = -m elf_$(ARCH) -shared -z notext --hash-style=gnu -T $(com32)/lib/$(ARCH)/elf.ld --as-needed
LIBGCC := $(shell $(CC) $(GCCOPT) --print-libgcc)
LNXCFLAGS = -I$(com32)/libutil/include -W -Wall -O -g -D_GNU_SOURCE
@@ -58,7 +58,7 @@ https://bugs.gentoo.org/913129
$(LIBMODULE_OBJS)
-LDFLAGS = -m elf_$(ARCH) --hash-style=gnu -T $(com32)/lib/$(ARCH)/elf.ld
-+LDFLAGS = -m elf_$(ARCH) --no-warn-rwx-segments -z notext --hash-style=gnu -T $(com32)/lib/$(ARCH)/elf.ld
++LDFLAGS = -m elf_$(ARCH) -z notext --hash-style=gnu -T $(com32)/lib/$(ARCH)/elf.ld
.SUFFIXES: .c .o .a .so .lo .i .S .s .ls .ss .lss
@@ -68,7 +68,7 @@ https://bugs.gentoo.org/913129
%.elf: %.o $(LIBDEP) $(LDSCRIPT) $(AUXLIBS)
$(LD) $(LDFLAGS) -pie -Bsymbolic \
-T $(LDSCRIPT) \
-+ --no-warn-rwx-segments -z notext \
++ -z notext \
--unresolved-symbols=report-all \
-E --hash-style=gnu -M -o $@ $< \
--start-group $(LIBS) $(subst $(*F).elf,lib$(*F).a,$@) --end-group \
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-18 10:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18 10:13 [gentoo-commits] repo/gentoo:master commit in: sys-boot/syslinux/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2017-02-04 21:22 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox