mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
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.
This commit is contained in:
@ -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 */
|
||||
};
|
||||
|
Reference in New Issue
Block a user