aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-10-25 07:02:19 +0000
committerAlan Modra <amodra@gmail.com>2010-10-25 07:02:19 +0000
commit59a9808d562f9b79249a16345b18c01f5a54342a (patch)
treee3edbe4187ab6a8e96686a84b9e0992f67da146d /bfd
parentbc110b6e40c95d47f7d52ca7b685a2d96248d765 (diff)
downloadgdb-59a9808d562f9b79249a16345b18c01f5a54342a.zip
gdb-59a9808d562f9b79249a16345b18c01f5a54342a.tar.gz
gdb-59a9808d562f9b79249a16345b18c01f5a54342a.tar.bz2
* 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 78d9326..7017b15 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 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