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