diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-01-10 07:18:15 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@gcc.gnu.org> | 2006-01-10 07:18:15 +0000 |
commit | 345f13fecf607a6f0eabe77734139cc25b6aa56b (patch) | |
tree | fa1595bec79eaecce5a8cb9ad505bf25f1a0edef /gcc/config/i386 | |
parent | eeab437d0562a90afe71a6204f1d03d6586e3559 (diff) | |
download | gcc-345f13fecf607a6f0eabe77734139cc25b6aa56b.zip gcc-345f13fecf607a6f0eabe77734139cc25b6aa56b.tar.gz gcc-345f13fecf607a6f0eabe77734139cc25b6aa56b.tar.bz2 |
netware.h (TARGET_SUBTARGET_DEFAULT): Include MASK_ALIGN_DOUBLE.
gcc/
2006-01-10 Jan Beulich <jbeulich@novell.com>
* config/i386/netware.h (TARGET_SUBTARGET_DEFAULT): Include
MASK_ALIGN_DOUBLE.
* config/i386/nwld.h (LINK_SPEC): Add --extensions:GNU option.
* config/i386/t-nwld (SHLIB_LINK): Insert spaces between expr
arguments.
gcc/testsuite/
2006-01-10 Jan Beulich <jbeulich@novell.com>
* lib/target-supports.exp (check_visibility_available): Simplify test
for *-*-netware*.
(check_profiling_available): Fail for *-*-netware*.
* g++.old-deja/g++.law/profile1.C: Remove dg-bogus for *-*-netware*.
* gcc.dg/20021014-1.c: Likewise.
* gcc.dg/nest.c: Likewise.
From-SVN: r109536
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/netware.h | 2 | ||||
-rw-r--r-- | gcc/config/i386/nwld.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/t-nwld | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h index 197bdc5..3630765 100644 --- a/gcc/config/i386/netware.h +++ b/gcc/config/i386/netware.h @@ -71,7 +71,7 @@ Boston, MA 02110-1301, USA. */ returns float values in the 387, and uses MSVC bit field layout. */ #undef TARGET_SUBTARGET_DEFAULT #define TARGET_SUBTARGET_DEFAULT (MASK_80387 | MASK_IEEE_FP | \ - MASK_FLOAT_RETURNS | MASK_MS_BITFIELD_LAYOUT) + MASK_FLOAT_RETURNS | MASK_ALIGN_DOUBLE | MASK_MS_BITFIELD_LAYOUT) #undef MATH_LIBRARY #define MATH_LIBRARY "" diff --git a/gcc/config/i386/nwld.h b/gcc/config/i386/nwld.h index 7585f86..fe132af 100644 --- a/gcc/config/i386/nwld.h +++ b/gcc/config/i386/nwld.h @@ -31,7 +31,8 @@ Boston, MA 02110-1301, USA. */ #define LINKER_NAME "nwld" #undef LINK_SPEC -#define LINK_SPEC "--format nlm %{static:%{!nostdlib:%{!nodefaultlib:%eStatic linking is not supported.\n}}}" +#define LINK_SPEC "--format:NLM --extensions:GNU" \ + " %{static:%{!nostdlib:%{!nodefaultlib:%eStatic linking is not supported.\n}}}" #undef LINK_GCC_C_SEQUENCE_SPEC #define LINK_GCC_C_SEQUENCE_SPEC "%L %G" diff --git a/gcc/config/i386/t-nwld b/gcc/config/i386/t-nwld index fbca0df..6f69055 100644 --- a/gcc/config/i386/t-nwld +++ b/gcc/config/i386/t-nwld @@ -40,7 +40,7 @@ SHLIB_LINK = set -e; \ echo "name $(SHLIB_NAME)" >>@shlib_base_name@.def; \ echo "version $(version)" | sed "s!\.!,!g" >>@shlib_base_name@.def; \ touch libgcc/build; \ - echo "build $$$$(expr $$$$(<libgcc/build)+0)" >>@shlib_base_name@.def; \ + echo "build $$$$(expr $$$$(<libgcc/build) + 0)" >>@shlib_base_name@.def; \ echo "export @$(SHLIB_MAP)" >>@shlib_base_name@.def; \ if mpkxdc -n -p @shlib_base_name@.xdc; \ then echo "xdcdata @shlib_base_name@.xdc" >>@shlib_base_name@.def; \ @@ -51,7 +51,7 @@ SHLIB_LINK = set -e; \ -Wl,--Map,--map-info,full,--strip-all,--def-file,@shlib_base_name@.def; \ rm -f @shlib_base_name@.imp; $(LN_S) $(SHLIB_MAP) @shlib_base_name@.imp; \ rm -f libgcc.imp; $(LN_S) @shlib_base_name@.imp libgcc.imp; \ - expr $$$$(<libgcc/build)+1 >libgcc/build + expr $$$$(<libgcc/build) + 1 >libgcc/build # $(slibdir) double quoted to protect it from expansion while building # libgcc.mk. We want this delayed until actual install time. |