1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/zstd.patch.ia64
3 # Copyright (C) 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License as published by the Free Software
12 # Foundation; either version 2 of the License, or (at your option) any later
14 # --- T2-COPYRIGHT-NOTE-END ---
16 ia64-t2-linux-gnu-ld: lib/zstd/common/error_private.o: linking constant-gp files with non-constant-gp files
18 --- linux-5.14/arch/ia64/Makefile.vanilla 2021-09-21 13:41:05.870356415 +0200
19 +++ linux-5.14/arch/ia64/Makefile 2021-09-21 13:42:15.501353639 +0200
21 cflags-y := -pipe $(EXTRA) -ffixed-r13 -mfixed-range=f12-f15,f32-f127 \
22 -falign-functions=32 -frename-registers -fno-optimize-sibling-calls
23 KBUILD_CFLAGS_KERNEL := -mconstant-gp
24 +KBUILD_CFLAGS_MODULE += -mconstant-gp
26 GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
27 KBUILD_CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags "$(CC)" "$(OBJDUMP)" "$(READELF)")