projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bfd/
[deliverable/binutils-gdb.git]
/
ld
/
pe-dll.c
diff --git
a/ld/pe-dll.c
b/ld/pe-dll.c
index 2b5609c09f2f95a6d73d5a9e7c9febfb8b084cad..0d0ecda87db72da523a49660ab4401a40a123f4d 100644
(file)
--- a/
ld/pe-dll.c
+++ b/
ld/pe-dll.c
@@
-398,7
+398,7
@@
auto_export (bfd *abfd, def_file *d, const char *n)
libname = lbasename (abfd->my_archive->filename);
/* We should not re-export imported stuff. */
libname = lbasename (abfd->my_archive->filename);
/* We should not re-export imported stuff. */
- if (strncmp (n, "_imp_
_", 6
) == 0)
+ if (strncmp (n, "_imp_
", 5
) == 0)
return 0;
for (i = 0; i < d->num_exports; i++)
return 0;
for (i = 0; i < d->num_exports; i++)
@@
-515,7
+515,7
@@
process_def_file (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_link_info *info)
s = bfd_get_section_by_name (b, ".drectve");
if (s)
{
s = bfd_get_section_by_name (b, ".drectve");
if (s)
{
-
int size = bfd_get_section_size (s)
;
+
long size = s->size
;
char *buf = xmalloc (size);
bfd_get_section_contents (b, s, buf, 0, size);
char *buf = xmalloc (size);
bfd_get_section_contents (b, s, buf, 0, size);
@@
-1252,7
+1252,7
@@
generate_reloc (bfd *abfd, struct bfd_link_info *info)
if (page_ptr != (unsigned long) -1)
bfd_put_32 (abfd, reloc_sz - page_ptr, reloc_d + page_ptr + 4);
if (page_ptr != (unsigned long) -1)
bfd_put_32 (abfd, reloc_sz - page_ptr, reloc_d + page_ptr + 4);
- while (reloc_sz < reloc_s->
_raw_
size)
+ while (reloc_sz < reloc_s->size)
reloc_d[reloc_sz++] = 0;
}
reloc_d[reloc_sz++] = 0;
}
This page took
0.02434 seconds
and
4
git commands to generate.