This patch is from the FreeBSD 10.0 devel/gdb port and adds the LDFLAGS to
link command line with Python enabled.
Note, this may effect some hosts if there are library clashes.
Fix the output from the simulator to gdb to use gdb interfaces
so the output is passes through the MI protocol if used.
Add a nouartrx option to the simulator so it does not block on
an stdin read. The termios settings put the tty into non-blocking
mode however the read sometimes blocks on high loads.
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.