1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: binutils-aj,v 1.1 2004/03/09 12:19:12 kent Exp $
--- ld/pe-dll.c.orig 2003-11-09 03:47:30.000000000 +0900
+++ ld/pe-dll.c
@@ -1934,7 +1934,7 @@ make_singleton_name_thunk (const char *i
quick_symbol (abfd, U ("_nm_"), import, "", UNDSEC, BSF_GLOBAL, 0);
bfd_set_section_size (abfd, id4, 8);
- d4 = xmalloc (4);
+ d4 = xmalloc (8);
id4->contents = d4;
memset (d4, 0, 8);
quick_reloc (abfd, 0, BFD_RELOC_RVA, 2);
|