https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937
--- Comment #8 from Ellery ---
(In reply to Andrew Pinski from comment #7)
> Can you attach the file ./arch/arm64/kernel/module.lds ?
Thanks a lot.
It turns out that my scripts/module-common.lds and arch/arm64/kernel/module.lds
both define a pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937
--- Comment #6 from Ellery ---
(In reply to Andrew Pinski from comment #5)
> So according to the linux kernel modules linker script, it should have
> combined the .plt sections.
>
> So I am thinking this is a linux kernel issue with an older ve
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937
--- Comment #4 from Ellery ---
(In reply to Andrew Pinski from comment #2)
> >I changed my gcc from 7.3.0 to 10.3.1 and recompiled kernel code.
>
>
> Did you change binutils version too?
binutils was changed too,
from
```
binutils-devel-2.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937
Bug ID: 115937
Summary: duplicate .plt in module's elf header
Product: gcc
Version: 10.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c