2012-12-17debug/gdb: update Linaro GDB revisions to 2012.12-1
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 17 Dec 2012 17:17:23 +0100] rev 3139
debug/gdb: update Linaro GDB revisions to 2012.12-1

Update Linaro GDB with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <b6c4a82286f9a3de3948.1355761104@advdt005-ubuntu>
Patchwork-Id: 206907

2012-12-17cc/gcc: update Linaro GCC revisions to 2012.12
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 17 Dec 2012 17:13:27 +0100] rev 3138
cc/gcc: update Linaro GCC revisions to 2012.12

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <acf52a6302c475ff850e.1355760853@advdt005-ubuntu>
Patchwork-Id: 206905

2012-12-11debug/gdb: update Linaro GDB revisions to 2012.12
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Tue, 11 Dec 2012 12:40:21 +0100] rev 3137
debug/gdb: update Linaro GDB revisions to 2012.12

Update Linaro GDB with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <f37c710b8eb881abde4f.1355226132@advdt005-ubuntu>
Patchwork-Id: 205182

2012-12-11kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Tue, 11 Dec 2012 12:54:05 +0100] rev 3136
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <515f9ed69f58a0af21e9.1355226920@advdt005-ubuntu>
Patchwork-Id: 205183

2012-12-10complibs/ppl: fix build with newer gcc
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 10 Dec 2012 00:25:48 +0100] rev 3135
complibs/ppl: fix build with newer gcc

ppl-0.10.x does not build with gcc-4.6+, as it uses constructs that were
warnings with gcc-4.5 and before, but are now errors with gcc-4.6 and
above.

Fix that by passing -fpermissive in CFLAGS for ppl 0.10.

Reported-by: Jeremy Rosen <jeremy.rosen@openwide.fr>
Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-12-05scripts/xldd: use user's sed and grep
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 05 Dec 2012 20:31:43 +0100] rev 3134
scripts/xldd: use user's sed and grep

xldd uses sed and grep as detected by ./configure. This works well if is
used on the machine that build the toolchain.

But if the user moves the toolchain to another machine where sed and grep
are not in the same directory (eg. /bin/sed vs. /usr/bin/sed), then xldd
will stop functionning.

Fix that by using ${SED} and ${GREP} if they are set in the environment.

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-11-25cc/gcc: do not print 'core' or 'final'
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 25 Nov 2012 18:22:38 +0100] rev 3133
cc/gcc: do not print 'core' or 'final'

In gcc-'s core and final passes, do not print 'core' or 'final' in
log messages. We already print it in step messages.

Also, as we use the core backend to build the bare-metal final gcc,
it can be disturbing to read 'core' while we're in fact in 'final'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-11-26cc/gcc: add patch for 4.7.2
Richard Braun <rbraun@sceen.net> [Mon, 26 Nov 2012 11:44:01 +0100] rev 3132
cc/gcc: add patch for 4.7.2

This patch fixes compilation of gcc when C++ is enabled and MMX is
available, but not SSE/SSE2/AVX.

Signed-off-by: Richard Braun <rbraun@sceen.net>
Message-Id: <20121126105642.GA12098@mail.sceen.net>
Patchwork-Id: 201648

2012-11-22cc: add a flag for skipping core passes
Yann Diorcet <diorcet.yann@gmail.com> [Thu, 22 Nov 2012 23:56:58 +0100] rev 3131
cc: add a flag for skipping core passes

It is used for skipping unnecessary compilation steps when the libc
doesn't need to be compiled (eg. when we do not use a C library).

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <150eadb0117e697d79aa.1353625025@blackmint>
Patchwork-Id: 201222

2012-11-22scripts/functions: fix debug-shell 1.17
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 22 Nov 2012 19:43:26 +0100] rev 3130
scripts/functions: fix debug-shell

Properly catch resuming the build when continuing past the
failed command.

The 'case ;;&' construct is a bash4ism. Get rid of it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from 2af20cfd210bac338ec18d774458c84fd585ef07)

2012-11-20scripts: fail on ':' in paths 1.17
Daniel Price <daniel.price@gmail.com> [Tue, 20 Nov 2012 16:59:17 -0800] rev 3129
scripts: fail on ':' in paths

Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536
(transplanted from 15cd5dc25929d0ccd0e1f187fe721a1ca0d48919)

