43 Commits

Author SHA1 Message Date
Chris Johns
b2589cbab7 gcc: Switch GCC to the posix thread model.
Change from the RTEMS thread model to the POSIX model. Do not enable
the weak support as it fails to link in the posix parts from the
RTEMS library. No weak support requires libstdc++'s makefile be
updated to handle RTEMS.
2013-08-14 13:49:27 +10:00
Chris Johns
98f78dc6ab The __cxa_atexit support is a reqirement for destructor registration of
thread-local objects.

For *-*-elf it is already enabled by default.  See comment line 810 in
"gcc/config.gcc".

Define TARGET_LIBGCC_SDATA_SECTION on PowerPC for RTEMS to ".sdata" to
place the __dso_handle.  The __dso_handle is referenced by application
code.  In case this code uses the small data section, the __dso_handle
must be there.

This patch should be committed to GCC 4.8 and 4.9.

Test results:

 href="http://gcc.gnu.org/ml/gcc-testresults/2013-07/msg00671.html
2013-07-16 09:58:54 +10:00
Chris Johns
6651de8474 Add Joel's stack_t patch. 2013-05-31 09:43:40 +10:00
Amar Takhar
bba0b780b8 Add patch to remove times.c from PowerPC newlib. 2013-05-22 02:47:01 -04:00
Amar Takhar
acdef3644f Add three patches from Anthony Green to fix moxie tools.
http://sourceware.org/git/?p=binutils.git;a=commitdiff;h=cdef5ce2d07eefec59c3ef2157bc44a85df89157
  http://sourceware.org/git/?p=binutils.git;a=commitdiff;h=9cd5917ee16c8d8b138bc7c6ffd76a97952b650d
  http://sourceware.org/git/?p=binutils.git;a=commitdiff;h=fa75401a3f5c44e9f1ca1235135e579b833e26bb
2013-05-16 04:13:31 -04:00
Chris Johns
440c97f15e Regenerate the patch cleanly. 2013-04-15 08:25:05 +10:00
Chris Johns
65575cc327 Update the 4.7.2 patch to 4.7.3. 2013-04-14 10:34:31 +10:00
Chris Johns
eba19fac98 Update to the patch Joel merged. 2013-04-05 14:24:01 +11:00
Chris Johns
926ef3c81b PR target/56771. Require 64-bit int for arm*-*-rtems[.0-9]*. 2013-04-03 08:39:03 +11:00
Chris Johns
9d711f426c Fix to build in cygwin. 2013-04-02 17:48:38 +11:00
Chris Johns
4c5ffb2f82 Fix the sed breakage on FreeBSD. 2013-03-20 17:27:49 +11:00
Chris Johns
038b250624 Add the current rtems-4.10 patches. 2013-03-19 17:16:54 +11:00
Chris Johns
ce77d87439 Import the 4.9 patches. 2013-03-15 12:10:20 +11:00
Sebastian Huber
f0c9bae4ff Add latest GCC 4.7 ARM to EABI patch
This patch is included in the current GCC 4.7 branch.
2013-03-11 09:33:02 +01:00
Chris Johns
cb328a1533 Regenerate the ARM EABI patch for gcc-4.7.2 sources. 2013-03-11 17:16:02 +11:00
Chris Johns
94c5d74225 ARM EABI patch. 2013-03-11 11:50:53 +11:00
Chris Johns
e42bad3350 Move current patches in to the repo. 2013-03-11 09:28:55 +11:00
Chris Johns
5749230cbd Regerated version of Joel's patch so patch -p1 works. 2013-03-10 14:31:57 +11:00
Chris Johns
0e900001d5 Use a better name for the patch. 2013-03-10 12:35:37 +11:00
Chris Johns
25e43e17a7 Microblaze gcc-4.7.2 patch from Joel. 2013-03-10 12:27:22 +11:00
Chris Johns
df78032098 MIPS memcpy fixes.
http://sourceware.org/ml/newlib-cvs/2013-q1/msg00022.html

http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/machine/mips/memcpy.S.diff?r1=1.2&r2=1.3&cvsroot=src
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/machine/mips/memcpy.S.diff?r1=1.1&r2=1.2&cvsroot=src
2013-03-08 18:44:32 +11:00
Gedare Bloom
6d5bfb0abe Clean up. Remove all files to prepare repo for a new life.
rtems-tools.git repository is being repurposed. All files are being deleted.
2013-03-06 10:25:00 -05:00
Chris Johns
7234c70492 Move .cvsignore to .gitignore. Update ChangeLog. 2012-09-06 14:09:49 +10:00
Chris Johns
68c9b8a35d Remove CVS Id and update the copyright year. 2012-08-04 22:29:24 +10:00
Chris Johns
5a4412234d Comments clean up. 2012-08-04 22:17:50 +10:00
Chris Johns
e80176246b Use the crossrpms repo and not the RTEMS source. 2012-08-04 22:17:33 +10:00
Chris Johns
db789e3577 Clean up. 2012-08-04 22:17:05 +10:00
Chris Johns
f51e6914b8 Do not build with zlib. 2012-08-04 22:16:48 +10:00
Chris Johns
6b88114668 Add /usr/local to the host cflags on FreeBSD. 2011-12-06 23:44:37 +00:00
Chris Johns
8548cd7915 Add a hack to work around make not being a macro in the spec files. 2011-12-06 06:37:57 +00:00
Chris Johns
594f41f133 Fix the host verison in FreeBSD. Allow the top of the src to crossrpms. 2011-12-05 20:53:17 +00:00
Chris Johns
a2bc901a20 Add FreeBSD support. 2011-12-05 11:32:44 +00:00
Chris Johns
a86cd82f73 2011-06-09 Chris Johns <chrisj@rtems.org>
* specbuilder/specbuilder/build.py,
        specbuilder/specbuilder/crossgcc.py,
        specbuilder/specbuilder/defaults.py,
        specbuilder/specbuilder/linux.py,
        specbuilder/specbuilder/spec.py: Add CentOS support for older
        Pythons. Add options to build the tools with specific flags.
