1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/.../arcload/wreck-abiflags.patch
5 # Copyright (C) 2020 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- arcload-0.5/ecoff/wreckoff.c.vanilla 2020-08-13 20:39:40.001439263 +0000
18 +++ arcload-0.5/ecoff/wreckoff.c 2020-08-13 20:38:56.649439263 +0000
20 shnames[i] = (strtabs[ehdr.e_shstrndx] + shdr.sh_name);
22 if((shdr.sh_flags & SHF_ALLOC)) {
23 - if(shdr.sh_type == SHT_REGINFO) {
24 + if(shdr.sh_type == SHT_REGINFO || shdr.sh_type == 0x7000002A) {
25 fseek(f, shdr.sh_offset, SEEK_SET);
26 fread(®info, sizeof(Elf32_RegInfo), 1, f);
27 swap_RegInfo(®info);