summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-10-25 07:02:19 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-10-25 07:02:19 +0000
commit6e15f810012b116285c48a051953332e4cc542bd (patch)
tree8d5bd04637fefff8b15de418605f8cb12b8b582f /bfd
parent2acee059efbf0528c520e2a49faee9e00c123839 (diff)
downloadbinutils-redhat-6e15f810012b116285c48a051953332e4cc542bd.tar.gz
* 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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog11
-rw-r--r--bfd/bfd-in2.h4
-rw-r--r--bfd/libbfd-in.h4
-rw-r--r--bfd/libbfd.h4
-rw-r--r--bfd/opncls.c4
5 files changed, 15 insertions, 12 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 78d93268e8..7017b152d8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
@@ -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 b1228e8d4b..cbbb0f64b0 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 b5b614c962..f0d8fba7ff 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 fb16333070..c5fa67ffd4 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 d6d645237e..3597daee01 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