binutils: added missing licenses and reverted btrev29062.

* added missing GPL licence to te-beos.h and te-haiku.h in line with
other te-*.h files in this directory.
* reverted btrev29062 as it's not required since #6705 is fixed.
* this should ease upstreaming our changes.
This commit is contained in:
Jerome Duval 2013-04-09 19:52:39 +02:00
parent 5873a060ca
commit 7c4eb4ef2c
4 changed files with 44 additions and 4 deletions

View File

@ -1,3 +1,23 @@
/* te-beos.h -- BeOS target environment declarations.
Copyright 2013 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
GAS 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, or (at your option)
any later version.
GAS 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 GAS; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
/* Target environment for BeOS/Haiku. It is the same as the generic
target, except that it arranges via the TE_BeOS define to
suppress the use of "/" as a comment character. Some code in the

View File

@ -1,3 +1,23 @@
/* te-haiku.h -- Haiku target environment declarations.
Copyright 2013 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
GAS 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, or (at your option)
any later version.
GAS 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 GAS; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
/* Target environment for BeOS/Haiku. It is the same as the generic
target, except that it arranges via the TE_BeOS define to
suppress the use of "/" as a comment character. Some code in the

View File

@ -30,8 +30,8 @@
# define O_BINARY _O_BINARY
# define O_TEXT _O_TEXT
#endif
#if defined(__BEOS__) || defined(__HAIKU__)
/* BeOS 5 and Haiku R1 have O_BINARY and O_TEXT, but they have no effect. */
#ifdef __BEOS__
/* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
# undef O_BINARY
# undef O_TEXT
#endif

View File

@ -480,8 +480,8 @@ char *alloca ();
# define O_BINARY _O_BINARY
# define O_TEXT _O_TEXT
#endif
#if defined(__BEOS__) || defined(__HAIKU__)
/* BeOS 5 and Haiku R1 have O_BINARY and O_TEXT, but they have no effect. */
#ifdef __BEOS__
/* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
# undef O_BINARY
# undef O_TEXT
#endif