usr: Create objectfile for usr filesystem using .incbin
authorSam Ravnborg <sam@mars.ravnborg.org>
Thu, 19 Jun 2003 01:11:50 +0000 (03:11 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Thu, 19 Jun 2003 01:11:50 +0000 (03:11 +0200)
commit85e161f76549c9a25683f32f26600e8fdc714d2c
treea6656af55a68896b19efb5b72a529baf7ba5efef
parent015744f56788e809b76a5310b71ce21026e18698
usr: Create objectfile for usr filesystem using .incbin

Patch originally by HJ Lu.

The filesystem was previously embedded in a .o file using ld.
Embedding the filesystem using ld broke as a result ia64 and maybe more
architectures.

The better way to do this is to use the .incbin feature, as already
used for vsyscall for i386. .incbin has the advantage that ELH header
is correct, as required by ia64 - and maybe other archs.
This change will break architectures relying on binutils older than
2.11.90.0.23 released on 2001-07-14.
Most notably arm will break in some configurations due to this.
The rationale behing introducing .incbin is that ia64 needs this change
and the .incbin feature has been present in binutils for a number
of years now.
arm will thus have to catch up with binutils - or patch usr/Makefile
to stay compatible with the 2.5 kernel.

The definition of LDFLAGS_BLOB removed for all architectures - it was
obsoleted by this change.
Except for arm - that may require it due to the tool compatibility issue.
17 files changed:
arch/alpha/Makefile
arch/h8300/Makefile
arch/i386/Makefile
arch/m68k/Makefile
arch/m68knommu/Makefile
arch/parisc/Makefile
arch/ppc/Makefile
arch/ppc64/Makefile
arch/s390/Makefile
arch/sh/Makefile
arch/sparc/Makefile
arch/sparc64/Makefile
arch/v850/Makefile
arch/x86_64/Makefile
usr/Makefile
usr/initramfs_data.S [new file with mode: 0644]
usr/initramfs_data.scr [deleted file]