NetBSD/gnu/usr.bin/gas/config/tc-powerpc.h

55 lines
1.6 KiB
C

/* tc-ppc.h -- Header file for tc-ppc.c.
Copyright (C) 1994 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support.
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 2, 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef TC_POWERPC
#define TC_POWERPC
#ifdef __NetBSD__
#include <machine/reloc.h>
#define AOUT_MACHTYPE 149
#endif
/* For now, support only big-endian */
#define TARGET_BYTES_BIG_ENDIAN 1
#define PPC_BIG_ENDIAN 1
/* Default CPU: */
#define TARGET_CPU "powerpc"
/* Permit temporary numeric labels. */
#define LOCAL_LABELS_FB 1
/* $ is used to refer to the current location. */
#define DOLLAR_DOT
/* We don't need to handle .word strangely. */
#define WORKING_DOT_WORD
/* The name of the global offset table generated by the compiler. */
#define GLOBAL_OFFSET_TABLE_NAME "_GLOBAL_OFFSET_TABLE_"
#define tc_headers_hook(a)
#define tc_crawl_symbol_chain(a)
#define tc_aout_pre_write_hook(a)
#define LISTING_HEADER "PowerPC GAS "
#endif /* TC_POWERPC */