diff options
author | Fred Fish <fnf@be.com> | 2000-08-02 07:04:33 +0000 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2000-08-02 07:04:33 +0000 |
commit | 9a15a46e80ba24bbc99f9d0a63b42c6e654bef93 (patch) | |
tree | 571f9b18caed431107bfc65bedb29603f17ccb26 /gcc/config/i386/beos-pe.h | |
parent | bbc18475ec90f2394a51b19a2be2546c617cb7b2 (diff) |
* config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
when user gives -p option. Add init_term_dyn.o for BeOS 5.0
and later.
* config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
Be directories to search path.
Remove support for __declspec(dllimport) and __declspec(dllexport).
This is leftover cruft from the earlier BeOS gcc port when BeOS
used Microsoft's PE object file format.
* configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
* config/i386/t-beos (winnt.o): Remove Makefile frag.
* config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
(VALID_MACHINE_DECL_ATTRIBUTE): Remove.
(VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
(MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
(REDO_SECTION_INFO_P): Remove.
(ASM_EXPORT_DECL): Remove.
(ASM_DECLARE_FUNCTION_NAME): Remove.
(ASM_DECLARE_OBJECT_NAME): Remove.
(ASM_OUTPUT_ALIGNED_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_LOCAL): Remove.
(STRIP_NAME_ENCODING): Remove.
Remove support for obsolete version of BeOS that is no longer
supported by Be.
* configure.in (i*86-*-beospe*): Remove.
* config/i386/beos-pe.h: Remove.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@35420 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/beos-pe.h')
-rw-r--r-- | gcc/config/i386/beos-pe.h | 119 |
1 files changed, 0 insertions, 119 deletions
diff --git a/gcc/config/i386/beos-pe.h b/gcc/config/i386/beos-pe.h index f28cecf6e3b..e69de29bb2d 100644 --- a/gcc/config/i386/beos-pe.h +++ b/gcc/config/i386/beos-pe.h @@ -1,119 +0,0 @@ -/* Operating system specific defines for BeOS target. - Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 - Free Software Foundation, Inc. - Contributed by Fred Fish (fnf@cygnus.com), based on cygwin32.h. - -This file is part of GNU CC. - -GNU CC 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. - -GNU CC 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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* Get all the PE support related things. */ -#include "cygwin32.h" - -/* Change debugging to Dwarf2. */ -#undef SDB_DEBUGGING_INFO -#undef DBX_DEBUGGING_INFO -#define DWARF2_DEBUGGING_INFO -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG - -/* Support the __declspec keyword by turning them into attributes. - We currently only support: dllimport and dllexport. - Note that the current way we do this may result in a collision with - predefined attributes later on. This can be solved by using one attribute, - say __declspec__, and passing args to it. The problem with that approach - is that args are not accumulated: each new appearance would clobber any - existing args. */ - -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-D__BEOS__ -D__INTEL__ -D_X86_=1 \ --D__stdcall=__attribute__((__stdcall__)) \ --D__cdecl=__attribute__((__cdecl__)) \ --D__declspec(x)=__attribute__((x)) \ --Asystem(beos)" - -#undef CPP_SPEC -#define CPP_SPEC "-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE}" - -#undef LIB_SPEC -#define LIB_SPEC "-lroot -lbe -ltracker -lmedia -lnet -lnetdev -ldevice -lmidi -lgame -latalk -lmail" - -#undef STARTFILE_SPEC -#define STARTFILE_SPEC "/boot/develop/lib/x86/start_dyn.o /boot/develop/lib/x86/init_term_dyn.o /boot/develop/lib/x86/glue-noinit.a" - -/* Temporary. */ -#define LINKERSCRIPT_SPEC "%{!T:-Tbeos.ld}" - -/* No math library. */ -#define MATH_LIBRARY "" - -/* Don't ignore dllimport for functions. */ -#undef TARGET_NOP_FUN_DLLIMPORT -#define TARGET_NOP_FUN_DLLIMPORT 0 - -#undef SUBTARGET_SWITCHES -#define SUBTARGET_SWITCHES - -/* Disable DWARF2 unwind info; this doesn't appear to work on - COFF-based targets right now. (I want to say "duh?" but someone - will correct me later. */ - -#undef INCOMING_RETURN_ADDR_RTX -#undef DWARF2_UNWIND_INFO - -/* In the current BeOS release (DR9), use of gcc's builtin alloca is a - problem because of the relatively low default stack size of 256K with no - way to expand it. So anything we compile for the BeOS target should not - use the builtin alloca. Defining SMALL_STACK disables builtin alloca. */ - -#define SMALL_STACK - -/* Yuck. */ -#ifndef CROSS_COMPILE -#undef INCLUDE_DEFAULTS -#define INCLUDE_DEFAULTS \ - { \ - { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1 },\ - { GCC_INCLUDE_DIR, "GCC", 0, 0 },\ - { TOOL_INCLUDE_DIR, "BINUTILS", 0, 1}, \ - { "/boot/develop/headers/be/add-ons/graphics", 0, 0, 0 },\ - { "/boot/develop/headers/be/translation", 0, 0, 0 },\ - { "/boot/develop/headers/be/mail", 0, 0, 0 },\ - { "/boot/develop/headers/gnu", 0, 0, 0 },\ - { "/boot/develop/headers/be/drivers", 0, 0, 0 },\ - { "/boot/develop/headers/be/game", 0, 0, 0 },\ - { "/boot/develop/headers/be/support", 0, 0, 0 },\ - { "/boot/develop/headers/be/storage", 0, 0, 0 },\ - { "/boot/develop/headers/be/kernel", 0, 0, 0 },\ - { "/boot/develop/headers/be/net", 0, 0, 0 },\ - { "/boot/develop/headers/be/midi", 0, 0, 0 },\ - { "/boot/develop/headers/be/media", 0, 0, 0 },\ - { "/boot/develop/headers/be/interface", 0, 0, 0 },\ - { "/boot/develop/headers/be/device", 0, 0, 0 },\ - { "/boot/develop/headers/be/app", 0, 0, 0 },\ - { "/boot/develop/headers/cpp", 0, 0, 0 },\ - { "/boot/develop/headers/posix", 0, 0, 0 },\ - { "/boot/develop/headers/be/precompiled", 0, 0, 0 },\ - { "/boot/develop/headers/be", 0, 0, 0 },\ - { "/boot/develop/headers", 0, 0, 0 }, \ - { 0, 0, 0, 0 } \ - }; -#endif - -/* Whee. LIBRARY_PATH is Be's LD_LIBRARY_PATH, which of course will - cause nasty problems if we override it. */ -#define LIBRARY_PATH_ENV "BELIBRARIES" |