pkgsrc/cross/i386-netbsdpe/patches/binutils-aj
kent f36b17368a update based gcc and binutils.
- gcc 2.95.2 -> 3.3.3
 - binutils 030425 -> 2.15.90 (20040222)
2004-03-09 12:19:12 +00:00

13 lines
439 B
Text

$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);