2011-06-09 05:59:32 +00:00
Chris Johns
faa8181015 2011-02-22 Chris Johns <chrisj@rtems.org>
* specbuilder/sb-versions, specbuilder/specbuilder/version.py:
        New. Print a suitable version message for automatic documentation
        updating from the spec files in CVS.

        * specbuilder/specbuilder/build.py: Add xz support. Add a function
        to return the name of a package.

        * specbuilder/specbuilder/crossgcc.py: Use the build name in the
        tmp path.

        * specbuilder/specbuilder/darwin.py: Add xz support.

        * specbuilder/specbuilder/defaults.py: Add xz support. Add Windows
        and Linux support.

        * specbuilder/specbuilder/setup.py: Reference the correct shell
        opts. Use the shell setup in the version probe command. Fix the
        version check. Add autotools to the list of spec files to
        install.

        * specbuilder/specbuilder/spec.py: Add changelog and configure
        tests. Manage sub-packages better.

        * specbuilder/specbuilder/version.py,
        specbuilder/specbuilder/windows.py: New.
2011-02-22 03:46:44 +00:00
Chris Johns
31d4e80320 2010-08-31 Chris Johns <chrisj@rtems.org>
* specbuilder/specbuilder/linux.py: Add Linux support. Can be
        useful on those distributions that do not support RPM
        packages. Users should always be encouraged to use the RPM
        packages provided by the project.

        * specbuilder/specbuilder/default.py: Add Linux.
2010-08-31 00:58:45 +00:00
Chris Johns
9eb5c92f1e 2010-08-29 Chris Johns <chrisj@rtems.org>
* specbuilder/specbuilder/defaults.py: Add default configure
        macro. Add --dry-run to the parsed arguments. Fix the case when
        run on a new host that does not have default support.
2010-08-28 23:01:20 +00:00
Chris Johns
f1a0bde7a0 2010-08-13 Chris Johns <chrisj@rtems.org>
* specbuilder/specbuilder/defaults.py: Provide a default shell.

        * specbuilder/specbuilder/rtems.py: Provide a default autoconf
        version.

        * specbuilder/specbuilder/setup.py: Use the default setup shell
        and check the version of autoconf needed.
2010-08-13 04:40:44 +00:00
Chris Johns
0b29e44547 2010-08-13 Chris Johns <chrisj@rtems.org>
* specbuilder/specbuilder/setup.py: Add import for execute.
2010-08-12 22:40:57 +00:00
Chris Johns
120137af9c 2010-08-13 Chris Johns <chrisj@rtems.org>
* specbuilder/specbuilder/rtems.py: New. Move RTEMS specific
        settings into the RTEMS specific file from the host specific file.

        * specbuilder/specbuilder/darwin.py: Move the RTEMS specific
        values out. Automatically determine the number of CPUs and let
        make use them all.

        * specbuilder/specbuilder/defaults.py: Add --no-smp and --rebuild
        to the options. Post process --no-smp to set the SMP make flags to
        nil. Add support for RTEMS specific overrides.

        * specbuilder/specbuilder/build.py: Add a notice that building has
        started. If a download happens you do not know when it has
        finished.

        * specbuilder/specbuilder/setup.py: Add --rtems to point to the
        RTEMS source and copy the spec and diff files. Also allow the user
        to --rebuild them.
2010-08-12 21:09:55 +00:00
Chris Johns
dc2ed4f6ff 2010-08-09 Chris Johns <chrisj@rtems.org>
* specbuilder/perl.prov, specbuilder/perl.req: New.
        * specbuilder/defaults.py: The config.sub path is a sub-dir of the
        command.
        * specbuilder/setup.py: Fix make bug. Install RPMLIB files when
        creating the directory.
        * specbuilder/spec.py: Add '%check'.
2010-08-09 04:50:30 +00:00
Chris Johns
7231f495e0 2010-08-09 Chris Johns <chrisj@rtems.org>
* specbuilder, specbuilder/sb-build, specbuilder/sb-crossgcc,
        specbuilder/sb-setup, specbuilder/sb-specdump,
        specbuilder/sb-status, specbuilder/specbuilder/.cvsignore,
        specbuilder/specbuilder/build.py,
        specbuilder/specbuilder/config.sub,
        specbuilder/specbuilder/crossgcc.py,
        specbuilder/specbuilder/darwin.py,
        specbuilder/specbuilder/defaults.py,
        specbuilder/specbuilder/error.py,
        specbuilder/specbuilder/execute.py,
        specbuilder/specbuilder/log.py, specbuilder/specbuilder/setup.py,
        specbuilder/specbuilder/spec.py,
        specbuilder/specbuilder/status.py: New.
2010-08-09 01:29:43 +00:00
Chris Johns
2dc8560ba8 This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.
2010-08-09 01:04:21 +00:00
Chris Johns
78c9ac0cfe Create RTEMS Tools. 2010-08-09 01:04:21 +00:00