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
db0b3815
Commit
db0b3815
authored
Jan 06, 2003
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ALPHA] Adjust signature of module_frob_arch_sections.
parent
10d43ec6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
arch/alpha/kernel/module.c
arch/alpha/kernel/module.c
+4
-5
No files found.
arch/alpha/kernel/module.c
View file @
db0b3815
...
...
@@ -87,13 +87,12 @@ process_reloc_for_got(Elf64_Rela *rela,
}
int
module_frob_arch_sections
(
const
Elf64_Ehdr
*
hdr
,
const
Elf64_Shdr
*
sechdrs
,
c
onst
c
har
*
secstrings
,
struct
module
*
me
)
module_frob_arch_sections
(
Elf64_Ehdr
*
hdr
,
Elf64_Shdr
*
sechdrs
,
char
*
secstrings
,
struct
module
*
me
)
{
struct
got_entry
*
chains
;
Elf64_Rela
*
rela
;
const
Elf64_Shdr
*
esechdrs
,
*
symtab
,
*
s
;
Elf64_Shdr
*
got
;
Elf64_Shdr
*
esechdrs
,
*
symtab
,
*
s
,
*
got
;
unsigned
long
nsyms
,
nrela
,
i
;
esechdrs
=
sechdrs
+
hdr
->
e_shnum
;
...
...
@@ -106,7 +105,7 @@ module_frob_arch_sections(const Elf64_Ehdr *hdr, const Elf64_Shdr *sechdrs,
if
(
s
->
sh_type
==
SHT_SYMTAB
)
symtab
=
s
;
else
if
(
!
strcmp
(
".got"
,
secstrings
+
s
->
sh_name
))
{
got
=
(
Elf64_Shdr
*
)
s
;
got
=
s
;
me
->
arch
.
gotsecindex
=
s
-
sechdrs
;
}
...
...
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