Re: [PATCH] backends: check_special_symbol _GLOBAL_OFFSET_TABLE_ points inside .got

2024-12-31 Thread Mark Wielaard
Hi, On Mon, 2024-12-30 at 01:25 +0100, Mark Wielaard wrote: > If desthdr is ".got.plt" search for the actual ".got" section and make > sure the _GLOBAL_OFFSET_TABLE_ points to it. > > * backends/riscv_symbol.c (riscv_check_special_symbol): Check > sname is ".got.plt", find ".got" scn to

[PATCH] backends: check_special_symbol _GLOBAL_OFFSET_TABLE_ points inside .got

2024-12-29 Thread Mark Wielaard
If desthdr is ".got.plt" search for the actual ".got" section and make sure the _GLOBAL_OFFSET_TABLE_ points to it. * backends/riscv_symbol.c (riscv_check_special_symbol): Check sname is ".got.plt", find ".got" scn to check sym st_value. Signed-off-by: Mark Wielaard --- backends/riscv