Jakub Jelinek
cacf1f5906
re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.)
...
PR target/65351
config/
* mh-darwin: Only apply -mdynamic-no-pic for m32 Darwin when the compiler in
use supports -mno-dynamic-no-pic.
* picflag.m4: Only append -mno-dynamic-no-pic for Darwin when -mdynamic-no-pic
is present in CFLAGS.
libiberty/
* configure: Regenerate.
libada/
* configure: Regenerate.
libgcc/
* configure: Regenerate.
gcc/
* configure: Regenerate.
Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
From-SVN: r221967
2015-04-10 06:43:52 +00:00
Jakub Jelinek
e8a4ed3b9d
re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.)
...
PR target/65351
config/
* picflag.m4: Append -mno-dynamic-no-pic for Darwin.
libiberty/
* configure: Regenerate.
libada/
* configure: Regenerate.
libgcc/
* configure: Regenerate.
gcc/
* configure: Regenerate.
Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
From-SVN: r221891
2015-04-07 11:57:46 +02:00
Andreas Schwab
66204992cb
picflag.m4 (m68k-*-*): Use default PIC flag.
...
config/
* picflag.m4 (m68k-*-*): Use default PIC flag.
gcc/
* configure: Regenerate.
libada/
* configure: Regenerate.
libgcc/
* configure: Regenerate.
libiberty/
* configure: Regenerate.
From-SVN: r204854
2013-11-15 17:49:36 +00:00
Kai Tietz
8fecb5614a
dfp.m4: Add support for cygwin x64 target.
...
* dfp.m4: Add support for cygwin x64 target.
* picflag.m4: Likewise.
From-SVN: r197170
2013-03-27 22:53:32 +01:00
Douglas Rupp
daecebc805
Interix resurrection
...
2012-01-22 Douglas B Rupp <rupp@gnat.com>
* <toplevel>/config/mh-interix: Remove as unneeded.
* <toplevel>/config/picflag.m4 (i[[34567]]86-*-interix3*):
Change triplet to i[[34567]]86-*-interix[[3-9]]*.
* <toplevel>/configure.ac: Remove reference to mh-interix.
* <toplevel>/configure: Regenerate.
* <toplevel>/libada/configure: Regenerate.
* <toplevel>libgcc/config.host (i[34567]86-*-interix3*):
Change triplet to i[34567]86-*-interix[3-9]*.
* <toplevel>/libgcc/configure: Regenerate.
* <toplevel>/liberty/configure: Regenerate.
* config.gcc: (i[34567]86-*-interix3*): Remove from obsolete
configurations. Change triplet to i[34567]86-*-interix[3-9]*.
(extra_options) interix.opt -> i386/interix.opt"
(extra_objs):Add winnt-stubs.o
* configure.ac: Add interix to target_os .comm on PE check.
* configure: Regenerate.
* config/interix3.h: Delete and move bits to..
* config/interix.h: Delete and move bits to..
* config/i386/i386-interix3.h: Delete and move bits to..
* config/i386/i386-interix.h: ..here.
(TARGET_CPU_DEFAULT): Remove redefinition.
(TARGET_ASM_CONSTRUCTOR): Undefine.
(SUBTARGET_SWITCHES): Define for ms-bitfields.
(TARGET_OS_CPP_BUILTINS): Remove __OPENNT. Add __declspec.
(PTRDIFF_TYPE): Define.
(LONG_DOUBLE_TYPE_SIZE): Define.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
(SUBTARGET_OVERRIDE_OPTIONS): Remove.
(TARGET_SECTION_TYPE_FLAGS): Define.
(ASM_DECLARE_FUNCTION_NAME): Define.
(ASM_OUTPUT_EXTERNAL): Define.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
(ASM_OUTPUT_ALIGNED_BSS): Define.
(PCC_BITFIELD_TYPE_MATTERS): Define.
(USE_CONST_SECTION): Define.
(SUBTARGET_ENCODE_SECTION_INFO): Remove.
(TARGET_ASM_FUNCTION_RODATA_SECTION): Remove.
(SUPPORTS_ONE_ONLY): Remove.
(I386_PE_STRIP_ENCODING): Define.
* config/interix.opt: Delete and move bits to..
* config/i386/interix.opt: ..here. New.
(mpe-aligned-commons): Add.
* config/i386/t-interix: Add copyright header.
(winnt-stubs.o): Add rule.
* testsuite/gcc.dg/builtins-config.h: (HAVE_C99_RUNTIME):
Do not define for Interix.
From-SVN: r183406
2012-01-23 06:25:28 +00:00
Andreas Krebbel
925b0ed821
re PR bootstrap/51734 (Bootstrap fails in libada)
...
config/
2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
PR bootstrap/51734
* picflag.m4: Remove s390 case statement.
gcc/
2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* configure: Regenerate.
libada/
2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* configure: Regenerate.
libgcc/
2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* configure: Regenerate.
* config/s390/t-crtstuff: Remove -fPIC.
libiberty/
2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* configure: Regenerate.
From-SVN: r182868
2012-01-04 11:41:06 +00:00
Rainer Orth
e3aa9ebaf7
Centralize PICFLAG configuration
...
config:
* picflag.m4: New file.
gcc:
* configure.ac (GCC_PICFLAG_FOR_TARGET): Call it.
(PICFLAG_FOR_TARGET): Substitute.
* aclocal.m4: Regenerate.
* configure: Regenerate.
gcc/ada:
* gcc-interface/Makefile.in (PICFLAG_FOR_TARGET): New.
(GNATLIBCFLAGS_FOR_C): Replace
TARGET_LIBGCC2_CFLAGS by PICFLAG_FOR_TARGET.
(gnatlib-shared-default, gnatlib-shared-dual-win32)
(gnatlib-shared-win32, gnatlib-shared-darwin, gnatlib-shared)
(gnatlib-sjlj, gnatlib-zcx): Likewise.
libada:
* configure.ac: Include ../config/picflag.m4.
(GCC_PICFLAG): Call it.
Substitute.
* configure: Regenerate.
* Makefile.in (TARGET_LIBGCC2_CFLAGS): Replace by PICFLAG.
(GNATLIBCFLAGS_FOR_C): Replace TARGET_LIBGCC2_CFLAGS by PICFLAG.
(LIBADA_FLAGS_TO_PASS): Pass PICFLAG as PICFLAG_FOR_TARGET.
Don't include $(GCC_DIR)/libgcc.mvars.
libiberty:
* aclocal.m4: Include ../config/picflag.m4.
* configure.ac (GCC_PICFLAG): Call it.
(enable_shared): Clear PICFLAG unless shared.
* configure: Regenerate.
From-SVN: r177967
2011-08-22 16:54:02 +00:00