2012-11-19scripts: unquoted variable reference in glibc-eglibc.sh-common 1.17
Daniel Price <daniel.price@gmail.com> [Mon, 19 Nov 2012 15:20:13 -0800] rev 3128
scripts: unquoted variable reference in glibc-eglibc.sh-common

Signed-off-by: Daniel Price <daniel.price@gmail.com>
Message-Id: <12f092a95a94bcf76912.1353367250@redfish.dssd.com>
Patchwork-Id: 200215
(transplanted from 51160d293e1fdbd69305310d3b34aa0054ce2399)

2012-11-22scripts/functions: fix debug-shell
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 22 Nov 2012 19:43:26 +0100] rev 3127
scripts/functions: fix debug-shell

Properly catch resuming the build when continuing past the
failed command.

The 'case ;;&' construct is a bash4ism. Get rid of it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-11-20scripts: refine static linking check to better guide the user
Daniel Price <daniel.price@gmail.com> [Tue, 20 Nov 2012 16:59:17 -0800] rev 3126
scripts: refine static linking check to better guide the user

The current mechanism to check if static linking is possible, and the mesage
displayed on failure, can be puzzling to the unsuspecting user.

Also, the current implementation is not using the existing infrastructure,
and is thus difficult to enhance with new tests.

So, switch to using the standard CT_DoExecLog infra, and use four tests to
check for the host compiler:
- check we can run it
- check it can build a trivial program
- check it can statically link that program
- check if it statically link with libstdc++

That should cover most of the problems. Hopefully.

(At the same time, fix a typo in a comment)

Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
[yann.morin.1998@free.fr: use steps to better see gcc's output]
[yann.morin.1998@free.fr: commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536

2012-11-20scripts: fail on ':' in paths
Daniel Price <daniel.price@gmail.com> [Tue, 20 Nov 2012 16:59:17 -0800] rev 3125
scripts: fail on ':' in paths

Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536

2012-11-19scripts: fix mis-alignment due to new variables
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 19 Nov 2012 22:13:11 +0100] rev 3124
scripts: fix mis-alignment due to new variables

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-11-19binutils: introduce the infrastructure to support binutils alternatives
Yann Diorcet <diorcet.yann@gmail.com> [Mon, 19 Nov 2012 11:21:31 +0100] rev 3123
binutils: introduce the infrastructure to support binutils alternatives

Rework binutils in order to provide soon binutils alternative.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971

2012-11-19binutils/elf2flt: remove use of CVS snapshots
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 19 Nov 2012 23:24:49 +0100] rev 3122
binutils/elf2flt: remove use of CVS snapshots

The CVS snapshot options are never used, so get rid of them.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-11-19binutils/binutils: simplify gold dependencies
Yann Diorcet <diorcet.yann@gmail.com> [Mon, 19 Nov 2012 21:45:09 +0100] rev 3121
binutils/binutils: simplify gold dependencies

In preparation of adding a new kernel-type, Yann D. came up
with a change in semantic on binutils/gold availability.

So far, it was architectures' responsibility to declare that
they did support binutils/gold or not. It makes much more sense
that binutils/gold declares its own availability depending on
the current architecture; after all, architectures have no way
to know wether gold supports them, while gold does know it.

Signed-off-by:Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971

2012-11-19binutils: cleanup ELF/FLAT/FDPIC dependencies
Yann Diorcet <diorcet.yann@gmail.com> [Mon, 19 Nov 2012 21:39:58 +0100] rev 3120
binutils: cleanup ELF/FLAT/FDPIC dependencies

In preparation of adding a new kernel-type, Yann D. came up
with a cleanup pass on the ELF/FLAT/FDPIC dependencies.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971

2012-11-16scripts: add BUILD/HOST extra cflags/ldflags
Yann Diorcet <diorcet.yann@gmail.com> [Fri, 16 Nov 2012 15:25:57 +0100] rev 3119
scripts: add BUILD/HOST extra cflags/ldflags

On some hosts, and for certain toolchains (eg. toolchain targetting
the upcoming Darwin), it may be necessary to pass arbitrary CFLAGS
and/or LDFLAGS when building the components.

And necessary infrastructure:
- EXTRA_{CFLAGS,LDFLAGS}_FOR_{BUILD,HOST} as config options
- pass those extra flags to components

