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
45b38a50
Commit
45b38a50
authored
Jan 04, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Report more detail when unable to resolve module relocations.
parent
054143a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
arch/arm/kernel/module.c
arch/arm/kernel/module.c
+4
-3
No files found.
arch/arm/kernel/module.c
View file @
45b38a50
...
...
@@ -123,9 +123,10 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
if
(
offset
&
3
||
offset
<=
(
s32
)
0xfc000000
||
offset
>=
(
s32
)
0x04000000
)
{
printk
(
KERN_ERR
"%s: unable to fixup "
"relocation: out of range
\n
"
,
module
->
name
);
printk
(
KERN_ERR
"%s: relocation out of range, section "
"%d reloc %d sym '%s'
\n
"
,
module
->
name
,
relindex
,
i
,
strtab
+
sym
->
st_name
);
return
-
ENOEXEC
;
}
...
...
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