projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d277fb
)
(handle_file): Swap p_type.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 21 Dec 2002 21:39:34 +0000
(21:39 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 21 Dec 2002 21:39:34 +0000
(21:39 +0000)
elf/check-textrel.c
patch
|
blob
|
history
diff --git
a/elf/check-textrel.c
b/elf/check-textrel.c
index
c0592a2
..
69210b2
100644
(file)
--- a/
elf/check-textrel.c
+++ b/
elf/check-textrel.c
@@
-78,7
+78,7
@@
AB(handle_file) (const char *fname, int fd)
/* Search for the PT_DYNAMIC entry. */
size_t cnt;
for (cnt = 0; cnt < phnum; ++cnt)
- if (
phdr[cnt].p_type
== PT_DYNAMIC)
+ if (
SWAP (phdr[cnt].p_type)
== PT_DYNAMIC)
break;
if (cnt == phnum)