Fix-up a slight typo in elf2flt at the same time (misnamed cflags).

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <d24043276c9243a35421.1353077450@macbook-smorlat.local>
Patchwork-Id: 199645

2012-11-19scripts: unquoted variable reference in glibc-eglibc.sh-common
Daniel Price <daniel.price@gmail.com> [Mon, 19 Nov 2012 15:20:13 -0800] rev 3118
scripts: unquoted variable reference in glibc-eglibc.sh-common

Signed-off-by: Daniel Price <daniel.price@gmail.com>
Message-Id: <12f092a95a94bcf76912.1353367250@redfish.dssd.com>
Patchwork-Id: 200215

2012-11-19binutils/sstrip: remove
Yann Diorcet <diorcet.yann@gmail.com> [Mon, 19 Nov 2012 11:19:54 +0100] rev 3117
binutils/sstrip: remove

sstrip has been obsoleted for a while now, as it's still broken
for some archs, and there seems to be no incentive to fix it
upstream. Besides, the space gained with sstrip is marginal at
best.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <65c8bf534d0647ce52cd.1353320545@macbook-smorlat.local>
Patchwork-Id: 199970

2012-11-06binutils/binutils: do not fwd declare struct stat (2.22).
Titus von Boxberg <titus@v9g.de> [Tue, 06 Nov 2012 17:42:39 +0100] rev 3116
binutils/binutils: do not fwd declare struct stat (2.22).

For canadian cross to host i686-mingw32 fwd declaring
struct stat is not possible.
Instead #include <sys/stat.h>

Signed-off-by: Titus von Boxberg <titus@v9g.de>
Message-Id: <417a15d4277913841ddd.1353100974@tschetwerikow.boxberg.lan>
Patchwork-Id: 199733

2012-11-16complibs: introduce generic multi-complibs infrastructure
Yann Diorcet (diorcet.yann@gmail.com) [Fri, 16 Nov 2012 14:59:27 +0100] rev 3115
complibs: introduce generic multi-complibs infrastructure

Use the same method as companion tools for providing generic and
extendable companion libs.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <515c5c4635d99ebe4877.1353074410@macbook-smorlat.local>
Patchwork-Id: 199613

2012-11-15kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 15 Nov 2012 20:51:31 +0100] rev 3114
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <4b669b1e51901b6ec6b1.1353009148@advdt005-ubuntu>
Patchwork-Id: 199394

2012-11-15cc/gcc: update Linaro GCC revisions to 2012.11
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 15 Nov 2012 20:41:32 +0100] rev 3113
cc/gcc: update Linaro GCC revisions to 2012.11

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <8e49233e63d9d6051dc2.1353008548@advdt005-ubuntu>
Patchwork-Id: 199390

2012-11-14libc/mingw: replace mingw32 with generic mingw
Yann Diorcet <diorcet.yann@gmail.com> [Wed, 14 Nov 2012 14:05:49 +0100] rev 3112
libc/mingw: replace mingw32 with generic mingw

Replace the 32-bit-only mingw32 with mingw-w64 that is capable
of building toolchains for both 32-bit and 64-bit Windows.

kernel/mingw: replace mingw32 with generic Windows
kernel/windows: New windows kernel supporting 32 and 64 bit arch
libc/mingw: Remove old options
patches: Remove old mingw libc options' patches

Signed-off-by: "Yann Diorcet" <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: array var in libc/mingw.sh, typos]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <b045ac08fc9eac2e5ee3.1352898499@blackmint>
Patchwork-Id: 198901

2012-11-13scripts: set default CFLAGS to optimise.
Michael Hope <michael.hope@linaro.org> [Tue, 13 Nov 2012 15:06:18 +0000] rev 3111
scripts: set default CFLAGS to optimise.

The extra CFLAGS override the product defaults, causing the product to
be built without optimisation or debug. Be explicit and add these in.

Reported-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Michael Hope <michael.hope@linaro.org>
Message-Id: <CANLjY-=3Gbio6nzUPhhevDHV7cUN=6Vigooe9nSf-RnGCqnjog@mail.gmail.com>
Patchwork-Id: 198808

2012-11-111.17: update version to 1.17.0+hg 1.17
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 11 Nov 2012 21:43:54 +0100] rev 3110
1.17: update version to 1.17.0+hg

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>