Commit Graph

2420 Commits

Author SHA1 Message Date
H.J. Lu
d90639476f IA MCU psABI support: GCC changes
This patch introduces basic IA MCU psABI support into GCC.

	* configure.ac (ospace_frag): Enable for i?86*-*-elfiamcu
	target.
	* configure: Regenerate.

gcc/

	* config.gcc: Support i[34567]86-*-elfiamcu target.
	* config/i386/iamcu.h: New.
	* config/i386/i386.opt: Add -miamcu.
	* doc/invoke.texi: Document -miamcu.
	* common/config/i386/i386-common.c  (ix86_handle_option): Turn
	off x87/MMX/SSE/AVX codegen for -miamcu.
	* config/i386/i386-c.c (ix86_target_macros_internal): Define
	__iamcu/__iamcu__ for -miamcu.
	* config/i386/i386.h (PREFERRED_STACK_BOUNDARY_DEFAULT): Set
	to MIN_STACK_BOUNDARY if TARGET_IAMCU is true.
	(BIGGEST_ALIGNMENT): Set to 32 if TARGET_IAMCU is true.
	* config/i386/i386.c (ix86_option_override_internal): Ignore and
	warn -mregparm for Intel MCU.  Turn on -mregparm=3 for Intel
	MCU by default.  Default long double to 64-bit for Intel MCU.
	Turn on -freg-struct-return for Intel MCU.  Issue an error when
	-miamcu is used in 64-bit or x32 mode or if x87, MMX, SSE or
	AVX is turned on.
	(function_arg_advance_32): Pass value whose size is no larger
	than 8 bytes in registers for Intel MCU.
	(function_arg_32): Likewise.
	(ix86_return_in_memory): Return value whose size is no larger
	than 8 bytes in registers for Intel MCU.
	(iamcu_alignment): New function.
	(ix86_data_alignment): Call iamcu_alignment if TARGET_IAMCU is
	true.
	(ix86_local_alignment): Don't increase alignment for Intel MCU.
	(x86_field_alignment): Return iamcu_alignment if TARGET_IAMCU is
	true.

From-SVN: r225197
2015-06-30 09:40:19 -07:00
Ludovic Courtès
b837291d5a * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r224825
2015-06-23 08:52:51 +00:00
Andreas Tobler
2a97995f81 MAINTAINERS (OS Port Maintainers): Add myself.
2015-06-22  Andreas Tobler  <andreast@gcc.gnu.org>

    * MAINTAINERS (OS Port Maintainers): Add myself.
    (Various Maintainers): Remove myself from libffi testsuite.

From-SVN: r224760
2015-06-22 22:33:41 +02:00
Richard Sandiford
19cd26a6b9 * MAINTAINERS (gen* on machine desc): Add self.
From-SVN: r224127
2015-06-04 15:19:58 +00:00
Jeff Law
368054069f Fix FT32 ChangeLogs
From-SVN: r224080
2015-06-03 07:39:45 -06:00
Jason Merrill
8ca528d906 re PR bootstrap/66319 (gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)')
PR bootstrap/66319
	* configure.ac: Use -std=gnu++98.

From-SVN: r224039
2015-06-02 13:50:23 -04:00
Szabolcs Nagy
4526c3c15c MAINTAINERS (Write After Approval): Add myself.
2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r224032
2015-06-02 16:39:19 +00:00
Mike Frysinger
318a4e6de8 configure: fix vtable help
Spacing is off causing --help to not line up.  Use the standard
AS_HELP_STRING like all the other options.

From-SVN: r223833
2015-05-28 14:27:35 +00:00
Jason Merrill
460704884f configure.ac: When bootstrapping with GCC, add -std=c++98 to CXX.
* configure.ac: When bootstrapping with GCC, add -std=c++98 to CXX.
	* configure: Regenerate.

