aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldmain.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c29a986..c59911e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * ldmain.c (main): Declare BSIZE as static.
+
2001-08-23 Jakub Jelinek <jakub@redhat.com>
* emultempl/elf32.em (place_orphan): Place orphan .rel* sections
diff --git a/ld/ldmain.c b/ld/ldmain.c
index b7114f9..f419499 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -325,7 +325,7 @@ main (argc, argv)
if (saved_script_handle)
{
- const int BSIZE = 8192;
+ static const int BSIZE = 8192;
size_t n;
char *buf = xmalloc (BSIZE);