From: Alan Modra Date: Mon, 25 Oct 2010 07:02:19 +0000 (+0000) Subject: * opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal. X-Git-Tag: binutils-2_21-branchpoint~116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59a9808d562f9b79249a16345b18c01f5a54342a;p=external%2Fbinutils.git * opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal. * libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here. * libbfd.h: Regenerate * bfd-in2.h: Regenerate. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 78d9326..7017b15 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ 2010-10-25 Alan Modra + * opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal. + * libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here. + * libbfd.h: Regenerate + * bfd-in2.h: Regenerate. + +2010-10-25 Alan Modra + * opncls.c (_bfd_id_counter): Rename to bfd_id_counter. (bfd_reserved_id_counter, bfd_use_reserved_id): New vars. (_bfd_new_bfd): Use negative id when bfd_use_reserved_id. @@ -68,7 +75,7 @@ (elf_backend_static_tls_alignment): Redefine for Solaris 2. Undef again for Intel L1OM. -2010-10-14 Dave Korn +2010-10-14 Dave Korn Apply LD plugin patch series (part 6/6). * aoutx.h (aout_link_check_ar_symbols): Take new "subsbfd" reference @@ -197,7 +204,7 @@ Delete. (elf32_tic6x_rel_relocation_p): Adjusted to match changes in data structures. - * elf32-microblaze.c (microblaze_elf_check_relocs): Use + * elf32-microblaze.c (microblaze_elf_check_relocs): Use _bfd_elf_single_rel_hdr. * elf32-ppc.c (ppc_elf_relax_section): Likewise. * elf32-spu.c (spu_elf_relocate_section): Likewise. diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index b1228e8..cbbb0f6 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1001,6 +1001,10 @@ bfd_boolean bfd_make_writable (bfd *abfd); bfd_boolean bfd_make_readable (bfd *abfd); +void *bfd_alloc (bfd *abfd, bfd_size_type wanted); + +void *bfd_zalloc (bfd *abfd, bfd_size_type wanted); + unsigned long bfd_calc_gnu_debuglink_crc32 (unsigned long crc, const unsigned char *buf, bfd_size_type len); diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h index b5b614c..f0d8fba 100644 --- a/bfd/libbfd-in.h +++ b/bfd/libbfd-in.h @@ -118,10 +118,6 @@ extern bfd_error_handler_type _bfd_error_handler; /* These routines allocate and free things on the BFD's objalloc. */ -extern void *bfd_alloc - (bfd *, bfd_size_type); -extern void *bfd_zalloc - (bfd *, bfd_size_type); extern void *bfd_alloc2 (bfd *, bfd_size_type, bfd_size_type); extern void *bfd_zalloc2 diff --git a/bfd/libbfd.h b/bfd/libbfd.h index fb16333..c5fa67f 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -123,10 +123,6 @@ extern bfd_error_handler_type _bfd_error_handler; /* These routines allocate and free things on the BFD's objalloc. */ -extern void *bfd_alloc - (bfd *, bfd_size_type); -extern void *bfd_zalloc - (bfd *, bfd_size_type); extern void *bfd_alloc2 (bfd *, bfd_size_type, bfd_size_type); extern void *bfd_zalloc2 diff --git a/bfd/opncls.c b/bfd/opncls.c index d6d6452..3597dae 100644 --- a/bfd/opncls.c +++ b/bfd/opncls.c @@ -892,7 +892,7 @@ bfd_make_readable (bfd *abfd) } /* -INTERNAL_FUNCTION +FUNCTION bfd_alloc SYNOPSIS @@ -960,7 +960,7 @@ bfd_alloc2 (bfd *abfd, bfd_size_type nmemb, bfd_size_type size) } /* -INTERNAL_FUNCTION +FUNCTION bfd_zalloc SYNOPSIS