From-SVN: r223692
2015-05-26 08:29:13 -04:00
Jason Merrill
65d932637e revert: configure.ac: Add -std=c++98 to stage1_cxxflags.
Revert:
       * configure.ac: Add -std=c++98 to stage1_cxxflags.
       * Makefile.tpl (STAGE1_CXXFLAGS): And substitute it.
       * Makefile.in, configure: Regenerate.

From-SVN: r223494
2015-05-21 13:05:33 -04:00
Jason Merrill
da0bfb866e configure.ac: Add -std=c++98 to stage1_cxxflags.
* configure.ac: Add -std=c++98 to stage1_cxxflags.
	* Makefile.tpl (STAGE1_CXXFLAGS): And substitute it.
	* Makefile.in, configure: Regenerate.

From-SVN: r223487
2015-05-21 11:12:35 -04:00
James Bowman
fef939d6a9 FT32 target added. Approved by Jeff Law [law@redhat.com]
From-SVN: r223261
2015-05-16 23:49:08 +00:00
Iain Buclaw
886faf50c7 MAINTAINERS (Write After Approval): Add myself.
2015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r223239
2015-05-16 13:46:58 +00:00
Paulo Matos
91c6b410ad * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r223012
2015-05-11 20:09:43 +02:00
Paulo Matos
e640447c6d configure.ac: Fix typo.
* configure.ac: Fix typo.
        * configure: Regenerate.

From-SVN: r223011
2015-05-11 20:09:35 +02:00
Mikhail Maltsev
e587377d38 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r222983
2015-05-10 18:13:57 +00:00
Matthias Klose
cabb9d59a2 configure.ac: Match $host configured with triplets.
2015-05-03  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Match $host configured with triplets.
        * configure: Regenerate.

From-SVN: r222750
2015-05-03 17:31:26 +00:00
Bernhard Reutner-Fischer
fafb95a6fe Makefile.tpl: Remove surplus whitespace throughout.
2015-04-22  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

	* Makefile.tpl: Remove surplus whitespace throughout.
	* Makefile.in: Regenerate.

From-SVN: r222334
2015-04-22 20:32:18 +02:00
Segher Boessenkool
858677721c MAINTAINERS (Various Maintainers): Add myself as instruction combiner maintainer.
* MAINTAINERS (Various Maintainers): Add myself as instruction
	combiner maintainer.

From-SVN: r222250
2015-04-21 00:03:37 +02:00
Jakub Jelinek
c10b5ea0d8 re PR bootstrap/62077 (--with-build-config=bootstrap-lto fails)
PR bootstrap/62077
	* configure.ac (--enable-stage1-checking): Default to
	release,misc,gimple,rtlflag,tree,types if --disable-checking
	or --enable-checking is not specified and DEV-PHASE is not
	experimental.
	* configure: Regenerated.

From-SVN: r222187
2015-04-17 19:09:20 +02:00
Max Ostapenko
7701939727 Makefile.tpl (EXTRA_HOST_EXPORTS): New variables.
2015-04-14  Max Ostapenko  <m.ostapenko@partner.samsung.com>

	* Makefile.tpl (EXTRA_HOST_EXPORTS): New variables.
	(EXTRA_BOOTSTRAP_FLAGS): Likewise.
	(check-[+module+]): Add EXTRA_HOST_EXPORTS and EXTRA_BOOTSTRAP_FLAGS.
	* Makefile.in: Regenerate.

	libiberty/
	* testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS.

From-SVN: r222099
2015-04-14 19:14:04 +03:00
Cary Coutant
17feae99d5 Fix date in ChangeLog entry.
From-SVN: r221929
2015-04-08 11:29:29 -07:00
Cary Coutant
b68ba431eb MAINTAINERS: Update my email address.
2012-10-01  Cary Coutant  <ccoutant@gmail.com>

	* MAINTAINERS: Update my email address.

From-SVN: r221928
2015-04-08 11:27:32 -07:00
James Greenhalgh
e61ffb3b5a [Patch] Add myself as AArch64 Port Reviewer
* MAINTAINERS: Add myself as a reviewer for the AArch64 port.

