mirror of
https://github.com/rui314/mold.git
synced 2024-09-22 02:20:51 +03:00
temporary
This commit is contained in:
parent
d1b4f15e49
commit
4f1249ea2a
@ -158,7 +158,8 @@ void InputSection::copy_buf() {
|
||||
write_val(rel.r_type, loc, val);
|
||||
};
|
||||
|
||||
#define S (ref ? ref->piece->get_addr() : sym.get_addr())
|
||||
#define S (ref ? ref->piece->get_addr() \
|
||||
: (sym.plt_idx == -1 ? sym.get_addr() : sym.get_plt_addr()))
|
||||
#define A (ref ? ref->addend : rel.r_addend)
|
||||
#define P (output_section->shdr.sh_addr + offset + rel.r_offset)
|
||||
#define L sym.get_plt_addr()
|
||||
|
Loading…
Reference in New Issue
Block a user