1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/linux/2.6.7/110-linux-2.6.7-build_on_case_insensitive_fs-1.patch Thu Jun 19 15:33:33 2008 +0000
1.3 @@ -0,0 +1,679 @@
1.4 +Submitted By: Martin Schaffner <schaffner@gmx.li>
1.5 +Date: 2004-06-19
1.6 +Initial Package Version: 2.6.7
1.7 +Upstream Status: Not submitted
1.8 +Origin: Martin Schaffner
1.9 +Description: Enables build on case-insensitive file systems
1.10 +URL: http://mirror.vtx.ch/lfs/patches/downloads/linux/linux-2.6.7-build_on_case_insensitive_fs-1.patch
1.11 +
1.12 +diff -ur linux-2.6.7/Makefile linux-2.6.7-mod/Makefile
1.13 +--- linux-2.6.7/Makefile Fri Jun 18 22:51:03 2004
1.14 ++++ linux-2.6.7-mod/Makefile Sat Jun 19 12:43:10 2004
1.15 +@@ -549,7 +549,7 @@
1.16 + $(NM) $@ | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
1.17 + endef
1.18 +
1.19 +-LDFLAGS_vmlinux += -T arch/$(ARCH)/kernel/vmlinux.lds.s
1.20 ++LDFLAGS_vmlinux += -T arch/$(ARCH)/kernel/vmlinux.lds.asm
1.21 +
1.22 + # Generate section listing all symbols and add it into vmlinux
1.23 + # It's a three stage process:
1.24 +@@ -575,23 +575,23 @@
1.25 + .tmp_kallsyms%.S: .tmp_vmlinux%
1.26 + $(call cmd,kallsyms)
1.27 +
1.28 +-.tmp_vmlinux1: $(vmlinux-objs) arch/$(ARCH)/kernel/vmlinux.lds.s FORCE
1.29 ++.tmp_vmlinux1: $(vmlinux-objs) arch/$(ARCH)/kernel/vmlinux.lds.asm FORCE
1.30 + +$(call if_changed_rule,vmlinux__)
1.31 +
1.32 +-.tmp_vmlinux2: $(vmlinux-objs) .tmp_kallsyms1.o arch/$(ARCH)/kernel/vmlinux.lds.s FORCE
1.33 ++.tmp_vmlinux2: $(vmlinux-objs) .tmp_kallsyms1.o arch/$(ARCH)/kernel/vmlinux.lds.asm FORCE
1.34 + $(call if_changed_rule,vmlinux__)
1.35 +
1.36 + endif
1.37 +
1.38 + # Finally the vmlinux rule
1.39 +
1.40 +-vmlinux: $(vmlinux-objs) $(kallsyms.o) arch/$(ARCH)/kernel/vmlinux.lds.s FORCE
1.41 ++vmlinux: $(vmlinux-objs) $(kallsyms.o) arch/$(ARCH)/kernel/vmlinux.lds.asm FORCE
1.42 + $(call if_changed_rule,vmlinux)
1.43 +
1.44 + # The actual objects are generated when descending,
1.45 + # make sure no implicit rule kicks in
1.46 +
1.47 +-$(sort $(vmlinux-objs)) arch/$(ARCH)/kernel/vmlinux.lds.s: $(vmlinux-dirs) ;
1.48 ++$(sort $(vmlinux-objs)) arch/$(ARCH)/kernel/vmlinux.lds.asm: $(vmlinux-dirs) ;
1.49 +
1.50 + # Handle descending into subdirectories listed in $(vmlinux-dirs)
1.51 +
1.52 +@@ -640,7 +640,7 @@
1.53 + # Single targets
1.54 + # ---------------------------------------------------------------------------
1.55 +
1.56 +-%.s: %.c scripts FORCE
1.57 ++%.asm: %.c scripts FORCE
1.58 + $(Q)$(MAKE) $(build)=$(@D) $@
1.59 + %.i: %.c scripts FORCE
1.60 + $(Q)$(MAKE) $(build)=$(@D) $@
1.61 +@@ -650,7 +650,7 @@
1.62 + $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) $(build)=$(@D)
1.63 + %.lst: %.c scripts FORCE
1.64 + $(Q)$(MAKE) $(build)=$(@D) $@
1.65 +-%.s: %.S scripts FORCE
1.66 ++%.asm: %.S scripts FORCE
1.67 + $(Q)$(MAKE) $(build)=$(@D) $@
1.68 + %.o: %.S scripts FORCE
1.69 + $(Q)$(MAKE) $(build)=$(@D) $@
1.70 +diff -ur linux-2.6.7/arch/alpha/Makefile linux-2.6.7-mod/arch/alpha/Makefile
1.71 +--- linux-2.6.7/arch/alpha/Makefile Fri Jun 18 22:51:03 2004
1.72 ++++ linux-2.6.7-mod/arch/alpha/Makefile Sat Jun 19 12:46:32 2004
1.73 +@@ -114,10 +114,10 @@
1.74 +
1.75 + prepare: include/asm-$(ARCH)/asm_offsets.h
1.76 +
1.77 +-arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.78 ++arch/$(ARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.79 + include/config/MARKER
1.80 +
1.81 +-include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
1.82 ++include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.asm
1.83 + $(call filechk,gen-asm-offsets)
1.84 +
1.85 + archclean:
1.86 +diff -ur linux-2.6.7/arch/alpha/kernel/Makefile linux-2.6.7-mod/arch/alpha/kernel/Makefile
1.87 +--- linux-2.6.7/arch/alpha/kernel/Makefile Mon May 10 04:32:29 2004
1.88 ++++ linux-2.6.7-mod/arch/alpha/kernel/Makefile Sat Jun 19 12:46:48 2004
1.89 +@@ -2,7 +2,7 @@
1.90 + # Makefile for the linux kernel.
1.91 + #
1.92 +
1.93 +-extra-y := head.o vmlinux.lds.s
1.94 ++extra-y := head.o vmlinux.lds.asm
1.95 + EXTRA_AFLAGS := $(CFLAGS)
1.96 + EXTRA_CFLAGS := -Werror -Wno-sign-compare
1.97 +
1.98 +diff -ur linux-2.6.7/arch/arm/Makefile linux-2.6.7-mod/arch/arm/Makefile
1.99 +--- linux-2.6.7/arch/arm/Makefile Fri Jun 18 22:51:04 2004
1.100 ++++ linux-2.6.7-mod/arch/arm/Makefile Sat Jun 19 12:47:07 2004
1.101 +@@ -175,10 +175,10 @@
1.102 + i:; $(Q)$(MAKE) $(build)=$(boot) install
1.103 + zi:; $(Q)$(MAKE) $(build)=$(boot) zinstall
1.104 +
1.105 +-arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.106 ++arch/$(ARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.107 + include/asm-arm/.arch
1.108 +
1.109 +-include/asm-$(ARCH)/constants.h: arch/$(ARCH)/kernel/asm-offsets.s
1.110 ++include/asm-$(ARCH)/constants.h: arch/$(ARCH)/kernel/asm-offsets.asm
1.111 + $(call filechk,gen-asm-offsets)
1.112 +
1.113 + define archhelp
1.114 +diff -ur linux-2.6.7/arch/arm/kernel/Makefile linux-2.6.7-mod/arch/arm/kernel/Makefile
1.115 +--- linux-2.6.7/arch/arm/kernel/Makefile Mon May 10 04:33:19 2004
1.116 ++++ linux-2.6.7-mod/arch/arm/kernel/Makefile Sat Jun 19 12:47:25 2004
1.117 +@@ -27,7 +27,7 @@
1.118 + head-y := head.o
1.119 + obj-$(CONFIG_DEBUG_LL) += debug.o
1.120 +
1.121 +-extra-y := $(head-y) init_task.o vmlinux.lds.s
1.122 ++extra-y := $(head-y) init_task.o vmlinux.lds.asm
1.123 +
1.124 + # Spell out some dependencies that aren't automatically figured out
1.125 + $(obj)/entry-armv.o: $(obj)/entry-header.S include/asm-arm/constants.h
1.126 +diff -ur linux-2.6.7/arch/arm26/Makefile linux-2.6.7-mod/arch/arm26/Makefile
1.127 +--- linux-2.6.7/arch/arm26/Makefile Mon May 10 04:32:28 2004
1.128 ++++ linux-2.6.7-mod/arch/arm26/Makefile Sat Jun 19 12:48:24 2004
1.129 +@@ -101,10 +101,10 @@
1.130 + fi; \
1.131 + )
1.132 +
1.133 +-arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.134 ++arch/$(ARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.135 + include/config/MARKER
1.136 +
1.137 +-include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
1.138 ++include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.asm
1.139 + $(call filechk,gen-asm-offsets)
1.140 +
1.141 + define archhelp
1.142 +diff -ur linux-2.6.7/arch/arm26/kernel/Makefile linux-2.6.7-mod/arch/arm26/kernel/Makefile
1.143 +--- linux-2.6.7/arch/arm26/kernel/Makefile Mon May 10 04:32:29 2004
1.144 ++++ linux-2.6.7-mod/arch/arm26/kernel/Makefile Sat Jun 19 12:48:30 2004
1.145 +@@ -14,5 +14,5 @@
1.146 + obj-$(CONFIG_FIQ) += fiq.o
1.147 + obj-$(CONFIG_MODULES) += armksyms.o
1.148 +
1.149 +-extra-y := init_task.o vmlinux.lds.s
1.150 ++extra-y := init_task.o vmlinux.lds.asm
1.151 +
1.152 +diff -ur linux-2.6.7/arch/cris/Makefile linux-2.6.7-mod/arch/cris/Makefile
1.153 +--- linux-2.6.7/arch/cris/Makefile Fri Jun 18 22:51:07 2004
1.154 ++++ linux-2.6.7-mod/arch/cris/Makefile Sat Jun 19 12:48:47 2004
1.155 +@@ -107,8 +107,8 @@
1.156 + @ln -sf $(SARCH) include/asm-$(ARCH)/arch
1.157 + @touch $@
1.158 +
1.159 +-arch/$(ARCH)/$(SARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.160 ++arch/$(ARCH)/$(SARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.161 + include/config/MARKER
1.162 +
1.163 +-include/asm-$(ARCH)/$(SARCH)/offset.h: arch/$(ARCH)/$(SARCH)/kernel/asm-offsets.s
1.164 ++include/asm-$(ARCH)/$(SARCH)/offset.h: arch/$(ARCH)/$(SARCH)/kernel/asm-offsets.asm
1.165 + $(call filechk,gen-asm-offsets)
1.166 +diff -ur linux-2.6.7/arch/cris/kernel/Makefile linux-2.6.7-mod/arch/cris/kernel/Makefile
1.167 +--- linux-2.6.7/arch/cris/kernel/Makefile Fri Jun 18 22:51:09 2004
1.168 ++++ linux-2.6.7-mod/arch/cris/kernel/Makefile Sat Jun 19 12:48:53 2004
1.169 +@@ -3,7 +3,7 @@
1.170 + # Makefile for the linux kernel.
1.171 + #
1.172 +
1.173 +-extra-y := vmlinux.lds.s
1.174 ++extra-y := vmlinux.lds.asm
1.175 +
1.176 + obj-y := process.o traps.o irq.o ptrace.o setup.o \
1.177 + time.o sys_cris.o semaphore.o
1.178 +diff -ur linux-2.6.7/arch/h8300/Makefile linux-2.6.7-mod/arch/h8300/Makefile
1.179 +--- linux-2.6.7/arch/h8300/Makefile Fri Jun 18 22:51:09 2004
1.180 ++++ linux-2.6.7-mod/arch/h8300/Makefile Sat Jun 19 12:49:12 2004
1.181 +@@ -64,7 +64,7 @@
1.182 +
1.183 + prepare: include/asm-$(ARCH)/asm-offsets.h
1.184 +
1.185 +-include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \
1.186 ++include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.asm \
1.187 + include/asm include/linux/version.h
1.188 + $(call filechk,gen-asm-offsets)
1.189 +
1.190 +diff -ur linux-2.6.7/arch/h8300/kernel/Makefile linux-2.6.7-mod/arch/h8300/kernel/Makefile
1.191 +--- linux-2.6.7/arch/h8300/kernel/Makefile Fri Jun 18 22:51:09 2004
1.192 ++++ linux-2.6.7-mod/arch/h8300/kernel/Makefile Sat Jun 19 12:49:32 2004
1.193 +@@ -2,7 +2,7 @@
1.194 + # Makefile for the linux kernel.
1.195 + #
1.196 +
1.197 +-extra-y := vmlinux.lds.s
1.198 ++extra-y := vmlinux.lds.asm
1.199 +
1.200 + obj-y := process.o traps.o ptrace.o ints.o \
1.201 + sys_h8300.o time.o semaphore.o signal.o \
1.202 +diff -ur linux-2.6.7/arch/i386/Makefile linux-2.6.7-mod/arch/i386/Makefile
1.203 +--- linux-2.6.7/arch/i386/Makefile Fri Jun 18 22:51:10 2004
1.204 ++++ linux-2.6.7-mod/arch/i386/Makefile Sat Jun 19 12:49:43 2004
1.205 +@@ -141,10 +141,10 @@
1.206 + prepare: include/asm-$(ARCH)/asm_offsets.h
1.207 + CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h
1.208 +
1.209 +-arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.210 ++arch/$(ARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.211 + include/config/MARKER
1.212 +
1.213 +-include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
1.214 ++include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.asm
1.215 + $(call filechk,gen-asm-offsets)
1.216 +
1.217 + archclean:
1.218 +diff -ur linux-2.6.7/arch/i386/kernel/Makefile linux-2.6.7-mod/arch/i386/kernel/Makefile
1.219 +--- linux-2.6.7/arch/i386/kernel/Makefile Mon May 10 04:32:02 2004
1.220 ++++ linux-2.6.7-mod/arch/i386/kernel/Makefile Sat Jun 19 12:49:54 2004
1.221 +@@ -2,7 +2,7 @@
1.222 + # Makefile for the linux kernel.
1.223 + #
1.224 +
1.225 +-extra-y := head.o init_task.o vmlinux.lds.s
1.226 ++extra-y := head.o init_task.o vmlinux.lds.asm
1.227 +
1.228 + obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o \
1.229 + ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_i386.o \
1.230 +diff -ur linux-2.6.7/arch/ia64/Makefile linux-2.6.7-mod/arch/ia64/Makefile
1.231 +--- linux-2.6.7/arch/ia64/Makefile Mon May 10 04:31:59 2004
1.232 ++++ linux-2.6.7-mod/arch/ia64/Makefile Sat Jun 19 12:50:12 2004
1.233 +@@ -88,12 +88,12 @@
1.234 +
1.235 + prepare: include/asm-ia64/offsets.h
1.236 +
1.237 +-arch/ia64/kernel/asm-offsets.s: include/asm include/linux/version.h include/config/MARKER
1.238 ++arch/ia64/kernel/asm-offsets.asm: include/asm include/linux/version.h include/config/MARKER
1.239 +
1.240 +-include/asm-ia64/offsets.h: arch/ia64/kernel/asm-offsets.s
1.241 ++include/asm-ia64/offsets.h: arch/ia64/kernel/asm-offsets.asm
1.242 + $(call filechk,gen-asm-offsets)
1.243 +
1.244 +-arch/ia64/kernel/asm-offsets.s: include/asm-ia64/.offsets.h.stamp
1.245 ++arch/ia64/kernel/asm-offsets.asm: include/asm-ia64/.offsets.h.stamp
1.246 +
1.247 + include/asm-ia64/.offsets.h.stamp:
1.248 + mkdir -p include/asm-ia64
1.249 +diff -ur linux-2.6.7/arch/ia64/kernel/Makefile linux-2.6.7-mod/arch/ia64/kernel/Makefile
1.250 +--- linux-2.6.7/arch/ia64/kernel/Makefile Fri Jun 18 22:51:13 2004
1.251 ++++ linux-2.6.7-mod/arch/ia64/kernel/Makefile Sat Jun 19 12:52:14 2004
1.252 +@@ -2,7 +2,7 @@
1.253 + # Makefile for the linux kernel.
1.254 + #
1.255 +
1.256 +-extra-y := head.o init_task.o vmlinux.lds.s
1.257 ++extra-y := head.o init_task.o vmlinux.lds.asm
1.258 +
1.259 + obj-y := acpi.o entry.o efi.o efi_stub.o gate-data.o fsys.o ia64_ksyms.o irq.o irq_ia64.o \
1.260 + irq_lsapic.o ivt.o machvec.o pal.o patch.o process.o perfmon.o ptrace.o sal.o \
1.261 +@@ -21,7 +21,7 @@
1.262 + # The gate DSO image is built using a special linker script.
1.263 + targets += gate.so gate-syms.o
1.264 +
1.265 +-extra-y += gate.so gate-syms.o gate.lds.s gate.o
1.266 ++extra-y += gate.so gate-syms.o gate.lds.asm gate.o
1.267 +
1.268 + # fp_emulate() expects f2-f5,f16-f31 to contain the user-level state.
1.269 + CFLAGS_traps.o += -mfixed-range=f2-f5,f16-f31
1.270 +@@ -32,14 +32,14 @@
1.271 + cmd_gate = $(CC) -nostdlib $(GATECFLAGS_$(@F)) -Wl,-T,$(filter-out FORCE,$^) -o $@
1.272 +
1.273 + GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1
1.274 +-$(obj)/gate.so: $(obj)/gate.lds.s $(obj)/gate.o FORCE
1.275 ++$(obj)/gate.so: $(obj)/gate.lds.asm $(obj)/gate.o FORCE
1.276 + $(call if_changed,gate)
1.277 +
1.278 + $(obj)/built-in.o: $(obj)/gate-syms.o
1.279 + $(obj)/built-in.o: ld_flags += -R $(obj)/gate-syms.o
1.280 +
1.281 + GATECFLAGS_gate-syms.o = -r
1.282 +-$(obj)/gate-syms.o: $(src)/gate.lds.s $(obj)/gate.o FORCE
1.283 ++$(obj)/gate-syms.o: $(src)/gate.lds.asm $(obj)/gate.o FORCE
1.284 + $(call if_changed,gate)
1.285 +
1.286 + # gate-data.o contains the gate DSO image as data in section .data.gate.
1.287 +diff -ur linux-2.6.7/arch/m68k/Makefile linux-2.6.7-mod/arch/m68k/Makefile
1.288 +--- linux-2.6.7/arch/m68k/Makefile Fri Jun 18 22:51:14 2004
1.289 ++++ linux-2.6.7-mod/arch/m68k/Makefile Sat Jun 19 12:52:30 2004
1.290 +@@ -114,10 +114,10 @@
1.291 + prepare: include/asm-$(ARCH)/offsets.h
1.292 + CLEAN_FILES += include/asm-$(ARCH)/offsets.h
1.293 +
1.294 +-arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.295 ++arch/$(ARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.296 + include/config/MARKER
1.297 +
1.298 +-include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
1.299 ++include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.asm
1.300 + $(call filechk,gen-asm-offsets)
1.301 +
1.302 + archclean:
1.303 +diff -ur linux-2.6.7/arch/m68k/kernel/Makefile linux-2.6.7-mod/arch/m68k/kernel/Makefile
1.304 +--- linux-2.6.7/arch/m68k/kernel/Makefile Mon May 10 04:33:10 2004
1.305 ++++ linux-2.6.7-mod/arch/m68k/kernel/Makefile Sat Jun 19 12:52:35 2004
1.306 +@@ -7,7 +7,7 @@
1.307 + else
1.308 + extra-y := sun3-head.o
1.309 + endif
1.310 +-extra-y += vmlinux.lds.s
1.311 ++extra-y += vmlinux.lds.asm
1.312 +
1.313 + obj-y := entry.o process.o traps.o ints.o signal.o ptrace.o \
1.314 + sys_m68k.o time.o semaphore.o setup.o m68k_ksyms.o
1.315 +diff -ur linux-2.6.7/arch/m68knommu/Makefile linux-2.6.7-mod/arch/m68knommu/Makefile
1.316 +--- linux-2.6.7/arch/m68knommu/Makefile Mon May 10 04:32:54 2004
1.317 ++++ linux-2.6.7-mod/arch/m68knommu/Makefile Sat Jun 19 12:52:57 2004
1.318 +@@ -89,7 +89,7 @@
1.319 + head-y := arch/m68knommu/platform/$(platform-y)/$(board-y)/crt0_$(model-y).o
1.320 +
1.321 + CLEAN_FILES := include/asm-$(ARCH)/asm-offsets.h \
1.322 +- arch/$(ARCH)/kernel/asm-offsets.s
1.323 ++ arch/$(ARCH)/kernel/asm-offsets.asm
1.324 +
1.325 + core-y += arch/m68knommu/kernel/ \
1.326 + arch/m68knommu/mm/ \
1.327 +@@ -102,7 +102,7 @@
1.328 + archclean:
1.329 + $(call descend arch/$(ARCH)/boot, subdirclean)
1.330 +
1.331 +-include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \
1.332 ++include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.asm \
1.333 + include/asm include/linux/version.h \
1.334 + include/config/MARKER
1.335 + $(call filechk,gen-asm-offsets)
1.336 +diff -ur linux-2.6.7/arch/m68knommu/kernel/Makefile linux-2.6.7-mod/arch/m68knommu/kernel/Makefile
1.337 +--- linux-2.6.7/arch/m68knommu/kernel/Makefile Mon May 10 04:32:26 2004
1.338 ++++ linux-2.6.7-mod/arch/m68knommu/kernel/Makefile Sat Jun 19 12:53:20 2004
1.339 +@@ -2,7 +2,7 @@
1.340 + # Makefile for arch/m68knommu/kernel.
1.341 + #
1.342 +
1.343 +-extra-y := vmlinux.lds.s
1.344 ++extra-y := vmlinux.lds.asm
1.345 +
1.346 + obj-y += dma.o entry.o init_task.o m68k_ksyms.o process.o ptrace.o semaphore.o \
1.347 + setup.o signal.o syscalltable.o sys_m68k.o time.o traps.o
1.348 +diff -ur linux-2.6.7/arch/mips/Makefile linux-2.6.7-mod/arch/mips/Makefile
1.349 +--- linux-2.6.7/arch/mips/Makefile Fri Jun 18 22:51:19 2004
1.350 ++++ linux-2.6.7-mod/arch/mips/Makefile Sat Jun 19 12:53:35 2004
1.351 +@@ -752,12 +752,12 @@
1.352 + prepare: include/asm-$(ARCH)/offset.h \
1.353 + include/asm-$(ARCH)/reg.h
1.354 +
1.355 +-arch/$(ARCH)/kernel/offset.s: include/asm include/linux/version.h \
1.356 ++arch/$(ARCH)/kernel/offset.asm: include/asm include/linux/version.h \
1.357 + include/config/MARKER
1.358 +
1.359 +-include/asm-$(ARCH)/offset.h: arch/$(ARCH)/kernel/offset.s
1.360 ++include/asm-$(ARCH)/offset.h: arch/$(ARCH)/kernel/offset.asm
1.361 + $(call filechk,gen-asm-offset.h)
1.362 +-include/asm-$(ARCH)/reg.h: arch/$(ARCH)/kernel/reg.s
1.363 ++include/asm-$(ARCH)/reg.h: arch/$(ARCH)/kernel/reg.asm
1.364 + $(call filechk,gen-asm-reg.h)
1.365 +
1.366 + CLEAN_FILES += include/asm-$(ARCH)/offset.h.tmp \
1.367 +diff -ur linux-2.6.7/arch/mips/kernel/Makefile linux-2.6.7-mod/arch/mips/kernel/Makefile
1.368 +--- linux-2.6.7/arch/mips/kernel/Makefile Mon May 10 04:32:28 2004
1.369 ++++ linux-2.6.7-mod/arch/mips/kernel/Makefile Sat Jun 19 12:53:41 2004
1.370 +@@ -2,7 +2,7 @@
1.371 + # Makefile for the Linux/MIPS kernel.
1.372 + #
1.373 +
1.374 +-extra-y := head.o init_task.o vmlinux.lds.s
1.375 ++extra-y := head.o init_task.o vmlinux.lds.asm
1.376 +
1.377 + obj-y += cpu-probe.o branch.o entry.o genex.o irq.o process.o \
1.378 + ptrace.o reset.o semaphore.o setup.o signal.o syscall.o \
1.379 +diff -ur linux-2.6.7/arch/parisc/Makefile linux-2.6.7-mod/arch/parisc/Makefile
1.380 +--- linux-2.6.7/arch/parisc/Makefile Fri Jun 18 22:51:21 2004
1.381 ++++ linux-2.6.7-mod/arch/parisc/Makefile Sat Jun 19 12:53:47 2004
1.382 +@@ -88,10 +88,10 @@
1.383 +
1.384 + prepare: include/asm-parisc/offsets.h
1.385 +
1.386 +-arch/parisc/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.387 ++arch/parisc/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.388 + include/config/MARKER
1.389 +
1.390 +-include/asm-parisc/offsets.h: arch/parisc/kernel/asm-offsets.s
1.391 ++include/asm-parisc/offsets.h: arch/parisc/kernel/asm-offsets.asm
1.392 + $(call filechk,gen-asm-offsets)
1.393 +
1.394 + CLEAN_FILES += lifimage include/asm-parisc/offsets.h
1.395 +diff -ur linux-2.6.7/arch/parisc/kernel/Makefile linux-2.6.7-mod/arch/parisc/kernel/Makefile
1.396 +--- linux-2.6.7/arch/parisc/kernel/Makefile Fri Jun 18 22:51:21 2004
1.397 ++++ linux-2.6.7-mod/arch/parisc/kernel/Makefile Sat Jun 19 12:53:53 2004
1.398 +@@ -4,7 +4,7 @@
1.399 +
1.400 + head-y := head.o
1.401 + head-$(CONFIG_PARISC64) := head64.o
1.402 +-extra-y := init_task.o $(head-y) vmlinux.lds.s
1.403 ++extra-y := init_task.o $(head-y) vmlinux.lds.asm
1.404 +
1.405 + AFLAGS_entry.o := -traditional
1.406 + AFLAGS_pacache.o := -traditional
1.407 +diff -ur linux-2.6.7/arch/ppc/Makefile linux-2.6.7-mod/arch/ppc/Makefile
1.408 +--- linux-2.6.7/arch/ppc/Makefile Fri Jun 18 22:51:22 2004
1.409 ++++ linux-2.6.7-mod/arch/ppc/Makefile Sat Jun 19 12:54:09 2004
1.410 +@@ -78,10 +78,10 @@
1.411 +
1.412 + prepare: include/asm-$(ARCH)/offsets.h checkbin
1.413 +
1.414 +-arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.415 ++arch/$(ARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.416 + include/config/MARKER
1.417 +
1.418 +-include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
1.419 ++include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.asm
1.420 + $(call filechk,gen-asm-offsets)
1.421 +
1.422 + ifdef CONFIG_6xx
1.423 +@@ -104,4 +104,4 @@
1.424 + endif
1.425 +
1.426 + CLEAN_FILES += include/asm-$(ARCH)/offsets.h \
1.427 +- arch/$(ARCH)/kernel/asm-offsets.s
1.428 ++ arch/$(ARCH)/kernel/asm-offsets.asm
1.429 +diff -ur linux-2.6.7/arch/ppc/kernel/Makefile linux-2.6.7-mod/arch/ppc/kernel/Makefile
1.430 +--- linux-2.6.7/arch/ppc/kernel/Makefile Fri Jun 18 22:51:24 2004
1.431 ++++ linux-2.6.7-mod/arch/ppc/kernel/Makefile Sat Jun 19 12:43:10 2004
1.432 +@@ -15,7 +15,7 @@
1.433 + extra-$(CONFIG_8xx) := head_8xx.o
1.434 + extra-$(CONFIG_6xx) += idle_6xx.o
1.435 + extra-$(CONFIG_POWER4) += idle_power4.o
1.436 +-extra-y += vmlinux.lds.s
1.437 ++extra-y += vmlinux.lds.asm
1.438 +
1.439 + obj-y := entry.o traps.o irq.o idle.o time.o misc.o \
1.440 + process.o signal.o ptrace.o align.o \
1.441 +diff -ur linux-2.6.7/arch/ppc64/Makefile linux-2.6.7-mod/arch/ppc64/Makefile
1.442 +--- linux-2.6.7/arch/ppc64/Makefile Fri Jun 18 22:51:26 2004
1.443 ++++ linux-2.6.7-mod/arch/ppc64/Makefile Sat Jun 19 12:54:32 2004
1.444 +@@ -67,10 +67,10 @@
1.445 +
1.446 + prepare: include/asm-ppc64/offsets.h
1.447 +
1.448 +-arch/ppc64/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.449 ++arch/ppc64/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.450 + include/config/MARKER
1.451 +
1.452 +-include/asm-ppc64/offsets.h: arch/ppc64/kernel/asm-offsets.s
1.453 ++include/asm-ppc64/offsets.h: arch/ppc64/kernel/asm-offsets.asm
1.454 + $(call filechk,gen-asm-offsets)
1.455 +
1.456 + define archhelp
1.457 +diff -ur linux-2.6.7/arch/ppc64/kernel/Makefile linux-2.6.7-mod/arch/ppc64/kernel/Makefile
1.458 +--- linux-2.6.7/arch/ppc64/kernel/Makefile Mon May 10 04:33:20 2004
1.459 ++++ linux-2.6.7-mod/arch/ppc64/kernel/Makefile Sat Jun 19 12:54:39 2004
1.460 +@@ -3,7 +3,7 @@
1.461 + #
1.462 +
1.463 + EXTRA_CFLAGS += -mno-minimal-toc
1.464 +-extra-y := head.o vmlinux.lds.s
1.465 ++extra-y := head.o vmlinux.lds.asm
1.466 +
1.467 + obj-y := setup.o entry.o traps.o irq.o idle.o dma.o \
1.468 + time.o process.o signal.o syscalls.o misc.o ptrace.o \
1.469 +diff -ur linux-2.6.7/arch/s390/Makefile linux-2.6.7-mod/arch/s390/Makefile
1.470 +--- linux-2.6.7/arch/s390/Makefile Mon May 10 04:32:02 2004
1.471 ++++ linux-2.6.7-mod/arch/s390/Makefile Sat Jun 19 12:54:46 2004
1.472 +@@ -68,10 +68,10 @@
1.473 +
1.474 + prepare: include/asm-$(ARCH)/offsets.h
1.475 +
1.476 +-arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.477 ++arch/$(ARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.478 + include/config/MARKER
1.479 +
1.480 +-include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
1.481 ++include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.asm
1.482 + $(call filechk,gen-asm-offsets)
1.483 +
1.484 + CLEAN_FILES += include/asm-$(ARCH)/offsets.h
1.485 +diff -ur linux-2.6.7/arch/s390/kernel/Makefile linux-2.6.7-mod/arch/s390/kernel/Makefile
1.486 +--- linux-2.6.7/arch/s390/kernel/Makefile Mon May 10 04:33:20 2004
1.487 ++++ linux-2.6.7-mod/arch/s390/kernel/Makefile Sat Jun 19 12:54:52 2004
1.488 +@@ -10,7 +10,7 @@
1.489 +
1.490 + extra-$(CONFIG_ARCH_S390_31) += head.o
1.491 + extra-$(CONFIG_ARCH_S390X) += head64.o
1.492 +-extra-y += init_task.o vmlinux.lds.s
1.493 ++extra-y += init_task.o vmlinux.lds.asm
1.494 +
1.495 + obj-$(CONFIG_MODULES) += s390_ksyms.o module.o
1.496 + obj-$(CONFIG_SMP) += smp.o
1.497 +diff -ur linux-2.6.7/arch/sh/kernel/Makefile linux-2.6.7-mod/arch/sh/kernel/Makefile
1.498 +--- linux-2.6.7/arch/sh/kernel/Makefile Mon May 10 04:32:39 2004
1.499 ++++ linux-2.6.7-mod/arch/sh/kernel/Makefile Sat Jun 19 12:55:33 2004
1.500 +@@ -2,7 +2,7 @@
1.501 + # Makefile for the Linux/SuperH kernel.
1.502 + #
1.503 +
1.504 +-extra-y := head.o init_task.o vmlinux.lds.s
1.505 ++extra-y := head.o init_task.o vmlinux.lds.asm
1.506 +
1.507 + obj-y := process.o signal.o entry.o traps.o irq.o \
1.508 + ptrace.o setup.o time.o sys_sh.o semaphore.o \
1.509 +diff -ur linux-2.6.7/arch/sparc/Makefile linux-2.6.7-mod/arch/sparc/Makefile
1.510 +--- linux-2.6.7/arch/sparc/Makefile Fri Jun 18 22:51:29 2004
1.511 ++++ linux-2.6.7-mod/arch/sparc/Makefile Sat Jun 19 12:55:48 2004
1.512 +@@ -61,14 +61,14 @@
1.513 +
1.514 + prepare: include/asm-$(ARCH)/asm_offsets.h
1.515 +
1.516 +-arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.517 ++arch/$(ARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.518 + include/config/MARKER
1.519 +
1.520 +-include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
1.521 ++include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.asm
1.522 + $(call filechk,gen-asm-offsets)
1.523 +
1.524 + CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h \
1.525 +- arch/$(ARCH)/kernel/asm-offsets.s \
1.526 ++ arch/$(ARCH)/kernel/asm-offsets.asm \
1.527 + arch/$(ARCH)/boot/System.map
1.528 +
1.529 + # Don't use tabs in echo arguments.
1.530 +diff -ur linux-2.6.7/arch/sparc/kernel/Makefile linux-2.6.7-mod/arch/sparc/kernel/Makefile
1.531 +--- linux-2.6.7/arch/sparc/kernel/Makefile Mon May 10 04:33:13 2004
1.532 ++++ linux-2.6.7-mod/arch/sparc/kernel/Makefile Sat Jun 19 12:55:52 2004
1.533 +@@ -2,7 +2,7 @@
1.534 + # Makefile for the linux kernel.
1.535 + #
1.536 +
1.537 +-extra-y := head.o init_task.o vmlinux.lds.s
1.538 ++extra-y := head.o init_task.o vmlinux.lds.asm
1.539 +
1.540 + EXTRA_AFLAGS := -ansi
1.541 +
1.542 +diff -ur linux-2.6.7/arch/sparc64/kernel/Makefile linux-2.6.7-mod/arch/sparc64/kernel/Makefile
1.543 +--- linux-2.6.7/arch/sparc64/kernel/Makefile Mon May 10 04:32:02 2004
1.544 ++++ linux-2.6.7-mod/arch/sparc64/kernel/Makefile Sat Jun 19 12:56:24 2004
1.545 +@@ -5,7 +5,7 @@
1.546 + EXTRA_AFLAGS := -ansi
1.547 + EXTRA_CFLAGS := -Werror
1.548 +
1.549 +-extra-y := head.o init_task.o vmlinux.lds.s
1.550 ++extra-y := head.o init_task.o vmlinux.lds.asm
1.551 +
1.552 + obj-y := process.o setup.o cpu.o idprom.o \
1.553 + traps.o devices.o auxio.o \
1.554 +diff -ur linux-2.6.7/arch/um/Makefile linux-2.6.7-mod/arch/um/Makefile
1.555 +--- linux-2.6.7/arch/um/Makefile Mon May 10 04:32:52 2004
1.556 ++++ linux-2.6.7-mod/arch/um/Makefile Sat Jun 19 12:57:07 2004
1.557 +@@ -77,7 +77,7 @@
1.558 + # CONFIG_MODE_SKAS + CONFIG_STATIC_LINK case.
1.559 +
1.560 + LINK_TT = -static
1.561 +-LD_SCRIPT_TT := uml.lds.s
1.562 ++LD_SCRIPT_TT := uml.lds.asm
1.563 +
1.564 + ifeq ($(CONFIG_STATIC_LINK),y)
1.565 + LINK-y += $(LINK_TT)
1.566 +@@ -103,11 +103,11 @@
1.567 + -DELF_FORMAT=\"$(ELF_FORMAT)\" $(CPP_MODE_TT) \
1.568 + -DKERNEL_STACK_SIZE=$(STACK_SIZE)
1.569 +
1.570 +-AFLAGS_$(LD_SCRIPT-y:.s=).o = $(AFLAGS_vmlinux.lds.o) -P -C -Uum
1.571 ++AFLAGS_$(LD_SCRIPT-y:.asm=).o = $(AFLAGS_vmlinux.lds.o) -P -C -Uum
1.572 +
1.573 + LD_SCRIPT-y := $(ARCH_DIR)/$(LD_SCRIPT-y)
1.574 +
1.575 +-$(LD_SCRIPT-y) : $(LD_SCRIPT-y:.s=.S) scripts FORCE
1.576 ++$(LD_SCRIPT-y) : $(LD_SCRIPT-y:.asm=.S) scripts FORCE
1.577 + $(call if_changed_dep,as_s_S)
1.578 +
1.579 + linux: vmlinux $(LD_SCRIPT-y)
1.580 +@@ -122,8 +122,8 @@
1.581 + # To get a definition of F_SETSIG
1.582 + USER_CFLAGS += -D_GNU_SOURCE
1.583 +
1.584 +-CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/uml.lds.s \
1.585 +- $(ARCH_DIR)/dyn_link.ld.s $(GEN_HEADERS)
1.586 ++CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/uml.lds.asm \
1.587 ++ $(ARCH_DIR)/dyn_link.ld.asm $(GEN_HEADERS)
1.588 +
1.589 + $(ARCH_DIR)/main.o: $(ARCH_DIR)/main.c
1.590 + $(CC) $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
1.591 +diff -ur linux-2.6.7/arch/um/kernel/Makefile linux-2.6.7-mod/arch/um/kernel/Makefile
1.592 +--- linux-2.6.7/arch/um/kernel/Makefile Mon May 10 04:32:53 2004
1.593 ++++ linux-2.6.7-mod/arch/um/kernel/Makefile Sat Jun 19 12:57:15 2004
1.594 +@@ -3,7 +3,7 @@
1.595 + # Licensed under the GPL
1.596 + #
1.597 +
1.598 +-extra-y := vmlinux.lds.s
1.599 ++extra-y := vmlinux.lds.asm
1.600 +
1.601 + obj-y = checksum.o config.o exec_kern.o exitcode.o frame_kern.o frame.o \
1.602 + helper.o init_task.o irq.o irq_user.o ksyms.o mem.o mem_user.o \
1.603 +diff -ur linux-2.6.7/arch/v850/Makefile linux-2.6.7-mod/arch/v850/Makefile
1.604 +--- linux-2.6.7/arch/v850/Makefile Mon May 10 04:33:21 2004
1.605 ++++ linux-2.6.7-mod/arch/v850/Makefile Sat Jun 19 12:57:59 2004
1.606 +@@ -52,12 +52,12 @@
1.607 + prepare: include/asm-$(ARCH)/asm-consts.h
1.608 +
1.609 + # Generate constants from C code for use by asm files
1.610 +-arch/$(ARCH)/kernel/asm-consts.s: include/asm include/linux/version.h \
1.611 ++arch/$(ARCH)/kernel/asm-consts.asm: include/asm include/linux/version.h \
1.612 + include/config/MARKER
1.613 +
1.614 +-include/asm-$(ARCH)/asm-consts.h: arch/$(ARCH)/kernel/asm-consts.s
1.615 ++include/asm-$(ARCH)/asm-consts.h: arch/$(ARCH)/kernel/asm-consts.asm
1.616 + $(call filechk,gen-asm-offsets)
1.617 +
1.618 + CLEAN_FILES += include/asm-$(ARCH)/asm-consts.h \
1.619 +- arch/$(ARCH)/kernel/asm-consts.s \
1.620 ++ arch/$(ARCH)/kernel/asm-consts.asm \
1.621 + root_fs_image.o
1.622 +diff -ur linux-2.6.7/arch/v850/kernel/Makefile linux-2.6.7-mod/arch/v850/kernel/Makefile
1.623 +--- linux-2.6.7/arch/v850/kernel/Makefile Mon May 10 04:33:21 2004
1.624 ++++ linux-2.6.7-mod/arch/v850/kernel/Makefile Sat Jun 19 12:58:04 2004
1.625 +@@ -9,7 +9,7 @@
1.626 + # for more details.
1.627 + #
1.628 +
1.629 +-extra-y := head.o init_task.o vmlinux.lds.s
1.630 ++extra-y := head.o init_task.o vmlinux.lds.asm
1.631 +
1.632 + obj-y += intv.o entry.o process.o syscalls.o time.o semaphore.o setup.o \
1.633 + signal.o irq.o mach.o ptrace.o bug.o
1.634 +diff -ur linux-2.6.7/arch/x86_64/Makefile linux-2.6.7-mod/arch/x86_64/Makefile
1.635 +--- linux-2.6.7/arch/x86_64/Makefile Mon May 10 04:33:19 2004
1.636 ++++ linux-2.6.7-mod/arch/x86_64/Makefile Sat Jun 19 12:58:10 2004
1.637 +@@ -93,10 +93,10 @@
1.638 +
1.639 + prepare: include/asm-$(ARCH)/offset.h
1.640 +
1.641 +-arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
1.642 ++arch/$(ARCH)/kernel/asm-offsets.asm: include/asm include/linux/version.h \
1.643 + include/config/MARKER
1.644 +
1.645 +-include/asm-$(ARCH)/offset.h: arch/$(ARCH)/kernel/asm-offsets.s
1.646 ++include/asm-$(ARCH)/offset.h: arch/$(ARCH)/kernel/asm-offsets.asm
1.647 + $(call filechk,gen-asm-offsets)
1.648 +
1.649 + CLEAN_FILES += include/asm-$(ARCH)/offset.h
1.650 +diff -ur linux-2.6.7/arch/x86_64/kernel/Makefile linux-2.6.7-mod/arch/x86_64/kernel/Makefile
1.651 +--- linux-2.6.7/arch/x86_64/kernel/Makefile Fri Jun 18 22:51:32 2004
1.652 ++++ linux-2.6.7-mod/arch/x86_64/kernel/Makefile Sat Jun 19 12:58:17 2004
1.653 +@@ -2,7 +2,7 @@
1.654 + # Makefile for the linux kernel.
1.655 + #
1.656 +
1.657 +-extra-y := head.o head64.o init_task.o vmlinux.lds.s
1.658 ++extra-y := head.o head64.o init_task.o vmlinux.lds.asm
1.659 + EXTRA_AFLAGS := -traditional
1.660 + obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o \
1.661 + ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_x86_64.o \
1.662 +diff -ur linux-2.6.7/scripts/Makefile.build linux-2.6.7-mod/scripts/Makefile.build
1.663 +--- linux-2.6.7/scripts/Makefile.build Mon May 10 04:33:13 2004
1.664 ++++ linux-2.6.7-mod/scripts/Makefile.build Sat Jun 19 12:43:10 2004
1.665 +@@ -110,7 +110,7 @@
1.666 + quiet_cmd_cc_s_c = CC $(quiet_modtag) $@
1.667 + cmd_cc_s_c = $(CC) $(c_flags) -S -o $@ $<
1.668 +
1.669 +-%.s: %.c FORCE
1.670 ++%.asm: %.c FORCE
1.671 + $(call if_changed_dep,cc_s_c)
1.672 +
1.673 + quiet_cmd_cc_i_c = CPP $(quiet_modtag) $@
1.674 +@@ -197,7 +197,7 @@
1.675 + quiet_cmd_as_s_S = CPP $(quiet_modtag) $@
1.676 + cmd_as_s_S = $(CPP) $(a_flags) -o $@ $<
1.677 +
1.678 +-%.s: %.S FORCE
1.679 ++%.asm: %.S FORCE
1.680 + $(call if_changed_dep,as_s_S)
1.681 +
1.682 + quiet_cmd_as_o_S = AS $(quiet_modtag) $@