Jakub Konka f67e756211 zld: adjust signed displacement source target addr
Previously, I mistakenly assumed that offset of the relocation
is enough when calculating relative offset of the target from the
source target section base address in case of section-based relocs
on x86_64. While this is true for `__TEXT,__text` section which
always starts at 0x0 in object files, this is absolutely not true
for `__TEXT,__StaticInit` section which will have nonzero base
address hence resulting in incorrect displacement calculations for
SIGNED relocs.
2021-05-09 16:24:53 +02:00
..
2021-04-08 22:38:13 -07:00
2021-04-06 18:17:37 -07:00
2021-04-08 05:26:56 +08:00
2021-02-10 11:50:55 -08:00
2021-05-08 15:15:30 +03:00
2020-09-21 18:38:55 -07:00
2018-10-27 11:35:01 -04:00
2020-12-16 12:18:14 +01:00
2020-12-16 12:18:14 +01:00
2021-04-08 22:38:13 -07:00