diff options
author | David O'Brien <obrien@FreeBSD.org> | 2002-04-11 18:11:53 +0000 |
---|---|---|
committer | David O'Brien <obrien@gcc.gnu.org> | 2002-04-11 18:11:53 +0000 |
commit | bf9b85ce1a96ef28957df39485477b27f3096a6b (patch) | |
tree | 88800e30c1ebe23277d7603f551bdb1c9c4123f7 /gcc | |
parent | 7425707da3adbac198e258b3715e88496c20c439 (diff) | |
download | gcc-bf9b85ce1a96ef28957df39485477b27f3096a6b.zip gcc-bf9b85ce1a96ef28957df39485477b27f3096a6b.tar.gz gcc-bf9b85ce1a96ef28957df39485477b27f3096a6b.tar.bz2 |
freebsd.h: Minor reformatting.
2002-04-10 David O'Brien <obrien@FreeBSD.org>
* config/alpha/freebsd.h: Minor reformatting.
(CPP_SPEC): Define ELF and add cpp_subtarget.
(ASM_SPEC): No longer needed.
Approved by: David S. Miller <davem@redhat.com>
Message-Id: <20020410.203814.109035383.davem@redhat.com>
From-SVN: r52170
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/alpha/freebsd.h | 20 |
2 files changed, 11 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e703ffb1..fb2ba32 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-04-10 David O'Brien <obrien@FreeBSD.org> + + * config/alpha/freebsd.h: Minor reformatting. + (CPP_SPEC): Define ELF and add cpp_subtarget. + (ASM_SPEC): No longer needed. + 2002-04-11 Richard Henderson <rth@redhat.com> * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative. diff --git a/gcc/config/alpha/freebsd.h b/gcc/config/alpha/freebsd.h index 9174b61..a30e7ec 100644 --- a/gcc/config/alpha/freebsd.h +++ b/gcc/config/alpha/freebsd.h @@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ deal with the Alpha's FP issues. */ #undef CPP_SPEC -#define CPP_SPEC "%(cpp_cpu) \ +#define CPP_SPEC "%(cpp_cpu) %(cpp_subtarget) -D__ELF__ \ %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \ %{posix:-D_POSIX_SOURCE} \ %{mieee:-D_IEEE_FP} \ @@ -44,16 +44,6 @@ Boston, MA 02111-1307, USA. */ %{!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 <rth@cygnus.com>, 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%*}" -*/ - /************************[ Target stuff ]***********************************/ @@ -65,18 +55,18 @@ Boston, MA 02111-1307, USA. */ #undef WCHAR_TYPE #undef WCHAR_UNSIGNED -#define WCHAR_UNSIGNED 0 +#define WCHAR_UNSIGNED 0 #undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 +#define WCHAR_TYPE_SIZE 32 #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (FreeBSD/alpha ELF)"); -#define TARGET_ELF 1 +#define TARGET_ELF 1 #undef TARGET_DEFAULT -#define TARGET_DEFAULT (MASK_FP | MASK_FPREGS | MASK_GAS) +#define TARGET_DEFAULT (MASK_FP | MASK_FPREGS | MASK_GAS) #undef HAS_INIT_SECTION |