linker: Fixup warning associated with .ARC.attributes section
With newer linker for ARC we can possibly get a warning like: real-ld: warning: orphan section `.ARC.attributes' from `(foo.o)' being placed in section `.ARC.attributes'. Fixes #11060 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
a834c53e91
commit
321c8202d2
1 changed files with 7 additions and 0 deletions
|
@ -289,4 +289,11 @@ SECTIONS {
|
|||
|
||||
#include <linker/debug-sections.ld>
|
||||
|
||||
|
||||
SECTION_PROLOGUE(.ARC.attributes, 0,)
|
||||
{
|
||||
KEEP(*(.ARC.attributes))
|
||||
KEEP(*(.gnu.attributes))
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue