Commit Graph

949 Commits

Author SHA1 Message Date
Yann E. MORIN"
1d36c322bb Fix building with newer gcc that have the 'fix-include' /feature/.
/trunk/patches/glibc/2.3.6/290-gcc-4.3-include.patch |   40    40     0     0 ++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
2008-10-28 09:46:48 +00:00
Yann E. MORIN"
34e7f335fc Update this MIPS sample.
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config |  160    83    77     0 +++++++++++-----------
 /trunk/samples/mipsel-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 84 insertions(+), 77 deletions(-)
2008-10-27 19:12:40 +00:00
Yann E. MORIN"
6bad5c1002 Don't use libelf in MIPS samples: it is not used as ltrace is not available for MIPS.
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config |    9     4     5     0 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
2008-10-27 18:46:04 +00:00
Yann E. MORIN"
b476443822 Enhance the make fragments:
- comment the different parts
- re-order the code so that it is homogeneous amogst fragments
- eye-candy in some existing comments

 /trunk/tools/tools.mk     |   17    15     2     0 +++++++++++++++--
 /trunk/steps.mk           |   38    26    12     0 ++++++++++++++++++++++++++------------
 /trunk/samples/samples.mk |   41    28    13     0 ++++++++++++++++++++++++++++-------------
 /trunk/config/config.mk   |    2     1     1     0 +-
 4 files changed, 70 insertions(+), 28 deletions(-)
2008-10-27 18:42:26 +00:00
Yann E. MORIN"
84fe3f42e2 Add 'help' in the auto-completion.
/trunk/ct-ng.comp |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-27 18:39:24 +00:00
Yann E. MORIN"
4f59e67c4d Typo.
/trunk/scripts/showSamples.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-27 18:19:08 +00:00
Yann E. MORIN"
b4fcf60350 Update this MIPS sample.
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config |  141    74    67     0 +++++++++++++++--------------
 /trunk/samples/mips-unknown-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 77 insertions(+), 67 deletions(-)
2008-10-27 18:17:16 +00:00
Yann E. MORIN"
46f8e7ba90 Really, don't do DEBUG in samples.
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config       |    5     1     4     0 +----
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |    5     1     4     0 +----
 2 files changed, 2 insertions(+), 8 deletions(-)
2008-10-27 17:03:01 +00:00
Yann E. MORIN"
a1630bfc9b Don't do DEBUG in samples.
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config |    5     1     4     0 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
2008-10-27 16:53:40 +00:00
Yann E. MORIN"
fa5a67e4a7 Update the ia64 sample.
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config |  109    55    54     0 ++++++++++++------------
 /trunk/samples/ia64-unknown-linux-gnu/reported.by      |    3     3     0     0 +
 2 files changed, 58 insertions(+), 54 deletions(-)
2008-10-27 15:22:41 +00:00
Yann E. MORIN"
80c3652025 Update the i686 sample.
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |  167    90    77     0 +++++++++++++++------------
 /trunk/samples/i686-nptl-linux-gnu/reported.by      |    3     3     0     0 +
 2 files changed, 93 insertions(+), 77 deletions(-)
2008-10-27 10:03:38 +00:00
Yann E. MORIN"
34b2876217 Update the i586 Geode sample.
/trunk/samples/i586-geode-linux-uclibc/crosstool.config |  142    73    69     0 ++++++++++++-----------
 /trunk/samples/i586-geode-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 76 insertions(+), 69 deletions(-)
2008-10-27 08:58:57 +00:00
Yann E. MORIN"
6ffcf32efd Update this ARM sample.
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |  148    80    68     0 +++++++------
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/reported.by      |    3     3     0     0 +
 2 files changed, 83 insertions(+), 68 deletions(-)
2008-10-26 18:02:34 +00:00
Yann E. MORIN"
5a50bec5a7 Update this ARM sample.
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config |  166    88    78     0 ++++++++++---------
 /trunk/samples/armeb-unknown-linux-gnueabi/reported.by      |    3     3     0     0 +
 2 files changed, 91 insertions(+), 78 deletions(-)
2008-10-26 15:48:59 +00:00
Yann E. MORIN"
92d4a36e33 Don't use /bin/ash as shell in samples.
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |    7     3     4     0 +++---
 /trunk/samples/powerpc-405-linux-gnu/crosstool.config           |   17     8     9     0 +++++++--------
 /trunk/samples/arm-unknown-eabi/crosstool.config                |    6     3     3     0 ++--
 3 files changed, 14 insertions(+), 16 deletions(-)
2008-10-26 15:23:42 +00:00
Yann E. MORIN"
6f1b97431a Update the Alpha sample with ltrace being built.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2008-10-26 15:20:05 +00:00
Yann E. MORIN"
cd206bb3e3 Make ltrace build for Alpha (eg. alphaev56-* _is_ an Alpha!).
/trunk/patches/ltrace/0.4/120-alpha-support.patch |   11    11     0     0 +++++++++++
 1 file changed, 11 insertions(+)
2008-10-26 15:19:15 +00:00
Yann E. MORIN"
6aaa4bb500 Update thie ARM sample.
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config |  168    89    79     0 ++++++++++++-----------
 /trunk/samples/armeb-unknown-linux-gnu/reported.by      |    3     3     0     0 +
 2 files changed, 92 insertions(+), 79 deletions(-)
2008-10-26 14:33:11 +00:00
Yann E. MORIN"
3f54d613fa Update this ARM sample.
/trunk/samples/arm-unknown-linux-gnu/crosstool.config |  171    91    80     0 +++++++++++++------------
 /trunk/samples/arm-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 92 insertions(+), 80 deletions(-)
2008-10-26 14:32:21 +00:00
Yann E. MORIN"
6b78dcf50f Update this ARM sample.
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config |  146    75    71     0 +++++++++++-----------
 /trunk/samples/arm-unknown-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 78 insertions(+), 71 deletions(-)
2008-10-26 12:22:20 +00:00
Yann E. MORIN"
ce4431de20 ltrace: remove lingering ".
/trunk/scripts/build/debug/400-ltrace.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-26 11:30:34 +00:00
Yann E. MORIN"
1d7283c576 Update the bare-metal ARM EABI sample.
/trunk/samples/arm-unknown-eabi/crosstool.config |   51    35    16     0 +++++++++++++++++++++---------
 /trunk/samples/arm-unknown-eabi/reported.by      |    3     3     0     0 ++
 2 files changed, 38 insertions(+), 16 deletions(-)
2008-10-26 11:26:46 +00:00
Yann E. MORIN"
bb5c34400a Update the bare-metal ARM ELF sample.
/trunk/samples/arm-unknown-elf/crosstool.config |   55    37    18     0 +++++++++++++++++++++----------
 /trunk/samples/arm-unknown-elf/reported.by      |    3     3     0     0 ++
 2 files changed, 40 insertions(+), 18 deletions(-)
2008-10-26 11:26:27 +00:00
Yann E. MORIN"
0c2ff1f668 Update the Alpha sample.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |  122    61    61     0 +++++++++---------
 /trunk/samples/alphaev56-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 62 insertions(+), 61 deletions(-)
2008-10-26 10:30:35 +00:00
Yann E. MORIN"
eeeb5559a5 ltrace does not build out-of-tree: use copied sources to configure.
/trunk/scripts/build/debug/400-ltrace.sh |    8     4     4     0 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2008-10-26 09:29:04 +00:00
Yann E. MORIN"
5aec7ba287 ltrace is no longer EXPERIMENTAL.
/trunk/config/debug/ltrace.in |    1     0     1     0 -
 1 file changed, 1 deletion(-)
2008-10-25 16:58:06 +00:00
Yann E. MORIN"
b0949f6291 Update this sample.
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config |  106    52    54     0 ++++++++++-----------
 /trunk/samples/arm-unknown-linux-gnueabi/reported.by      |    1     1     0     0 +
 2 files changed, 53 insertions(+), 54 deletions(-)
2008-10-25 16:53:05 +00:00
Yann E. MORIN"
e6eb172a59 libelf and ltrace are now no longer EXPERIMENTAL.
Remove old versions that never worked.

 /trunk/config/debug/ltrace.in |   14     4    10     0 ++++----------
 /trunk/config/tools/libelf.in |    5     0     5     0 -----
 2 files changed, 4 insertions(+), 15 deletions(-)
2008-10-25 16:32:11 +00:00
Yann E. MORIN"
5cadb1c40b Update this sample.
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |   37    20    17     0 ++++++++-------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/reported.by      |    2     1     1     0
 2 files changed, 21 insertions(+), 18 deletions(-)
2008-10-25 16:17:20 +00:00
Yann E. MORIN"
d90f32267b Remove libelf versions that never worked.
/trunk/config/tools/libelf.in |   11     0    11     0 -----------
 1 file changed, 11 deletions(-)
2008-10-25 15:47:01 +00:00
Yann E. MORIN"
d64cca93c6 Update strace to 4.5.17:
- forward-port the patchset from strace-4.5.16 to 4.5.17
- add a new patch from  Michael Abbott (#170)

 /trunk/patches/strace/4.5.17/100-autoreconf.patch                      |   16    10     6     0 ++--
 /trunk/patches/strace/4.5.17/150-undef-CTL_PROC.patch                  |    8     6     2     0 +-
 /trunk/patches/strace/4.5.17/140-statfs64-check.patch                  |   28    16    12     0 ++++---
 /trunk/patches/strace/4.5.17/160-undef-syscall.patch                   |   24    14    10     0 +++---
 /trunk/patches/strace/4.5.17/110-dont-use-REG_SYSCALL-for-sh.patch     |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/120-fix-arm-bad-syscall.patch             |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/130-fix-disabled-largefile-syscalls.patch |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/170-arm-syscalls.patch                    |   42    42     0     0 ++++++++++
 /trunk/config/debug/strace.in                                          |    5     5     0     0 +
 9 files changed, 114 insertions(+), 39 deletions(-)
2008-10-25 15:44:05 +00:00
Yann E. MORIN"
0c063fad74 Make ltrace finally build:
- copy sources to build directory, as it does not build out-of-tree
- add a patch to make it build for non *-linux-gnu host tuples
- add a patch to make it cross-build correctly

 /trunk/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch |   26    26     0     0 +++
 /trunk/patches/ltrace/0.4/110-allow-cross-compile.patch                 |   89    89     0     0 ++++++++++
 /trunk/scripts/build/debug/400-ltrace.sh                                |    5     3     2     0 +
 3 files changed, 118 insertions(+), 2 deletions(-)
2008-10-24 15:40:58 +00:00
Yann E. MORIN"
e6abad7e97 Add the latest Linux kernel versions: 2.6.25.19, 2.6.26.7 and 2.6.27.3.
/trunk/config/kernel/linux.in |   16    13     3     0 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
2008-10-24 15:38:13 +00:00
Yann E. MORIN"
e912ebc475 Update the sh4 sample.
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config |   27    10    17     0 +++++++++----------------
 1 file changed, 10 insertions(+), 17 deletions(-)
2008-10-24 11:42:48 +00:00
Yann E. MORIN"
5b581f678b The glibc-2.7 profs fix for SuperH was missing very important parts...
/trunk/patches/glibc/2.7/270-sh-fix-procfs.patch |   38    32     6     0 ++++++++++++++++++++++++++++++++------
 1 file changed, 32 insertions(+), 6 deletions(-)
2008-10-24 11:14:31 +00:00
Yann E. MORIN"
0732c2ceef Fix libelf cross-building.
/trunk/patches/libelf/0.8.10/100-fix-64-bit-detection.patch |   24    24     0     0 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
2008-10-24 07:13:52 +00:00
Yann E. MORIN"
3605fa4f5f Fix saving samples, by Nye Liu:
http://sourceware.org/ml/crossgcc/2008-10/msg00070.html

 /trunk/scripts/saveSample.sh |    3     2     1     0 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2008-10-23 21:13:50 +00:00
Yann E. MORIN"
04459efaac Fix memset on PowerPC 8xx, by Nye Liu:
http://sourceware.org/ml/crossgcc/2008-10/msg00067.html

 /trunk/patches/glibc/2.7/290-powerpc-8xx-CPU15-errata.patch |   40    40     0     0 +++++++++++++++++++
 1 file changed, 40 insertions(+)
2008-10-23 21:12:29 +00:00
Yann E. MORIN"
1c625d676c Push the calculation of the tuple's kernel part down to kernel's build scripts:
- update the kernel script's API with the function CT_DiKernelTupleValues
- update doc accordingly (also with the architecture change, missing in the previous commit)
- small clean-up in the main script, remove useless test

 /trunk/scripts/build/kernel/bare-metal.sh |    5     5     0     0 +++++
 /trunk/scripts/build/kernel/linux.sh      |    5     5     0     0 +++++
 /trunk/scripts/crosstool.sh               |   31    13    18     0 +++++++++++++------------------
 /trunk/scripts/functions                  |   15     8     7     0 ++++++++-------
 /trunk/docs/overview.txt                  |   13     9     4     0 +++++++++----
 5 files changed, 40 insertions(+), 29 deletions(-)
2008-10-23 13:45:48 +00:00
Yann E. MORIN"
58e57f180c Architecture API change:
- rename the tuple function

 /trunk/scripts/build/arch/mips.sh    |    2     1     1     0 +-
 /trunk/scripts/build/arch/sh.sh      |    2     1     1     0 +-
 /trunk/scripts/build/arch/x86_64.sh  |    2     1     1     0 +-
 /trunk/scripts/build/arch/arm.sh     |    2     1     1     0 +-
 /trunk/scripts/build/arch/powerpc.sh |    2     1     1     0 +-
 /trunk/scripts/build/arch/ia64.sh    |    2     1     1     0 +-
 /trunk/scripts/build/arch/alpha.sh   |    2     1     1     0 +-
 /trunk/scripts/build/arch/x86.sh     |    2     1     1     0 +-
 /trunk/scripts/functions             |   12     7     5     0 +++++++-----
 9 files changed, 15 insertions(+), 13 deletions(-)
2008-10-23 13:00:45 +00:00
Yann E. MORIN"
d55709c9a3 Rename a patch: typo. 2008-10-22 21:02:03 +00:00
Yann E. MORIN"
c15b9fb7ea Make Super-H finally compile a complete (C-only) toolchain:
- new, un-tested patches
 - an sh4 sample to work on, and to try to reproduce later.

 /trunk/patches/glibc/2.7/250-sh-chop-linux-version.patch         |   49    49     0     0 ++
 /trunk/patches/glibc/2.7/240-sh-lowlevellock-asm.patch           |   56    56     0     0 +++
 /trunk/patches/glibc/2.7/270-sh-fix-procfs.patch                 |   11    11     0     0 +
 /trunk/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch |   23    23     0     0 +
 /trunk/patches/glibc/2.7/260-sh-syscall-error-path.patch         |   26    26     0     0 +
 /trunk/samples/sh4-unknown-linux-gnu/crosstool.config            |  311   311     0     0 ++++++++++++++
 /trunk/samples/sh4-unknown-linux-gnu/reported.by                 |    3     3     0     0 +
 7 files changed, 479 insertions(+)
2008-10-22 20:50:10 +00:00
Yann E. MORIN"
9d4c07f32f Remove an unwanted SuperH chunk from an Alpha patch.
/trunk/patches/glibc/2.7/190-alpha-asm_elf.patch |   23     0    23     0 -----------------------
 1 file changed, 23 deletions(-)
2008-10-22 20:29:32 +00:00
Yann E. MORIN"
9cce3e2d7c Remove the ppc-405fp sample, replace with a ppc-405 sample (405fp has an FPU, 405 does not).
Thanks to Julien DUSSER for reporting this.

 /trunk/samples/powerpc-405-linux-gnu/crosstool.config |  343   343     0     0 +++++++++++++++++++++++++
 /trunk/samples/powerpc-405-linux-gnu/reported.by      |    3     3     0     0 +
 2 files changed, 346 insertions(+)
2008-10-22 19:03:08 +00:00
Yann E. MORIN"
247b7bcac6 Enhance the kconfig stuff build procedure:
- better allocate CFLAGS/LDFLAGS to object and dependency files
 - only include the needed dependency files
 - cleanly handle the kconfig/ check and creation
 - use HOST_LD to link, not HOST_CC (even if both are set to 'gcc' for now)
 - get rid of defoldconfig, it does not make much sense using it.

 /trunk/kconfig/kconfig.mk |  110    66    44     0 ++++++++++++++++++++++++++++++++---------------------
 1 file changed, 66 insertions(+), 44 deletions(-)
2008-10-22 16:56:23 +00:00
Yann E. MORIN"
3fdcbf0b26 Add a 405fp soft-float PowerPC sample.
/trunk/scripts/saveSample.sh                            |    2     1     1     0
 /trunk/samples/powerpc-405fp-linux-gnu/crosstool.config |  338   338     0     0 +++++++++++++++++++++++
 /trunk/samples/powerpc-405fp-linux-gnu/reported.by      |    3     3     0     0 +
 3 files changed, 342 insertions(+), 1 deletion(-)
2008-10-21 21:31:23 +00:00
Yann E. MORIN"
a5b4a804e3 Add a glibc-2.6.1 patch for PPC soft-float.
http://sourceware.org/ml/crossgcc/2008-10/msg00044.html

 /trunk/patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch |   21    21     0     0 ++++++++++++++++++
 1 file changed, 21 insertions(+)
2008-10-21 21:29:02 +00:00
Yann E. MORIN"
2c6a4afc4a Fix using only custom patches.
Reported by Patrick FLAIG: http://sourceware.org/ml/crossgcc/2008-10/msg00032.html

 /trunk/scripts/functions |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-21 21:04:25 +00:00
Yann E. MORIN"
6367613389 Fix paths in a glibc-ports-2.6.1 patch.
http://sourceware.org/ml/crossgcc/2008-10/msg00041.html

 /trunk/patches/glibc/ports-2.6.1/120-lll_lock_t.patch |   24    12    12     0 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
2008-10-21 17:01:31 +00:00
Yann E. MORIN"
5e5a5ef90b Correctly handle V= only from command line, not from environment.
/trunk/ct-ng.in |   17     8     9     0 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
2008-10-21 16:56:32 +00:00