Go to file
Chris Metcalf 8622092d58 [BZ #17354] tile: Fix up corner cases with signed relocations
Some types of relocations technically need to be signed rather than
unsigned: in particular ones that are used with moveli or movei,
or for jump and branch.  This is almost never a problem.  Jump and
branch opcodes are pretty much uniformly resolved by the static linker
(unless you omit -fpic for a shared library, which is not recommended).
The moveli and movei opcodes that need to be sign-extended generally
are for positive displacements, like the construction of the address of
main() from _start().  However, tst-pie1 ends up with main below _start
(in a different module) and the test failed due to signedness issues in
relocation handling.

This commit treats the value as signed when shifting (to preserve the
high bit) and also sign-extends the value generated from the updated
bundle when comparing with the desired bundle, which we do to make sure
no overflow occurred.  As a result, the tst-pie1 test now passes.
2014-09-06 12:24:03 -04:00
argp
assert Remove redundant C locale settings. 2014-06-07 19:58:36 +00:00
benchtests Remove HP_TIMING_DIFF_INIT and dl_hp_timing_overhead 2014-07-03 08:38:25 -07:00
bits
catgets Remove redundant CPPFLAGS for some programs 2014-08-21 10:27:13 +05:30
conf
conform conformtest: clean up POSIX expectations for sys/mman.h, sys/stat.h, sys/types.h. 2014-06-11 23:16:23 +00:00
crypt crypt: don't include ufc-crypt.h multiple times 2014-06-06 18:25:31 -04:00
csu Remove second argument from TLS_INIT_TP macro 2014-05-27 14:48:46 +02:00
ctype
debug Fix -Wundef warning on PAGE_COPY_THRESHOLD 2014-07-03 01:49:43 +05:30
dirent
dlfcn
elf Correct DT_PPC64_NUM 2014-07-14 21:17:32 +09:30
gmon
gnulib
grp
gshadow
hesiod
hurd
iconv __gconv_translit_find: Disable function [BZ #17187] 2014-08-26 19:38:59 +02:00
iconvdata CVE-2014-6040: Crashes on invalid input in IBM gconv modules [BZ #17325] 2014-09-03 19:46:42 +02:00
include Remove unnecessary uses of NOT_IN_libc 2014-08-21 10:26:46 +05:30
inet
intl tst-gettext2: make setup more robust 2014-08-08 22:55:48 -04:00
io Fix -Wundef warning for HAVE_SYS_PARAM_H 2014-07-10 14:19:21 +05:30
libidn
libio Remove redundant C locale settings. 2014-06-07 19:58:36 +00:00
locale _nl_find_locale: Improve handling of crafted locale names [BZ #17137] 2014-07-10 16:29:55 +02:00
localedata ChangeLog fix 2014-07-14 10:49:24 +02:00
login
mach
malloc malloc: fix comment typo 2014-08-12 05:24:29 -04:00
manual fcntl-linux.h: add new definitions and manual updates for open file description locks 2014-07-29 23:27:21 -04:00
math Fix fallback fesetenv and feupdateenv on FE_NOMASK_ENV (bug 17088). 2014-07-17 17:56:43 +00:00
misc Sync up error.c with gnulib 2014-07-10 14:24:30 +05:30
nis
nptl Remove NOT_IN_libc definition for pthread_atfork 2014-08-21 10:30:55 +05:30
nptl_db
nscd Correctly report nscd child process status (BZ #17092) 2014-06-27 23:31:47 +05:30
nss Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
po Update Esperanto translation 2014-09-01 10:48:22 +10:00
posix Fix -Wundef warnings in regex_internal.h 2014-08-01 14:30:43 +05:30
pwd
resolv Check value at resplen2 if it is not NULL 2014-07-08 22:52:49 +05:30
resource
rt Fix -Wundef warning for HAVE_IFUNC 2014-07-31 17:05:19 +02:00
scripts Remove shlib-versions ABI names support. 2014-06-27 20:24:23 +00:00
setjmp
shadow
signal
socket
soft-fp Rename soft-fp op-[1248].h variables to avoid risk of shadowing. 2014-06-30 17:37:10 +00:00
stdio-common Don't require test wrappers to preserve environment variables, use more consistent environment. 2014-06-06 22:19:27 +00:00
stdlib tst-setcontext: fix style 2014-08-03 08:55:20 -04:00
streams
string PowerPC: optimized memmove for POWER7/PPC64 2014-07-07 15:41:21 -05:00
sunrpc Add comment about SIZE initialization in xdr.c 2014-07-10 10:33:48 +05:30
sysdeps [BZ #17354] tile: Fix up corner cases with signed relocations 2014-09-06 12:24:03 -04:00
sysvipc
termios
time Fix -Wundef warning for HAVE_LOCALTIME_R 2014-07-10 14:21:27 +05:30
timezone Remove redundant CPPFLAGS for some programs 2014-08-21 10:27:13 +05:30
wcsmbs Include LOCPATH in default test environment. 2014-06-04 23:37:25 +00:00
wctype
.gitattributes
.gitignore
abi-tags
aclocal.m4 Refactor handling of /lib64 etc. cases, move out of sysdeps/gnu/configure.ac. 2014-07-17 14:35:48 +00:00
BUGS
CANCEL-FCT-WAIVE
CANCEL-FILE-WAIVE
ChangeLog [BZ #17354] tile: Fix up corner cases with signed relocations 2014-09-06 12:24:03 -04:00
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12
ChangeLog.13
ChangeLog.14
ChangeLog.15
ChangeLog.16
ChangeLog.17
ChangeLog.old-ports
ChangeLog.old-ports-aarch64
ChangeLog.old-ports-aix
ChangeLog.old-ports-alpha
ChangeLog.old-ports-am33
ChangeLog.old-ports-arm
ChangeLog.old-ports-cris
ChangeLog.old-ports-hppa
ChangeLog.old-ports-ia64
ChangeLog.old-ports-linux-generic
ChangeLog.old-ports-m68k
ChangeLog.old-ports-microblaze
ChangeLog.old-ports-mips
ChangeLog.old-ports-powerpc
ChangeLog.old-ports-tile
config.h.in Use __builtin_trap for ABORT_INSTRUCTION. 2014-07-31 13:07:19 -07:00
config.make.in
configure detect broken linker handling of __ehdr_start 2014-08-12 19:54:02 -04:00
configure.ac detect broken linker handling of __ehdr_start 2014-08-12 19:54:02 -04:00
CONFORMANCE
COPYING
COPYING.LIB
cppflags-iterator.mk
extra-lib.mk
extra-modules.mk
INSTALL Remove redundant C locale settings. 2014-06-07 19:58:36 +00:00
libc-abis
LICENSES
Makeconfig Remove shlib-versions ABI names support. 2014-06-27 20:24:23 +00:00
Makefile Fix pthread.h in installed-headers list. 2014-06-13 16:39:23 -07:00
Makefile.in Remove redundant C locale settings. 2014-06-07 19:58:36 +00:00
Makerules Print offending diff when check-abi fails 2014-06-24 13:27:13 +05:30
NAMESPACE
NEWS [BZ #17354] tile: Fix up corner cases with signed relocations 2014-09-06 12:24:03 -04:00
o-iterator.mk
PROJECTS
README Update README and NEWS for ports directory removal. 2014-06-25 12:55:21 +00:00
Rules Don't require test wrappers to preserve environment variables, use more consistent environment. 2014-06-06 22:19:27 +00:00
shlib-versions Remove shlib-versions ABI names support. 2014-06-27 20:24:23 +00:00
test-skeleton.c test-skeleton: Kill any child process's offspring 2014-06-30 20:11:56 +01:00
version.h
WUR-REPORT

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu.  The current
GNU/Hurd support requires out-of-tree patches that will eventually be
incorporated into an official GNU C Library release.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 2.6.32 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arm-*-linux-gnueabi
	hppa-*-linux-gnu	Not currently functional without patches.
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu
	tilegx-*-linux-gnu
	tilepro-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see http://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at http://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see http://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 2000-2013, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.