diff options
| author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-01-21 20:01:46 +0000 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-01-21 20:01:46 +0000 |
| commit | 15cdef0dbe210f95ceb50af43dbf56b6acf5bdd8 (patch) | |
| tree | 5e95769285ae749a007a6d1603d4a2955a6b7e4c /target/linux/patches/4.9.71/alpha-remove-coff.patch | |
| parent | 98e7234d863f406f76176bc395cd76a5c1c49cdc (diff) | |
linux: update to 4.9.77, refresh realtime patch
Diffstat (limited to 'target/linux/patches/4.9.71/alpha-remove-coff.patch')
| -rw-r--r-- | target/linux/patches/4.9.71/alpha-remove-coff.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/target/linux/patches/4.9.71/alpha-remove-coff.patch b/target/linux/patches/4.9.71/alpha-remove-coff.patch deleted file mode 100644 index 176db3c88..000000000 --- a/target/linux/patches/4.9.71/alpha-remove-coff.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff -Nur linux-4.9.71.orig/arch/alpha/boot/tools/objstrip.c linux-4.9.71/arch/alpha/boot/tools/objstrip.c ---- linux-4.9.71.orig/arch/alpha/boot/tools/objstrip.c 2017-12-20 10:07:34.000000000 +0100 -+++ linux-4.9.71/arch/alpha/boot/tools/objstrip.c 2017-12-30 21:23:09.114510547 +0100 -@@ -191,38 +191,8 @@ - prog_name, (long) elf_phdr->p_vaddr, - elf_phdr->p_vaddr + fil_size, offset); - } -- } else --#endif -- { -- aout = (struct exec *) buf; -- -- if (!(aout->fh.f_flags & COFF_F_EXEC)) { -- fprintf(stderr, "%s: %s is not in executable format\n", -- prog_name, inname); -- exit(1); -- } -- -- if (aout->fh.f_opthdr != sizeof(aout->ah)) { -- fprintf(stderr, "%s: %s has unexpected optional header size\n", -- prog_name, inname); -- exit(1); -- } -- -- if (N_MAGIC(*aout) != OMAGIC) { -- fprintf(stderr, "%s: %s is not an OMAGIC file\n", -- prog_name, inname); -- exit(1); -- } -- offset = N_TXTOFF(*aout); -- fil_size = aout->ah.tsize + aout->ah.dsize; -- mem_size = fil_size + aout->ah.bsize; -- -- if (verbose) { -- fprintf(stderr, "%s: extracting %#016lx-%#016lx (at %lx)\n", -- prog_name, aout->ah.text_start, -- aout->ah.text_start + fil_size, offset); -- } - } -+#endif - - if (lseek(fd, offset, SEEK_SET) != offset) { - perror("lseek"); |
