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.
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
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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'.