/* Definitions for DEC Alpha/AXP running FreeBSD using the ELF format Copyright (C) 2000 Free Software Foundation, Inc. Contributed by BSDi, written by David O'Brien 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, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES \ "-D__ELF__ -Dunix -D__FreeBSD__ -Asystem(unix) -Asystem(bsd) -Asystem(FreeBSD)" /* Provide a CPP_SPEC appropriate for FreeBSD/alpha. Besides the dealing with the GCC option `-posix', and PIC issues as on all FreeBSD platforms, we must deal with the Alpha's FP issues. */ #undef CPP_SPEC #define CPP_SPEC "%(cpp_cpu) \ %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \ %{posix:-D_POSIX_SOURCE} \ %{mieee:-D_IEEE_FP} \ %{mieee-with-inexact:-D_IEEE_FP -D_IEEE_FP_INEXACT}" #undef LINK_SPEC #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \ %{p:%e`-p' not supported; use `-pg' and gprof(1)} \ %{Wl,*:%*} \ %{assert*} %{R*} %{rpath*} %{defsym*} \ %{shared:-Bshareable %{h*} %{soname*}} \ %{symbolic:-Bsymbolic} \ %{!shared: \ %{!static: \ %{rdynamic:-export-dynamic} \ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \ %{static:-Bstatic}}" /* Provide an ASM_SPEC appropriate for a FreeBSD/Alpha target. This differs from the generic FreeBSD ASM_SPEC in that no special handling of PIC is necessary on the Alpha. */ /* Per Richard Henderson , it is better to use the `.arch' directive in the assembly file. alpha/elf.h gives us this in "ASM_FILE_START". #undef ASM_SPEC #define ASM_SPEC " %| %{mcpu=*:-m%*}" */ /* XXX, if FreeBSD/Alpha grows a crti.o file, we can use the alpha/elf.h definition. */ #undef STARTFILE_SPEC #define STARTFILE_SPEC \ "%{!shared: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \ %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}" /* Provide a ENDFILE_SPEC appropriate for ELF. Here we tack on the magical crtend.o file which provides part of the support for getting C++ file-scope static object constructed before entering `main'. */ /* XXX, if FreeBSD/Alpha grows a crtn.o file, we can use the alpha/elf.h definition. */ #undef ENDFILE_SPEC #define ENDFILE_SPEC \ "%{!shared:crtend.o%s} %{shared:crtendS.o%s}" /************************[ Target stuff ]***********************************/ /* Define the actual types of some ANSI-mandated types. Needs to agree with . GCC defaults come from c-decl.c, c-common.c, and config//.h. */ /* alpha.h gets this wrong for FreeBSD. We use the GCC defaults instead. */ #undef WCHAR_TYPE #undef WCHAR_UNSIGNED #define WCHAR_UNSIGNED 0 #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 /* Handle cross-compilation on 32-bits machines (such as i386) for 64-bits machines (Alpha in this case). */ #if defined(__i386__) #undef HOST_BITS_PER_LONG #define HOST_BITS_PER_LONG 32 #undef HOST_WIDE_INT #define HOST_WIDE_INT long long #undef HOST_BITS_PER_WIDE_INT #define HOST_BITS_PER_WIDE_INT 64 #endif #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (FreeBSD/alpha ELF)"); #define TARGET_ELF 1 #undef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_FP | MASK_FPREGS | MASK_GAS) #undef HAS_INIT_SECTION /* Output assembler code to FILE to increment profiler label # LABELNO for profiling a function entry. Under FreeBSD/Alpha, the assembler does nothing special with -pg. */ #undef FUNCTION_PROFILER #define FUNCTION_PROFILER(FILE, LABELNO) \ fputs ("\tjsr $28,_mcount\n", (FILE)) /* Show that we need a GP when profiling. */ #undef TARGET_PROFILING_NEEDS_GP #define TARGET_PROFILING_NEEDS_GP 1 /* This is the char to use for continuation (in case we need to turn continuation back on). */ #undef DBX_CONTIN_CHAR #define DBX_CONTIN_CHAR '?' ='master'>master FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update ImageMagick to 6.9.9-28.kwm2018-02-041-3/+4
* ImageMagick to 6.9.9-15.kwm2018-02-041-6/+11
* Bump PORTREVISION for ports depending on the canonical version of GCCgerald2018-02-041-0/+1
* Register CONFLICTSpawel2017-07-171-0/+1
* Update ImageMagick to 6.9.8-9.kwm2017-06-081-1/+1
* Update ImageMagick to 6.9.8-8.kwm2017-05-291-2/+1
* Update ImageMagick to 6.9.8.6.kwm2017-05-261-2/+1
* Update to 0.6.0sunpoet2017-04-301-1/+1
* Bump PORTREVISIONs for ports depending on the canonical version of GCC andgerald2017-04-011-1/+1
* graphics/ImageMagick: Update to 6.9.6-4feld2016-12-051-2/+2
* Bump PORTREVISIONS for ports depending on the canonical version of GCC andgerald2016-11-201-0/+1
* graphics/ImageMagick: Update to 6.9.5-10feld2016-10-121-1/+1
* Update ImageMagick to 6.9.5.7.kwm2016-08-221-3/+5
* Don't add X libraries to the nox11 ports [1]kwm2016-08-101-2/+1
* Update ImageMagick to 6.9.5-5.kwm2016-08-101-6/+8
* Update ImageMagick to 6.9.4-3.kwm2016-05-191-1/+3
* Update ImageMagick to 6.9.4.1.kwm2016-05-131-2/+1
* Disable EPHEMERAL, HTTPS, MVG and MSL coders until a a new release can bekwm2016-05-041-0/+1
* Update ImageMagick to 6.9.3-9.kwm2016-05-031-11/+6
* Fix the handling of type-apple.xml under @sample. PORTREVISIONadamw2016-04-191-2/+3
* Update ImageMagick to 6.9.3-8.kwm2016-04-191-2/+1
* Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.mat2016-04-011-18/+18
* - Update to 0.5.0sunpoet2016-04-011-1/+1
* Update ImageMagick to 6.9.3-7.kwm2016-03-251-1/+1
* Make print/ghostscript9-agpl-base the default Ghostscript port. Upstreamtijl2016-03-241-0/+1
* Update ImageMagick to 6.9.3.4.kwm2016-02-191-1/+1
* Update ImageMagick to 6.9.3-3.kwm2016-02-101-1/+1
* Update ImageMagick to 6.9.3-1.kwm2016-01-201-1/+1
* Update ImageMagick to 6.9.3-0.kwm2016-01-111-1/+1
* Update ImageMagick to 6.9.2-10.kwm2015-12-231-2/+1
* Fix usage of ${PERL5}.mat2015-12-181-1/+2
* Update ImageMagick to 6.9.2-8.kwm2015-12-091-1/+1
* Update ImageMagick to 6.9.2-7.kwm2015-11-291-1/+1
* Update ImageMagick to 6.9.2-6.kwm2015-11-221-5/+5
* Update ImageMagick to 6.9.2-4.kwm2015-10-101-1/+1
* Update ImageMagick to 6.9.2-3.kwm2015-09-301-1/+1
* Update ImageMagick to 6.9.2-0.kwm2015-09-031-2/+1
* - Split ghostscript into X11-independent and -dependent parts:hrs2015-08-231-7/+7
* Add some more X11 / NOX11 checks around USES=ghostscript usage.kwm2015-08-031-0/+8
* By default libtool replaces -export-symbols <file> with -retain-symbols-filetijl2015-08-021-0/+1
* Update ImageMagick to 6.9.1-10.kwm2015-07-291-1/+1
* Update ImageMagick to 6.9.1-9.kwm2015-07-191-1/+1
* Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.kwm2015-07-171-3/+7
* Update ImageMagick to 6.9.1-8.kwm2015-07-151-1/+1
* Update ImageMagick to 6.9.1-7.kwm2015-07-051-1/+1
* Convert to USES=jpegantoine2015-06-231-1/+1
* Update ImageMagick to 6.9.1-6.kwm2015-06-211-5/+4
* Update ImageMagick to 6.9.1-4.kwm2015-06-021-1/+1
* Update ImageMagick to 6.9.1-3.kwm2015-05-291-5/+1
* I'm not sure what the code exactly does but reverting the change allows itkwm2015-04-271-0/+4