Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
097867de
Commit
097867de
authored
Feb 13, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loader: Rename the elf_hash function to avoid conflicts.
parent
3b8ab28c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
preloader.c
loader/preloader.c
+2
-2
No files found.
loader/preloader.c
View file @
097867de
...
...
@@ -912,7 +912,7 @@ static void map_so_lib( const char *name, struct wld_link_map *l)
}
static
unsigned
int
elf_hash
(
const
char
*
name
)
static
unsigned
int
wld_
elf_hash
(
const
char
*
name
)
{
unsigned
int
hi
,
hash
=
0
;
while
(
*
name
)
...
...
@@ -1006,7 +1006,7 @@ static void *find_symbol( const ElfW(Phdr) *phdr, int num, const char *var, int
}
else
if
(
hashtab
)
/* old style hash table */
{
const
unsigned
int
hash
=
elf_hash
(
var
);
const
unsigned
int
hash
=
wld_
elf_hash
(
var
);
const
Elf_Symndx
nbuckets
=
hashtab
[
0
];
const
Elf_Symndx
*
buckets
=
hashtab
+
2
;
const
Elf_Symndx
*
chains
=
buckets
+
nbuckets
;
...
...
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