Changeset 609 for branches/GNU/src/binutils/bfd/nlm.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/bfd/nlm.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* NLM (NetWare Loadable Module) executable support for BFD. 2 Copyright 1993, 1994 Free Software Foundation, Inc.2 Copyright 1993, 1994, 2001, 2002 Free Software Foundation, Inc. 3 3 4 4 This file is part of BFD, the Binary File Descriptor library. … … 26 26 information. */ 27 27 28 b oolean28 bfd_boolean 29 29 nlm_mkobject (abfd) 30 30 bfd * abfd; 31 31 { 32 nlm_tdata (abfd) =33 (struct nlm_obj_tdata *) bfd_zalloc (abfd, sizeof (struct nlm_obj_tdata));32 bfd_size_type amt = sizeof (struct nlm_obj_tdata); 33 nlm_tdata (abfd) = (struct nlm_obj_tdata *) bfd_zalloc (abfd, amt); 34 34 if (nlm_tdata (abfd) == NULL) 35 return (false);35 return FALSE; 36 36 37 37 if (nlm_architecture (abfd) != bfd_arch_unknown) … … 40 40 41 41 /* since everything is done at close time, do we need any initialization? */ 42 return (true);42 return TRUE; 43 43 } 44 44 45 45 /* Set the architecture and machine for an NLM object. */ 46 46 47 b oolean47 bfd_boolean 48 48 nlm_set_arch_mach (abfd, arch, machine) 49 49 bfd * abfd; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.