From-SVN: r221834
2015-04-02 10:49:16 +00:00
Kyrylo Tkachov
b16cc4f20c Add myself as reviewer for arm port
* MAINTAINERS: Add myself as an arm port reviewer.

From-SVN: r221833
2015-04-02 10:19:37 +00:00
Uros Bizjak
13be44ed9d Install back PR target/47230 fix (Revert the revert).
From-SVN: r221739
2015-03-27 18:08:44 +01:00
Martin Liska
ec5239093a Fix vimrc file link creation.
* Makefile.in: Fix ln source location for vimrc file.
	* Makefile.tpl: Likewise.


Co-Authored-By: Yury Gribov <y.gribov@samsung.com>

From-SVN: r221659
2015-03-25 12:05:22 +00:00
H.J. Lu
ae8b772f95 Move cloog.m4 ChangeLog entry to config/ChangeLog
From-SVN: r221458
2015-03-16 08:28:58 -07:00
Aldy Hernandez
fc30054eff re PR bootstrap/25672 (cross build's libgcc picks up CFLAGS)
PR bootstrap/25672
	* configure.ac: Do not initialize CFLAGS_FOR_TARGET from CFLAGS if
	cross-compiling.  Similarly for CXX_FOR_TARGET.
	* configure: Regenerate.

From-SVN: r221326
2015-03-10 16:37:53 +00:00
Ilya Enkovich
5373cd33a8 Makefile.def: Add libmpx.
* Makefile.def: Add libmpx.
	* configure.ac: Add libmpx.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

gcc/

	* config/i386/linux-common.h (LIBMPX_LIBS): New.
	(LIBMPX_SPEC): New.
	(CHKP_SPEC): New.
	* gcc.c (CHKP_SPEC): New.
	(LINK_COMMAND_SPEC): Add CHKP_SPEC.
	* c-family/c.opt (static-libmpx): New.

libmpx/

	Initial commit.

From-SVN: r221311
2015-03-10 09:37:41 +00:00
Kirill Yukhin
a6e8abb9d5 MAINTAINERS (CPU Port Maintainers): Add myself i386 vector ISA extns mantainer.
/
	* MAINTAINERS (CPU Port Maintainers): Add myself
	i386 vector ISA extns mantainer.

From-SVN: r221238
2015-03-06 14:49:03 +00:00
Jeff Law
f2b86778c4 MAINTAINERS: Remove Paul Brook as a Fortran and ARM maintainer.
* MAINTAINERS: Remove Paul Brook as a Fortran and ARM
	maintainer.
	Remove Richard Henderson as a maintainer for the x86 port.

From-SVN: r221154
2015-03-03 09:41:55 -07:00
Joern Rennecke
9dd44d1c80 MAINTAINERS (CPU Port Maintainers): Update my email address.
2015-03-03  Joern Rennecke  <gnu@amylaar.uk>

        * MAINTAINERS (CPU Port Maintainers): Update my email address.

From-SVN: r221149
2015-03-03 14:02:18 +00:00
Ilya Enkovich
3307944165 MAINTAINERS (Various Maintainers): Add myself as libmpx, pointer bounds checker and i386 MPX maintainer.
* MAINTAINERS (Various Maintainers): Add myself as libmpx,
	pointer bounds checker and i386 MPX maintainer.

From-SVN: r221104
2015-03-02 10:17:26 +00:00
Sandra Loosemore
d083ae5fae MAINTAINERS (Various Maintainers): Add self as docs co-maintainer.
2015-02-26  Sandra Loosemore  <sandra@codesourcery.com>

	* MAINTAINERS (Various Maintainers): Add self as docs co-maintainer.

From-SVN: r221041
2015-02-26 21:34:56 -05:00
Martin Sebor
f91f1c1312 Add self to Various Maintainers.
From-SVN: r221039
2015-02-26 17:50:57 -07:00
Peter Bergner
b5f0a06274 Move ChangeLog entry to correct ChangeLog
From-SVN: r221017
2015-02-26 09:58:00 -06:00
Adhemerval Zanella
313123e753 htm.md (tcheck): Fix assembly encoding.
gcc/
	* config/rs6000/htm.md (tcheck): Fix assembly encoding.

gcc/testsuite/
	* gcc.target/powerpc/htm-builtin-1.c: Fix tcheck expect value.

From-SVN: r220992
2015-02-25 16:18:19 -06:00
Uros Bizjak
76fabbf42d Revert:
2014-07-26  Uros Bizjak  <ubizjak@gmail.com>

	PR target/47230
	* configure.ac (alpha*-*-linux*): Use mh-alpha-linux.
	* configure: Regenerate.

/config

	Revert:
	2014-07-26  Uros Bizjak  <ubizjak@gmail.com>

	PR target/47230
	* mh-alpha-linux: New file.

/gcc

	PR target/47230
	* doc/install.texi (Specific, alpha*-*-*): Document that binutils 2.25
	or newer are required.

From-SVN: r220990
2015-02-25 20:59:31 +01:00
Thomas Schwinge
426c1eb04b If we're building an offloading compiler, always enable the LTO front end.
* configure.ac [--enable-as-accelerator-for] (enable_languages):
	Make sure it contains lto.
	* configure: Regenerate.

From-SVN: r220838
2015-02-20 10:40:52 +01:00
Thomas Schwinge
8ae12d71c4 nvptx-none: Disable the lto-plugin.
config/
	* elf.m4 (ACX_ELF_TARGET_IFELSE): nvptx-*-none isn't ELF.
	/
	* configure: Regenerate.

From-SVN: r220781
2015-02-18 09:01:03 +01:00
Diego Novillo
11aa81cc4e Remove myself from all maintainer roles.
From-SVN: r220500
2015-02-06 19:51:02 -05:00
Janis Johnson
a436ab274e MAINTAINERS (Various Maintainers: testsuite): Remove myself.
* MAINTAINERS (Various Maintainers: testsuite): Remove myself.
	(Write After Approval): Update address.

From-SVN: r220352
2015-02-02 16:40:20 +00:00
Sandra Loosemore
0353c564de Correct Changelog for r220309
From-SVN: r220314
2015-01-31 21:09:48 -05:00
Sandra Loosemore
7d47d0a1b8 extend.texi: Use "x86"...
2015-01-31  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/extend.texi: Use "x86", "x86-32", and "x86-64" as the
	preferred names of the architecture and its 32- and 64-bit
	variants.
	* doc/invoke.texi: Likewise.
	* doc/md.texi: Likewise.

From-SVN: r220309
2015-01-31 18:47:13 -05:00
David Malcolm
231d020bfb PR jit/64780: configure: --enable-host-shared and the jit
ChangeLog:
	PR jit/64780
	* configure.ac: Require the user to explicitly specify
	--enable-host-shared if the jit is enabled.
	* configure: Regenerate.

From-SVN: r220253
2015-01-29 16:25:14 +00:00
Robert Suchanek
82a9447166 Add myself to maintaners.
/
	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r220172
2015-01-27 15:31:14 +00:00
Matthias Klose
2b8fa469eb Move wrong ChangeLog entry from the toplevel ChangeLog to
libbacktrace.

From-SVN: r220112
2015-01-26 14:51:12 +00:00
Tom de Vries
e6f0c56dcb Make whitespace consistent in MAINTAINERS
2015-01-25  Tom de Vries  <tom@codesourcery.com>

	* MAINTAINERS: Make whitespace consistent.

From-SVN: r220091
2015-01-25 11:16:28 +00:00
Matthias Klose
405a6b1c93 configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
2015-01-24  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
        * configure: Regenerate.

From-SVN: r220075
2015-01-24 02:46:22 +00:00