aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/alphaelf.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-06-27 00:38:25 +0000
committerAlan Modra <amodra@gmail.com>2003-06-27 00:38:25 +0000
commit0c7a8e5acd399d1d36dbe0cda815844dd5308c10 (patch)
tree1b0c74e9719dfd6d6b6b1b396373870147643680 /ld/emultempl/alphaelf.em
parenta9232bb2657c979e51dd77e8d823cd90c749e784 (diff)
downloadgdb-0c7a8e5acd399d1d36dbe0cda815844dd5308c10.zip
gdb-0c7a8e5acd399d1d36dbe0cda815844dd5308c10.tar.gz
gdb-0c7a8e5acd399d1d36dbe0cda815844dd5308c10.tar.bz2
* emultempl/aix.em: Convert to C90, remove unnecessary prototypes
and casts. Replace PTR with void *. Formatting. * emultempl/alphaelf.em: Likewise * emultempl/armcoff.em: Likewise * emultempl/armelf.em: Likewise * emultempl/armelf_oabi.em: Likewise * emultempl/beos.em: Likewise * emultempl/elf32.em: Likewise * emultempl/generic.em: Likewise * emultempl/gld960.em: Likewise * emultempl/gld960c.em: Likewise * emultempl/hppaelf.em: Likewise * emultempl/linux.em: Likewise * emultempl/lnk960.em: Likewise * emultempl/m68hc1xelf.em: Likewise * emultempl/m68kcoff.em: Likewise * emultempl/m68kelf.em: Likewise * emultempl/mipsecoff.em: Likewise * emultempl/mipself.em: Likewise * emultempl/mmix-elfnmmo.em: Likewise * emultempl/mmixelf.em: Likewise * emultempl/mmo.em: Likewise * emultempl/needrelax.em: Likewise * emultempl/netbsd.em: Likewise * emultempl/pe.em: Likewise * emultempl/sh64elf.em: Likewise * emultempl/sunos.em: Likewise * emultempl/ticoff.em: Likewise * emultempl/vanilla.em: Likewise * emultempl/xtensaelf.em: Likewise * Makefile.am: Correct dependencies. * Makefile.in: Regenerate.
Diffstat (limited to 'ld/emultempl/alphaelf.em')
-rw-r--r--ld/emultempl/alphaelf.em7
1 files changed, 2 insertions, 5 deletions
diff --git a/ld/emultempl/alphaelf.em b/ld/emultempl/alphaelf.em
index a1bb0c5..7e64323 100644
--- a/ld/emultempl/alphaelf.em
+++ b/ld/emultempl/alphaelf.em
@@ -27,16 +27,13 @@ cat >>e${EMULATION_NAME}.c <<EOF
#include "elf/alpha.h"
#include "elf-bfd.h"
-static void alpha_after_parse PARAMS ((void));
-static void alpha_finish PARAMS ((void));
-
static int elf64alpha_32bit = 0;
/* Set the start address as in the Tru64 ld. */
#define ALPHA_TEXT_START_32BIT 0x12000000
static void
-alpha_after_parse ()
+alpha_after_parse (void)
{
if (elf64alpha_32bit && !link_info.shared && !link_info.relocatable)
lang_section_start (".interp",
@@ -46,7 +43,7 @@ alpha_after_parse ()
}
static void
-alpha_finish ()
+alpha_finish (void)
{
if (elf64alpha_32bit)
elf_elfheader (output_bfd)->e_flags |= EF_ALPHA_32BIT;