system-freebsd-x86.ads: Rename into...
* system-freebsd-x86.ads: Rename into... * system-freebsd.ads: ...this. (Default_Bit_Order): Define using Standard'Default_Bit_Order. * gcc-interface/Makefile.in: Support aarch64-freebsd. (x86-64/FreeBSD): Adjust to above renaming. (i386/FreeBSD): Likewise. From-SVN: r245377
This commit is contained in:
parent
4bb91707a8
commit
19fc3f9acd
3 changed files with 43 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
2017-02-12 John Marino <gnugcc@marino.st>
|
||||
|
||||
* system-freebsd-x86.ads: Rename into...
|
||||
* system-freebsd.ads: ...this.
|
||||
(Default_Bit_Order): Define using Standard'Default_Bit_Order.
|
||||
* gcc-interface/Makefile.in: Support aarch64-freebsd.
|
||||
(x86-64/FreeBSD): Adjust to above renaming.
|
||||
(i386/FreeBSD): Likewise.
|
||||
|
||||
2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* comperr.adb: Update FSF bug reporting URL.
|
||||
|
|
|
@ -1495,6 +1495,34 @@ ifeq ($(strip $(filter-out x86_64 kfreebsd%,$(target_cpu) $(target_os))),)
|
|||
LIBRARY_VERSION := $(LIB_VERSION)
|
||||
endif
|
||||
|
||||
# aarch64 FreeBSD
|
||||
ifeq ($(strip $(filter-out %aarch64 freebsd%,$(target_cpu) $(target_os))),)
|
||||
LIBGNAT_TARGET_PAIRS = \
|
||||
a-intnam.ads<a-intnam-freebsd.ads \
|
||||
s-inmaop.adb<s-inmaop-posix.adb \
|
||||
s-intman.adb<s-intman-posix.adb \
|
||||
s-mudido.adb<s-mudido-affinity.adb \
|
||||
s-osinte.adb<s-osinte-freebsd.adb \
|
||||
s-osinte.ads<s-osinte-freebsd.ads \
|
||||
s-osprim.adb<s-osprim-posix.adb \
|
||||
s-taprop.adb<s-taprop-posix.adb \
|
||||
s-taspri.ads<s-taspri-posix.ads \
|
||||
s-tpopsp.adb<s-tpopsp-posix.adb \
|
||||
$(ATOMICS_TARGET_PAIRS) \
|
||||
$(ATOMICS_BUILTINS_TARGET_PAIRS) \
|
||||
system.ads<system-freebsd.ads
|
||||
|
||||
TOOLS_TARGET_PAIRS = \
|
||||
mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb
|
||||
GNATLIB_SHARED = gnatlib-shared-dual
|
||||
|
||||
EH_MECHANISM=-gcc
|
||||
THREADSLIB= -lpthread
|
||||
GMEM_LIB = gmemlib
|
||||
LIBRARY_VERSION := $(LIB_VERSION)
|
||||
MISCLIB = -lutil
|
||||
endif
|
||||
|
||||
# x86 FreeBSD
|
||||
ifeq ($(strip $(filter-out %86 freebsd%,$(target_cpu) $(target_os))),)
|
||||
LIBGNAT_TARGET_PAIRS = \
|
||||
|
@ -1510,7 +1538,7 @@ ifeq ($(strip $(filter-out %86 freebsd%,$(target_cpu) $(target_os))),)
|
|||
s-tpopsp.adb<s-tpopsp-posix.adb \
|
||||
$(ATOMICS_TARGET_PAIRS) \
|
||||
$(X86_TARGET_PAIRS) \
|
||||
system.ads<system-freebsd-x86.ads
|
||||
system.ads<system-freebsd.ads
|
||||
|
||||
TOOLS_TARGET_PAIRS = \
|
||||
mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb
|
||||
|
@ -1540,7 +1568,7 @@ ifeq ($(strip $(filter-out %86_64 freebsd%,$(target_cpu) $(target_os))),)
|
|||
s-tpopsp.adb<s-tpopsp-posix.adb \
|
||||
$(ATOMICS_TARGET_PAIRS) \
|
||||
$(X86_64_TARGET_PAIRS) \
|
||||
system.ads<system-freebsd-x86.ads
|
||||
system.ads<system-freebsd.ads
|
||||
|
||||
TOOLS_TARGET_PAIRS = \
|
||||
mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
-- S Y S T E M --
|
||||
-- --
|
||||
-- S p e c --
|
||||
-- (FreeBSD/x86 Version) --
|
||||
-- (FreeBSD Version) --
|
||||
-- --
|
||||
-- Copyright (C) 1992-2016, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 1992-2017, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- This specification is derived from the Ada Reference Manual for use with --
|
||||
-- GNAT. The copyright notice above, and the license provisions that follow --
|
||||
|
@ -89,7 +89,8 @@ package System is
|
|||
-- Other System-Dependent Declarations
|
||||
|
||||
type Bit_Order is (High_Order_First, Low_Order_First);
|
||||
Default_Bit_Order : constant Bit_Order := Low_Order_First;
|
||||
Default_Bit_Order : constant Bit_Order :=
|
||||
Bit_Order'Val (Standard'Default_Bit_Order);
|
||||
pragma Warnings (Off, Default_Bit_Order); -- kill constant condition warning
|
||||
|
||||
-- Priority-related Declarations (RM D.1)
|
Loading…
Add table
Reference in a new issue