GCC modified for the FreeChainXenon project
Find a file
Indu Bhagat dab58c9363
bfd: linker: merge .sframe sections
The linker merges all the input .sframe sections.  When merging, the
linker verifies that all the input .sframe sections have the same
abi/arch.

The linker uses libsframe library to perform key actions on the
.sframe sections - decode, read, and create output data.  This
implies buildsystem changes to make and install libsframe before
libbfd.

The linker places the output .sframe section in a new segment of its
own: PT_GNU_SFRAME.  A new segment is not added, however, if the
generated .sframe section is empty.

When a section is discarded from the final link, the corresponding
entries in the .sframe section for those functions are also deleted.

The linker sorts the SFrame FDEs on start address by default and sets
the SFRAME_F_FDE_SORTED flag in the .sframe section.

This patch also adds support for generation of SFrame unwind
information for the .plt* sections on x86_64.  SFrame unwind info is
generated for IBT enabled PLT, lazy/non-lazy PLT.

The existing linker option --no-ld-generated-unwind-info has been
adapted to include the control of whether .sframe unwind information
will be generated for the linker generated sections like PLT.

Changes to the linker script have been made as necessary.

ChangeLog:

	* Makefile.def: Add install dependency on libsframe for libbfd.
	* Makefile.in: Regenerated.
2023-08-07 22:59:42 +02:00
c++tools Daily bump. 2023-06-23 00:16:38 +00:00
config PKG_CHECK_MODULES: Properly check if $pkg_cv_[]$1[]_LIBS works 2023-08-07 22:59:41 +02:00
contrib Daily bump. 2023-07-14 00:16:43 +00:00
fixincludes libtool.m4: fix nm BSD flag detection 2023-08-07 22:59:39 +02:00
gcc libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
gnattools
gotools
include gprofng: a new GNU profiler 2023-08-07 22:59:38 +02:00
INSTALL
intl egrep in binutils 2023-08-07 22:59:40 +02:00
libada Deprecate a.out support for NetBSD targets. 2023-08-07 22:59:41 +02:00
libatomic libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libbacktrace libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libcc1 libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libcody
libcpp egrep in binutils 2023-08-07 22:59:40 +02:00
libdecnumber
libffi libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libgcc Deprecate a.out support for NetBSD targets. 2023-08-07 22:59:41 +02:00
libgfortran libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libgm2 libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libgo cmd/go: don't collect package CGOLDFLAGS when using gccgo 2023-07-20 12:29:11 -07:00
libgomp libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libiberty Deprecate a.out support for NetBSD targets. 2023-08-07 22:59:41 +02:00
libitm libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libobjc libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libphobos libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libquadmath libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libsanitizer libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libssp libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libstdc++-v3 libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
libvtv libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
lto-plugin libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
maintainer-scripts Daily bump. 2023-07-08 00:16:53 +00:00
zlib libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2023-08-03 00:17:10 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Add support for the haiku operating system 2023-08-07 22:59:40 +02:00
configure.ac Add support for the haiku operating system 2023-08-07 22:59:40 +02:00
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4 libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS MAINTAINERS: Add myself as a BPF port reviewer 2023-08-07 10:26:38 -07:00
Makefile.def bfd: linker: merge .sframe sections 2023-08-07 22:59:42 +02:00
Makefile.in bfd: linker: merge .sframe sections 2023-08-07 22:59:42 +02:00
Makefile.tpl Pass PKG_CONFIG_PATH down from top-level Makefile 2023-08-07 22:59:38 +02:00
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
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.