commit | 9a33a0b9c65e587c3142600571f59efb25c973f9 | [log] [tgz] |
---|---|---|
author | Xin Wang <yw987194828@gmail.com> | Fri Aug 16 11:28:10 2024 +0800 |
committer | liuzhensong <liuzhensong@loongson.cn> | Sat Sep 07 10:07:13 2024 +0800 |
tree | 4526bf8082f619700648f0fb377a86609527ccee | |
parent | 2bbe1079021228795905938a4c4ce5f71575a20b [diff] |
Not append rela for absolute symbol LoongArch: Not append rela for absolute symbol Use la.global to get absolute symbol like la.abs. la.global put address of a global symbol into a got entry and append a rela for it, which will be used to relocate by dynamic linker. Dynamic linker should not relocate for got entry of absolute symbol as it stores symval not symbol's address.