Go to file
Segher Boessenkool 0359465c70 rs6000: Enable -fasynchronous-unwind-tables by default
To find out where on-entry register values live at any point in a
program, GDB currently tries to parse to parse the executable code.
This does not work very well, for example it gets confused if some
accesses to the stack use the frame pointer (r31) and some use the
stack pointer (r1).  A symptom is that backtraces can be cut short.

This patch enables -fasynchronous-unwind-tables by default for rs6000,
which causes us to emit DWARF unwind tables for all functions, solving
these problems.

This not do anything for sub-targets without DWARF, and only for ELF
sub-targets for now.

It increases executable size, but only modestly, and does not change
memory use, only the disk image.


	* common/config/rs6000/rs6000-common.c (rs6000_option_init_struct):
	Enable -fasynchronous-unwind-tables by default if OBJECT_FORMAT_ELF.

gcc/testsuite/
	* gcc.target/powerpc/dfmode_off.c: Add -fno-asynchronous-unwind-tables.
	* gcc.target/powerpc/dimode_off.c: Ditto.
	* gcc.target/powerpc/tfmode_off.c: Ditto.
	* gcc.target/powerpc/timode_off.c: Ditto.

From-SVN: r259298
2018-04-10 23:09:30 +02:00
config Use dlsym to check if libdl is needed for plugin 2018-04-05 10:49:39 -07:00
contrib test_summary: handle single quotes 2018-03-21 09:47:12 +01:00
fixincludes
gcc rs6000: Enable -fasynchronous-unwind-tables by default 2018-04-10 23:09:30 +02:00
gnattools
gotools Makefile.am (check-runtime): Pass -test.timeout with GOTOOLS_TEST_TIMEOUT. 2018-03-21 16:46:37 +01:00
include
INSTALL
intl
libada
libatomic S/390: libatomic: Fix 16 byte atomic exchange 2018-03-09 12:32:22 +00:00
libbacktrace re PR other/85161 (Test case failures in libbacktrace on powerpc64 BE starting with r253456) 2018-04-04 19:18:14 +02:00
libcc1
libcpp * es.po: Update. 2018-03-27 23:31:08 +01:00
libdecnumber
libffi
libgcc RISC-V: Support for FreeBSD. 2018-04-06 13:04:17 -07:00
libgfortran re PR libfortran/85253 (asan detects heap-buffer-overflow in matmul_r4.c) 2018-04-06 18:49:21 +00:00
libgo runtime: don't check for stale runtime 2018-03-26 19:29:27 +00:00
libgomp [nvptx] Fix neutering of bb with only cond jump 2018-04-05 08:36:37 +00:00
libhsail-rt
libiberty
libitm
libmpx
libobjc
liboffloadmic
libquadmath
libsanitizer re PR sanitizer/84761 (AddressSanitizer is not compatible with glibc 2.27 on x86) 2018-03-19 21:47:29 +01:00
libssp
libstdc++-v3 Update links to archived copy of SGI STL docs 2018-04-10 16:49:26 +01:00
libvtv
lto-plugin
maintainer-scripts
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ChangeLog Fix ChangeLog 2018-04-06 21:07:38 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: Remove redundant Write-After-Approval entry. 2018-04-02 01:31:19 +00:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.