diff options
author | Alexander von Gluck IV <kallisti5@unixzen.com> | 2021-09-02 12:19:14 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-09-02 12:19:14 +0100 |
commit | d85e70a35bffa755fd3e9f4ccc6bf6c64953e85d (patch) | |
tree | 4fe42b81c0faa1a152338545a5318863f7fbbc41 /gas/config | |
parent | 718aefcf55cc5a9de3f73d9a37259f8f792b1cef (diff) | |
download | fsf-binutils-gdb-d85e70a35bffa755fd3e9f4ccc6bf6c64953e85d.zip fsf-binutils-gdb-d85e70a35bffa755fd3e9f4ccc6bf6c64953e85d.tar.gz fsf-binutils-gdb-d85e70a35bffa755fd3e9f4ccc6bf6c64953e85d.tar.bz2 |
Add support for the haiku operating system. These are the os support patches we have been grooming and maintaining for quite a few years over on git.haiku-os.org. All of these architectures are working and most have been stable for quite some time.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 1 | ||||
-rw-r--r-- | gas/config/te-haiku.h | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 7148c07..339f969 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -478,6 +478,7 @@ const char extra_symbol_chars[] = "*%-([{}" #if ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \ && !defined (TE_GNU) \ && !defined (TE_LINUX) \ + && !defined (TE_Haiku) \ && !defined (TE_FreeBSD) \ && !defined (TE_DragonFly) \ && !defined (TE_NetBSD)) diff --git a/gas/config/te-haiku.h b/gas/config/te-haiku.h new file mode 100644 index 0000000..4455717 --- /dev/null +++ b/gas/config/te-haiku.h @@ -0,0 +1,30 @@ +/* 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 + haiku kernel uses "/" to mean division. (What a concept!) */ +#define TE_Haiku 1 + +#define LOCAL_LABELS_DOLLAR 1 +#define LOCAL_LABELS_FB 1 + +#include "obj-format.h" |