Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
603bb99c
Commit
603bb99c
authored
Oct 14, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] vmlinux.lds.S: Fix handling of .notes in final link.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
f5153ee0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
arch/mips/kernel/vmlinux.lds.S
arch/mips/kernel/vmlinux.lds.S
+9
-4
No files found.
arch/mips/kernel/vmlinux.lds.S
View file @
603bb99c
...
...
@@ -5,6 +5,10 @@
#define mips mips
OUTPUT_ARCH
(
mips
)
ENTRY
(
kernel_entry
)
PHDRS
{
text
PT_LOAD
FLAGS
(
7
)
; /* RWX */
note
PT_NOTE
FLAGS
(
4
)
; /* R__ */
}
jiffies
=
JIFFIES
;
SECTIONS
...
...
@@ -33,7 +37,7 @@ SECTIONS
LOCK_TEXT
*(.
fixup
)
*(.
gnu.warning
)
}
=
0
}
:
text
=
0
_etext
=
.
; /* End of text section */
/
*
Exception
table
*/
...
...
@@ -50,6 +54,10 @@ SECTIONS
*(
__dbe_table
)
__stop___dbe_table
=
.
;
}
NOTES
:
text
:
note
.
dummy
:
{
*(
.
dummy
)
}
:
text
RODATA
/
*
writeable
*/
...
...
@@ -200,7 +208,4 @@ SECTIONS
*(.
gptab.bss
)
*(.
gptab.sbss
)
}
.
note
:
{
*(.
note
)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment