Table of Contents
This section documents Sourcery CodeBench Lite changes for each released revision.
-fuse-caller-save
fix.
A bug in -fuse-caller-save
that caused the compiler
to generate incorrect code has been fixed.
Instrumentation bug fix.
A bug that caused GCC to instrument functions tagged with
__attribute__((no_instrument_function))
when compiling with -fprofile-arcs
has been
fixed.
GCC version 4.8.3 prerelease.
Sourcery CodeBench Lite for ARM EABI is now based on a GCC 4.8.3
prerelease snapshot from Mar 20th, 2014, SVN revision 208690.
This version includes numerous other bug fixes. For more
information about changes from GCC version 4.8.1 that was
included in previous releases, see
http://gcc.gnu.org/gcc-4.8/changes.html
.
-Weffc++
and -Wnon-virtual-dtor
interaction.
The two C++ warning options -Weffc++
and
-Wnon-virtual-dtor
have been updated to
interoperate correctly and warn about the lack of
virtual destructors only in polymorphic classes.
Binutils update. The binutils package has been updated to version 2.24.51.20140217 from the FSF trunk, git revision 024a23103f04282872d4352302b1bfe04391a7a4. This update includes numerous bug fixes.
Mentor CDDA7 Virtual Target and Mentor CDDA15 Virtual Target support. Sourcery CodeBench Lite now supports the Mentor CDDA7 Virtual Target and Mentor CDDA15 Virtual Target.
Altera Cyclone V memory map fix. The memory map provided by CS3 for the Altera Cyclone V development board has been corrected.
Fix for sbrk
.
A bug in CS3 that caused sbrk
to fail on
targets with more than 2GB of RAM has been fixed.
GDB memory manipulation fix. A bug has been fixed that caused GDB to read incorrect contents from breakpoint addresses, leading to unpredictable behavior and erroneous backtraces.
Fix for GDB crashes.
GDB has been made more robust to handle executables with
incorrect DWARF-2 .debug_line
information.
Previously, GDB crashed on programs that referenced missing
include directory information.
GDB packet warning fix. A bug has been fixed that formerly caused GDB to display an invalid packet warning after interrupting applications using semihosted I/O.
GDB update.
The version of GDB has been updated to 7.7.50-cvs, git
revision 024a23103f04282872d4352302b1bfe04391a7a4.
This update adds numerous bug fixes and features. Refer
to http://www.gnu.org/software/gdb/news
for
more information.
Installer help.
The installer now displays help on Microsoft Windows hosts when
invoked from the command line with the --help
option. Formerly, this command-line option only worked on GNU/Linux
hosts.
Installer error dialog. On Microsoft Windows hosts the installer now displays an error dialog during a GUI installation if a fatal error occurs.
Installer logging improved. The installer now logs information related to the progress of the installation and also errors when it fails to start.
Installer 32-bit library detection. The installer checks for required 32-bit compatibility libraries on supported 64-bit GNU/Linux hosts.
Microsoft Windows XP host no longer supported. The minimum required Microsoft Windows OS needed to run Sourcery CodeBench Lite is now Windows Vista.
Installer disk space calculation. The installer for GNU/Linux hosts now correctly calculates the temporary disk space required.
Installer temp path.
The installer now allows you to change the directory where
it is extracted using the P2_INSTALLER_TEMP_PATH
environment variable. See Section 2.4, “Installing Sourcery CodeBench Lite”.
Compile caching now works on Windows XP. A bug has been fixed that made compile caching incompatible with Microsoft Windows versions prior to Vista.
GCC -fremove-local-statics
option.
GCC no longer supports the -fremove-local-statics
command-line option. The optimizations formerly controlled by
this option are now carried out automatically by other
optimization passes.
GCC version 4.8.1.
Sourcery CodeBench Lite for ARM EABI is now based on GCC
version 4.8.1. For more information about changes from GCC
version 4.7 that was included in previous releases, see
http://gcc.gnu.org/gcc-4.8/changes.html
.
Incorrect optimization fix. A bug in GCC that caused it to generate wrong code for some conditionally-executed statements has been fixed.
Binutils update. The binutils package has been updated to version 2.23.52.20130912 from the FSF trunk. This update includes numerous bug fixes.
Improved support for STMicroelectronics STM32F1xx devices. Peripheral register browsing information for STMicroelectronics STM32F100xx, STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx, and STM32F107xx devices have been updated to the latest released information from ARM.
Altera Cyclone V support. Sourcery CodeBench Lite now includes support for the Altera Cyclone V development board.
Improved support for STMicroelectronics STM32F4xxxx devices. CS3 now provides peripheral register browsing information to the debugger for STMicroelectronics STM324F40x, STM32F41x, STM32F427x, and STM32F437x devices.This allows the user to view peripheral register values during program debugging.
Stellaris reset bug fix.
A bug in the CS3 reset sequence for the Stellaris EKC-LM3S9D90
and EKC-LM3S9D92 platforms that caused ROM to be mapped to address
0x0
after reset has been fixed.
Changed the CS3 API for passing arguments to main
.
CS3 now requires that the function that initializes arguments
passed to main
be named
__cs3_init_args
.
See Section 5.2.3, “The C Initialization Phase” for details.
Newlib crash fix. A bug that caused Newlib to sometimes crash when used with a C++ program that has more than 31 static objects has been fixed.
Newlib update. The Newlib package has been updated to version 2.0.0, with additions from the community CVS trunk as of 2013-07-06. This update provides various C99/POSIX cleanups along with other bug fixes and enhancements.
GDB update.
The version of GDB has been updated to 7.6.50.20130726-cvs.
This update adds numerous bug fixes and features. Refer
to http://www.gnu.org/software/gdb/news
for
more information.
Improved GDB diagnostic.
GDB now issues an error message when an invalid option
is passed to the add-symbol-file
command.
GDB support for removing symbols.
GDB now supports the remove-symbol-file
command.
Refer to the GDB manual for full documentation.
New GDB command.
GDB now supports the remove-symbol-file
command.
Compile caching on Windows hosts. Compile caching is now available on both Linux and Windows hosts.
cs-rm -f
bug fix.
A bug that caused cs-rm -f
on
Windows hosts to incorrectly issue an error when
passed a glob pattern that matched nothing has been
fixed.
New installer. The installer has changed. Please refer to Section 2.4, “Installing Sourcery CodeBench Lite” for more details. Previous versions of Sourcery CodeBench Lite cannot be updated. You must uninstall the previous version or choose a different directory during installation.
GCC version 4.7.3.
Sourcery CodeBench Lite for ARM EABI is now based on GCC
version 4.7.3. This update incorporates numerous bug fixes.
For more information, see
http://gcc.gnu.org/gcc-4.7/changes.html
.
Installer warnings fixed.
A bug that caused Gtk warnings relating to
libappmenu.so
when running the installer
on 64-bit Ubuntu GNU/Linux hosts has been fixed.
C++ fix for ARMv6-M. A bug that prevented C++ multiple inheritance from working in position-independent code compiled for ARMv6-M has been fixed.
Multilib selection bug fix.
A compiler bug that caused the wrong multilib
to be chosen when compiling with -mthumb
-mcpu=cortex-m4 -mfloat-abi=softfp
has
been fixed.
Pointer comparison bug fixed. A bug in GCC that caused it to incorrectly optimize away a pointer comparison has been fixed.
Incorrect optimization bug fix.
A compiler bug has been fixed that caused incorrect code to be
generated for some comparisons unless optimization was suppressed
with -fno-forward-propagate
.
Performance regression fixed. A bug that introduced unnecessary instructions to
zero-extend unsigned char
or short
values
has been fixed.
Linker raw binary input crash fix.
A bug that caused the linker to crash when linking binary
inputs (--format=binary
) while using
--gc-sections
has been fixed.
Linker assertion failure fix. A linker bug has been fixed that caused an assertion failure when linking unoptimized code using thread-local storage.
ldralt
assembly bug fix.
A bug that caused the assembly of ldralt
instructions to sometimes produce the error message
selected processor does not support ARM mode
has been fixed.
Binutils update. The binutils package has been updated to version 2.23.52.20130219 from the FSF trunk. This update includes numerous bug fixes.
GDB hang fix. A bug that caused GDB to sometimes hang when setting a breakpoint has been fixed.