aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-06-24 14:04:29 +0000
committerAlan Modra <amodra@gmail.com>2003-06-24 14:04:29 +0000
commit7e5d8d48edd24851f2148bbf1032f7f137120cd1 (patch)
treead33ae4a6cc58dddb47b0f5e6dd17e985352250e /ld
parent55fd94b056a2db8d1a530ed2db648579bb8c586c (diff)
downloadfsf-binutils-gdb-7e5d8d48edd24851f2148bbf1032f7f137120cd1.zip
fsf-binutils-gdb-7e5d8d48edd24851f2148bbf1032f7f137120cd1.tar.gz
fsf-binutils-gdb-7e5d8d48edd24851f2148bbf1032f7f137120cd1.tar.bz2
* emultempl/ppc32elf.em: Convert to C90.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emultempl/ppc32elf.em4
2 files changed, 5 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index cb34b38..3291a60 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-24 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/ppc32elf.em: Convert to C90.
+
2003-06-20 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc64elf.em: Convert to C90 function definitions, remove
diff --git a/ld/emultempl/ppc32elf.em b/ld/emultempl/ppc32elf.em
index fbe1782..4614593 100644
--- a/ld/emultempl/ppc32elf.em
+++ b/ld/emultempl/ppc32elf.em
@@ -29,10 +29,8 @@ cat >>e${EMULATION_NAME}.c <<EOF
/* Whether to run tls optimization. */
static int notlsopt = 0;
-static void ppc_before_allocation PARAMS ((void));
-
static void
-ppc_before_allocation ()
+ppc_before_allocation (void)
{
extern const bfd_target bfd_elf32_powerpc_vec;
extern const bfd_target bfd_elf32_powerpcle_vec;