wok-current rev 24592
.bin files don't have .note.gnu.property section
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 01 10:06:20 2022 +0000 (2022-03-01) |
parents | d2113b0b8c40 |
children | 633a990fb38c |
files | ipxe/receipt linld/receipt memtest/receipt plop/receipt runcom/receipt syslinux/stuff/iso2exe/Makefile |
line diff
1.1 --- a/ipxe/receipt Mon Feb 28 17:48:46 2022 +0100 1.2 +++ b/ipxe/receipt Tue Mar 01 10:06:20 2022 +0000 1.3 @@ -53,7 +53,7 @@ 1.4 bin/ipxe.exe EMBED=$stuff/ipxe.cmd 1.5 cp $stuff/bootloader.S . 1.6 cc -o bootloader.o -Wa,-a=bootloader.lst -c bootloader.S 1.7 - objcopy -O binary bootloader.o bootloader.bin 1.8 + objcopy --only-section=.text -O binary bootloader.o bootloader.bin 1.9 size=$(stat -c %s bin/ipxe.lkrn) 1.10 while read ofs val ; do 1.11 printf '\\\\x%02X\\\\x%02X' $(($val & 255)) $(($val / 256)) | \
2.1 --- a/linld/receipt Mon Feb 28 17:48:46 2022 +0100 2.2 +++ b/linld/receipt Tue Mar 01 10:06:20 2022 +0000 2.3 @@ -54,7 +54,7 @@ 2.4 objdump -D -b binary -mi386 -Maddr16,data16 --adjust-vma=0x100 \ 2.5 linld.com > linld.lst 2.6 cc -o tobzimage.o -Wa,-algms=tobzimage.lst -c $stuff/tobzimage.S 2.7 - objcopy -O binary tobzimage.o tobzimage.bin 2.8 + objcopy --only-section=.text -O binary tobzimage.o tobzimage.bin 2.9 cp $stuff/tobzimage . 2.10 ./tobzimage --build 2.11 }
3.1 --- a/memtest/receipt Mon Feb 28 17:48:46 2022 +0100 3.2 +++ b/memtest/receipt Tue Mar 01 10:06:20 2022 +0000 3.3 @@ -29,7 +29,7 @@ 3.4 done 3.5 for i in bootloader unpack ; do 3.6 cc -o $i.o -Wa,-a=$i.lst -c $i.S 3.7 - objcopy -O binary $i.o $i.bin 3.8 + objcopy --only-section=.text -O binary $i.o $i.bin 3.9 done 3.10 ./pack --build bootloader.bin unpack.bin 3.11 }
4.1 --- a/plop/receipt Mon Feb 28 17:48:46 2022 +0100 4.2 +++ b/plop/receipt Tue Mar 01 10:06:20 2022 +0000 4.3 @@ -28,7 +28,7 @@ 4.4 done 4.5 for i in bootloader unpack ; do 4.6 cc -o $i.o -Wa,-a=$i.lst -c $i.S 4.7 - objcopy -O binary $i.o $i.bin 4.8 + objcopy --only-section=.text -O binary $i.o $i.bin 4.9 done 4.10 ./pack --build bootloader.bin unpack.bin 4.11 }
5.1 --- a/runcom/receipt Mon Feb 28 17:48:46 2022 +0100 5.2 +++ b/runcom/receipt Tue Mar 01 10:06:20 2022 +0000 5.3 @@ -21,7 +21,7 @@ 5.4 mkdir -p $DESTDIR/usr/bin 5.5 cc -o $DESTDIR/usr/bin/runcom $stuff/runcom.c 5.6 cc -o $src/debug.o -Wa,-a=$src/debug.lst -c $stuff/debug.S 5.7 - objcopy -O binary $src/debug.o $DESTDIR/usr/bin/debug.bin 5.8 + objcopy --only-section=.text -O binary $src/debug.o $DESTDIR/usr/bin/debug.bin 5.9 cp $stuff/debug.com $DESTDIR/usr/bin 5.10 chmod +x $DESTDIR/usr/bin/debug.* 5.11 }
6.1 --- a/syslinux/stuff/iso2exe/Makefile Mon Feb 28 17:48:46 2022 +0100 6.2 +++ b/syslinux/stuff/iso2exe/Makefile Tue Mar 01 10:06:20 2022 +0000 6.3 @@ -10,7 +10,7 @@ 6.4 6.5 meminfo.exe: meminfo.S 6.6 cc -o meminfo.o -Wa,-a=meminfo.lst -c meminfo.S 6.7 - objcopy -O binary meminfo.o meminfo.exe 6.8 + objcopy --only-section=.text -O binary meminfo.o meminfo.exe 6.9 chmod +x $@ 6.10 6.11 iso2exe: iso2exe.sh bootiso.bin win32.exe 6.12 @@ -50,7 +50,7 @@ 6.13 6.14 %.bin: %.S 6.15 $(GCC) -D__ASSEMBLY__ -DMULTI_INITRD -Wa,-acghlnm=$*.lst -c -o $*.o $< 6.16 - objcopy -O binary $*.o $@ 6.17 + objcopy --only-section=.text -O binary $*.o $@ 6.18 chmod +x $@ 6.19 6.20 %.lst: %.bin