summaryrefslogtreecommitdiff
path: root/rts/linker
diff options
context:
space:
mode:
authorNicolas Trangez <ikke@nicolast.be>2022-10-30 20:32:51 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-11-02 12:06:48 -0400
commitf963865452187eb7637fddcdfcd2f506ff1f34cf (patch)
treec048b257e50e9b0f5938458b5b83a81c11592044 /rts/linker
parent6b400d264647207d3217fd5af45a4b20c4d402d4 (diff)
downloadhaskell-f963865452187eb7637fddcdfcd2f506ff1f34cf.tar.gz
rts: consistently use `STG_UNUSED`
Diffstat (limited to 'rts/linker')
-rw-r--r--rts/linker/Elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c
index b6473bb2a8..bbcd8b4208 100644
--- a/rts/linker/Elf.c
+++ b/rts/linker/Elf.c
@@ -2054,7 +2054,7 @@ struct piterate_cb_info {
};
static int loadNativeObjCb_(struct dl_phdr_info *info,
- size_t _size GNUC3_ATTRIBUTE(__unused__), void *data) {
+ size_t _size STG_UNUSED, void *data) {
struct piterate_cb_info *s = (struct piterate_cb_info *) data;
// This logic mimicks _dl_addr_inside_object from glibc