Hi, On Sat, Apr 01, 2023 at 11:18:53AM +0800, Youling Tang wrote: > Add handling of _GLOBAL_OFFSET_TABLE_. > > Before applying the patch: > $ ./src/elflint --gnu-ld ./src/elflint > section [35] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x68548 > does not match .got.plt section address 0x68238 > > After applying the patch: > $ ./src/elflint --gnu-ld ./src/elflint > No errors
Thanks, code looks correct. I agree that the other issue mentioned (_DYNAMIC symbol size 0) is a separate issue. Pushed, Mark