* opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal.
authorAlan Modra <amodra@gmail.com>
Mon, 25 Oct 2010 07:02:19 +0000 (07:02 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 25 Oct 2010 07:02:19 +0000 (07:02 +0000)
* libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here.
* libbfd.h: Regenerate
* bfd-in2.h: Regenerate.

bfd/ChangeLog
bfd/bfd-in2.h
bfd/libbfd-in.h
bfd/libbfd.h
bfd/opncls.c

index 78d9326..7017b15 100644 (file)
@@ -1,5 +1,12 @@
 2010-10-25  Alan Modra  <amodra@gmail.com>
 
+       * 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  <amodra@gmail.com>
+
        * 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  <dave.korn.cygwin@gmail.com> 
+2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        Apply LD plugin patch series (part 6/6).
        * aoutx.h (aout_link_check_ar_symbols): Take new "subsbfd" reference
        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.
index b1228e8..cbbb0f6 100644 (file)
@@ -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);
 
index b5b614c..f0d8fba 100644 (file)
@@ -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
index fb16333..c5fa67f 100644 (file)
@@ -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
index d6d6452..3597dae 100644 (file)
@@ -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