tools: record and process source/dest banks to fix data reloc bug
authorAlan Cox <alan@linux.intel.com>
Fri, 13 Jul 2018 23:07:51 +0000 (00:07 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 13 Jul 2018 23:07:51 +0000 (00:07 +0100)
commit2bb7b2231c3522703cd9c2759fe1f224a64e8b0d
tree783527b0d17e1723aac6df31ef22b2e08ecd285c
parent43d5489a0c923e220261a75338e85be500a4692d
tools: record and process source/dest banks to fix data reloc bug

Before if we had something like

extern char foo[];
char *x = foo;

and foo was banked the fixup code would try and write a code stub mashing
x in the process. Now it treats data to data references as intentional.
Kernel/tools/bankld/lkrloc3.c
Kernel/tools/binmunge.c