* updated firefox (133.0.3 -> 134.0.2)
[t2sde.git] / package / boot / grub2 / hotfix-riscv32.patch
blobb41c81555b25b2c7f49c628033cc967fcfe83d1c
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/grub2/hotfix-riscv32.patch
3 # Copyright (C) 2022 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- grub-2.06/util/grub-mkimagexx.c.vanilla 2022-07-10 22:11:00.577549952 +0200
15 +++ grub-2.06/util/grub-mkimagexx.c 2022-07-10 22:11:39.600551965 +0200
16 @@ -1298,7 +1298,7 @@
17 grub_uint32_t hi20, lo12;
19 if (off != (grub_int32_t)off)
20 - grub_util_error ("target %lx not reachable from pc=%lx", (long)sym_addr, (long)((char *)target - (char *)e));
21 + grub_util_warn ("target %lx not reachable from pc=%lx", (long)sym_addr, (long)((char *)target - (char *)e));
23 hi20 = (off + 0x800) & 0xfffff000;
24 lo12 = (off - hi20) & 0xfff;
25 @@ -1337,7 +1337,7 @@
26 grub_int32_t hi20;
28 if (off != (grub_int32_t)off)
29 - grub_util_error ("target %lx not reachable from pc=%lx", (long)sym_addr, (long)((char *)target - (char *)e));
30 + grub_util_warn ("target %lx not reachable from pc=%lx", (long)sym_addr, (long)((char *)target - (char *)e));
32 hi20 = (off + 0x800) & 0xfffff000;
33 *t32 = grub_host_to_target32 ((grub_target_to_host32 (*t32) & 0xfff) | hi20);