diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2008-03-25 18:39:15 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-03-25 18:39:15 -0400 |
commit | 9df7a8f62268a05e3bc8be2b2f8f95c522fd9ccc (patch) | |
tree | 72eb998fbf34c0b4bfc3b58298ac538df95d5124 | |
parent | 56ce835b608343b22e1e46e5bb913b87c162486e (diff) |
[Blackfin] arch: remove NOTES from linker script
Since
r3658 | vapier | 2007-09-12 16:26:11 +0200 (Wed, 12 Sep 2007) | 1 line
add more common defines for output sections
we've had a new line, NOTES, in our linker script, which causes upstream
binutils to complain about "missing phdr". Currently the only other arch
that uses NOTES is i386, and the patch which added it also added
PHDRS {
text PT_LOAD FLAGS(5); /* R_E */
data PT_LOAD FLAGS(7); /* RWE */
note PT_NOTE FLAGS(0); /* ___ */
}
and a few other modifications to use ":text" and ":data" to the linker
script.
It seems that we don't need NOTES at all, so just remove it.
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
-rw-r--r-- | arch/blackfin/kernel/vmlinux.lds.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S index cb01a9de2680..7a1200328aca 100644 --- a/arch/blackfin/kernel/vmlinux.lds.S +++ b/arch/blackfin/kernel/vmlinux.lds.S | |||
@@ -223,8 +223,6 @@ SECTIONS | |||
223 | 223 | ||
224 | DWARF_DEBUG | 224 | DWARF_DEBUG |
225 | 225 | ||
226 | NOTES | ||
227 | |||
228 | /DISCARD/ : | 226 | /DISCARD/ : |
229 | { | 227 | { |
230 | EXIT_TEXT | 228 | EXIT_TEXT |