summaryrefslogtreecommitdiffstats
path: root/bfd/netbsd-core.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-12-12 21:25:54 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-12-12 21:25:54 +0000
commit1518639ec4c952023ed8d1b73f31bb56fafd9929 (patch)
tree97b65a291a7939aebc42de2ef0ccccf5abd86f27 /bfd/netbsd-core.c
parent92eb7b324474951c28d9f9555655b88aab733c5f (diff)
downloadppe42-binutils-1518639ec4c952023ed8d1b73f31bb56fafd9929.tar.gz
ppe42-binutils-1518639ec4c952023ed8d1b73f31bb56fafd9929.zip
2000-12-12 Kazu Hirata <kazu@hxi.com>
* m68klinux.c: Fix formatting. * m68knetbsd.c: Likewise. * mipsbsd.c: Likewise. * netbsd-core.c: Likewise. * netbsd.h: Likewise. * newsos3.c: Likewise. * nlm32-alpha.c: Likewise. * nlm32-i386.c: Likewise. * nlm32-ppc.c: Likewise. * nlm32-sparc.c: Likewise. * nlmcode.h: Likewise. * nlmswap.h: Likewise. * nlm-target.h: Likewise. * ns32knetbsd.c: Likewise.
Diffstat (limited to 'bfd/netbsd-core.c')
-rw-r--r--bfd/netbsd-core.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c
index 828c2a1ceb..b94c4a117b 100644
--- a/bfd/netbsd-core.c
+++ b/bfd/netbsd-core.c
@@ -16,7 +16,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "bfd.h"
#include "sysdep.h"
@@ -29,7 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <sys/core.h>
/*
- * FIXME: On NetBSD/sparc CORE_FPU_OFFSET should be (sizeof(struct trapframe))
+ * FIXME: On NetBSD/sparc CORE_FPU_OFFSET should be (sizeof (struct trapframe))
*/
struct netbsd_core_struct {
@@ -98,7 +98,7 @@ netbsd_core_file_p (abfd)
offset += core.c_seghdrsize;
- asect = (asection *) bfd_zalloc (abfd, sizeof(asection));
+ asect = (asection *) bfd_zalloc (abfd, sizeof (asection));
if (asect == NULL) {
bfd_set_error(bfd_error_no_memory);
goto punt;
@@ -118,7 +118,7 @@ netbsd_core_file_p (abfd)
asect->name = ".reg";
asect->flags = SEC_ALLOC + SEC_HAS_CONTENTS;
#ifdef CORE_FPU_OFFSET
- /* Hackish... */
+ /* Hackish... */
asect->_raw_size = CORE_FPU_OFFSET;
asect2 = (asection *)bfd_zalloc (abfd,
sizeof (asection));
@@ -193,9 +193,9 @@ netbsd_core_file_matches_executable_p (core_bfd, exec_bfd)
/* If somebody calls any byte-swapping routines, shoot them. */
static void
-swap_abort()
+swap_abort ()
{
- abort(); /* This way doesn't require any declaration for ANSI to fuck up */
+ abort (); /* This way doesn't require any declaration for ANSI to fuck up */
}
#define NO_GET ((bfd_vma (*) PARAMS (( const bfd_byte *))) swap_abort )
#define NO_PUT ((void (*) PARAMS ((bfd_vma, bfd_byte *))) swap_abort )
@@ -236,7 +236,7 @@ const bfd_target netbsd_core_vec =
bfd_false, bfd_false,
bfd_false, bfd_false
},
-
+
BFD_JUMP_TABLE_GENERIC (_bfd_generic),
BFD_JUMP_TABLE_COPY (_bfd_generic),
BFD_JUMP_TABLE_CORE (netbsd),
@@ -248,6 +248,6 @@ const bfd_target netbsd_core_vec =
BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
NULL,
-
+
(PTR) 0 /* backend_data */
};
OpenPOWER on IntegriCloud