X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fhosts%2Fmipsbsd.h;h=af9d4838e215b23bcaecdc4251e39212179a1903;hb=dcb5d41befce097d48875e744f57fe3209c61aab;hp=4c5e1c79772facf1e3fc117af9f9c07810257e9c;hpb=00ee2c249f91ced6c525ce750307a786ca45649b;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/hosts/mipsbsd.h b/bfd/hosts/mipsbsd.h index 4c5e1c7977..af9d4838e2 100644 --- a/bfd/hosts/mipsbsd.h +++ b/bfd/hosts/mipsbsd.h @@ -1,20 +1,21 @@ -#include -#include -#undef NULL /* XXX */ -#include -#include -#include -#include -#include -#include -#include +/* Copyright (C) 2007-2020 Free Software Foundation, Inc. -#ifndef O_ACCMODE -#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) -#endif + This file is part of BFD, the Binary File Descriptor library. -#define SEEK_SET 0 -#define SEEK_CUR 1 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + 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., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include #include @@ -26,24 +27,5 @@ /* #define HOST_MACHINE_MACHINE */ #define HOST_TEXT_START_ADDR USRTEXT -#define HOST_DATA_START_ADDR USRDATA #define HOST_STACK_END_ADDR USRSTACK #define NO_CORE_COMMAND - -#include "fopen-same.h" - -/* EXACT TYPES */ -typedef char int8e_type; -typedef unsigned char uint8e_type; -typedef short int16e_type; -typedef unsigned short uint16e_type; -typedef int int32e_type; -typedef unsigned int uint32e_type; - -/* CORRECT SIZE OR GREATER */ -typedef char int8_type; -typedef unsigned char uint8_type; -typedef short int16_type; -typedef unsigned short uint16_type; -typedef int int32_type; -typedef unsigned int uint32_type;