Commit bfc1ce37 authored by Paul Mackerras's avatar Paul Mackerras

PPC32: Discard the __ksymtab* sections when we are linking the boot wrapper.

parent 5acf5ff0
OUTPUT_ARCH(powerpc) OUTPUT_ARCH(powerpc)
SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
/* Do we need any of these for elf?
__DYNAMIC = 0; */
SECTIONS SECTIONS
{ {
/* Read-only sections, merged into text segment: */ /* Read-only sections, merged into text segment: */
...@@ -80,4 +77,10 @@ SECTIONS ...@@ -80,4 +77,10 @@ SECTIONS
} }
_end = . ; _end = . ;
PROVIDE (end = .); PROVIDE (end = .);
/DISCARD/ : {
*(__ksymtab)
*(__ksymtab_strings)
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment