]> git.ipfire.org Git - thirdparty/gcc.git/commit
LoongArch: Assign the '/u' attribute to the mem to which the global offset table...
authorLulu Cheng <chenglulu@loongson.cn>
Fri, 12 Jan 2024 09:06:30 +0000 (17:06 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Thu, 18 Jan 2024 07:23:15 +0000 (15:23 +0800)
commitd78b7bdb9ac0514b542259d0f4c6d623d09fd830
treeb685f16c7e4212cf6be9aed07b11be98256655ae
parenta689c1f4865ea6d4c7d2a928a17894671642fa34
LoongArch: Assign the '/u' attribute to the mem to which the global offset table belongs.

gcc/ChangeLog:

* config/loongarch/loongarch.cc (loongarch_split_symbol):
Assign the '/u' attribute to the mem.

gcc/testsuite/ChangeLog:

* g++.target/loongarch/got-load.C: New test.
gcc/config/loongarch/loongarch.cc
gcc/testsuite/g++.target/loongarch/got-load.C [new file with mode: 0644]