~ubuntu-branches/debian/squeeze/binutils/squeeze

« back to all changes in this revision

Viewing changes to bfd/archive64.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-09-10 17:05:30 UTC
  • mfrom: (1.4.5 upstream) (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090910170530-wa6gpju9pq5c56on
Tags: 2.19.91.20090910-1
* Snapshot, taken from the 2.20 release branch 20090910, corresponding
  to the 2.19.90 upstream snapshot.
* Fix Thumb-2 shared libraries (Daniel Jacobowitz), patch taken
  from the trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* MIPS-specific support for 64-bit ELF
2
 
   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007
 
2
   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007
3
3
   Free Software Foundation, Inc.
4
4
   Ian Lance Taylor, Cygnus Support
5
5
   Linker support added by Mark Mitchell, CodeSourcery, LLC.
95
95
  ptrsize = 8 * nsymz;
96
96
 
97
97
  amt = carsym_size + stringsize + 1;
98
 
  ardata->symdefs = bfd_zalloc (abfd, amt);
 
98
  ardata->symdefs = (struct carsym *) bfd_zalloc (abfd, amt);
99
99
  if (ardata->symdefs == NULL)
100
100
    return FALSE;
101
101
  carsyms = ardata->symdefs;
102
102
  stringbase = ((char *) ardata->symdefs) + carsym_size;
103
103
 
104
 
  raw_armap = bfd_alloc (abfd, ptrsize);
 
104
  raw_armap = (bfd_byte *) bfd_alloc (abfd, ptrsize);
105
105
  if (raw_armap == NULL)
106
106
    goto release_symdefs;
107
107