aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd-in.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-08-30 22:42:53 +0930
committerAlan Modra <amodra@gmail.com>2023-08-31 07:48:16 +0930
commitd7d4e9115548d2ddc01c2f1e6f2c1188dc823066 (patch)
treedf0ac1759018d7b27a57836c0e96e0b3b7528212 /bfd/libbfd-in.h
parent50e193c1862029e8de71c7bcd0863c17ad37bfa5 (diff)
downloadgdb-d7d4e9115548d2ddc01c2f1e6f2c1188dc823066.zip
gdb-d7d4e9115548d2ddc01c2f1e6f2c1188dc823066.tar.gz
gdb-d7d4e9115548d2ddc01c2f1e6f2c1188dc823066.tar.bz2
DEFAULT_BUFFERSIZE
There isn't any reason to think that a particular buffer size is ideal in bfd, so let's just not define it. * libbfd-in.h (DEFAULT_BUFFERSIZE): Don't define. * libbfd.h: Regenerate. * archive.c (AR_WRITE_BUFFERSIZE): Substitute value. * vms-lib.c (_bfd_vms_lib_write_archive_contents): Likewise. * coff-rs6000.c (do_copy): Likewise, and use sizeof.
Diffstat (limited to 'bfd/libbfd-in.h')
-rw-r--r--bfd/libbfd-in.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h
index fc4b7bc..153587c 100644
--- a/bfd/libbfd-in.h
+++ b/bfd/libbfd-in.h
@@ -39,10 +39,6 @@
extern "C" {
#endif
-/* If you want to read and write large blocks, you might want to do it
- in quanta of this amount */
-#define DEFAULT_BUFFERSIZE 8192
-
/* Set a tdata field. Can't use the other macros for this, since they
do casts, and casting to the left of assignment isn't portable. */
#define set_tdata(bfd, v) ((bfd)->tdata.any = (v))