From 8092777c55d93a34ca94623fa65ce53236947d89 Mon Sep 17 00:00:00 2001 From: WanZhiYu Date: Fri, 17 Jan 2025 10:14:48 +0800 Subject: [PATCH] =?UTF-8?q?set=5Fbinding=E5=9C=A8=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=BB=93=E6=9E=84=E4=BD=93=E6=97=B6=E4=B8=8D=E5=BA=94=E5=BD=93?= =?UTF-8?q?=E4=BD=BF=E7=94=A8const=E4=BF=AE=E9=A5=B0=E7=AC=A6=E4=BF=AE?= =?UTF-8?q?=E9=A5=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- elf/data.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elf/data.hh b/elf/data.hh index ed5c7a1..9505463 100644 --- a/elf/data.hh +++ b/elf/data.hh @@ -553,7 +553,7 @@ struct Sym return (stb)(info >> 4); } - void set_binding(stb v) const + void set_binding(stb v) { info = (info & 0xF) | ((unsigned char)v << 4); } -- Gitee