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
Kirill Smelkov
linux
Commits
709c572c
Commit
709c572c
authored
Jul 31, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jul 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] allow 2.6 to build on old old setups
(Mikael Pettersson)
parent
f907df50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
scripts/modpost.c
scripts/modpost.c
+2
-0
No files found.
scripts/modpost.c
View file @
709c572c
...
@@ -296,12 +296,14 @@ handle_modversions(struct module *mod, struct elf_info *info,
...
@@ -296,12 +296,14 @@ handle_modversions(struct module *mod, struct elf_info *info,
/* ignore global offset table */
/* ignore global offset table */
if
(
strcmp
(
symname
,
"_GLOBAL_OFFSET_TABLE_"
)
==
0
)
if
(
strcmp
(
symname
,
"_GLOBAL_OFFSET_TABLE_"
)
==
0
)
break
;
break
;
#ifdef STT_REGISTER
if
(
info
->
hdr
->
e_machine
==
EM_SPARC
||
if
(
info
->
hdr
->
e_machine
==
EM_SPARC
||
info
->
hdr
->
e_machine
==
EM_SPARCV9
)
{
info
->
hdr
->
e_machine
==
EM_SPARCV9
)
{
/* Ignore register directives. */
/* Ignore register directives. */
if
(
ELF_ST_TYPE
(
sym
->
st_info
)
==
STT_REGISTER
)
if
(
ELF_ST_TYPE
(
sym
->
st_info
)
==
STT_REGISTER
)
break
;
break
;
}
}
#endif
if
(
memcmp
(
symname
,
MODULE_SYMBOL_PREFIX
,
if
(
memcmp
(
symname
,
MODULE_SYMBOL_PREFIX
,
strlen
(
MODULE_SYMBOL_PREFIX
))
==
0
)
{
strlen
(
MODULE_SYMBOL_PREFIX
))
==
0
)
{
...
...
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