Commit Graph

33253 Commits

Author SHA1 Message Date
Dmitry V. Levin
2d66557e88 linux/aarch64: sync sys/ptrace.h with Linux 4.15 [BZ #22433]
Remove compat-specific constants that were never exported by kernel
headers under these names.  Before linux commit v3.7-rc1~16^2~1 they
were exported with COMPAT_ prefix, and since that commit they are not
exported at all.

* sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
and PTRACE_SETHBPREGS.

(cherry picked from commit 2fd4bbaa14)
2017-12-29 23:19:32 +00:00
Dmitry V. Levin
28def2cb11 NEWS: add an entry for bug 22827 2018-02-06 09:31:30 +00:00
Adhemerval Zanella
002eeb4cda Update SH libm-tests-ulps
* sysdeps/sh/libm-test-ulps: Update.

Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
2018-02-14 14:03:13 -02:00
DJ Delorie
6cb1736f3a [RISC-V] Fix parsing flags in ELF64 files.
When ldconfig reads Elf64 files to determine the ABI, it used the
Elf32 type, so read the wrong location, and stored the wrong ABI
type in the cache, making the cache useless.  This patch uses
an Elf64 type for Elf64 objects instead.

Note that pre-patch caches might need to be manually removed and
regenerated to get the correct ABIs stored.

	[BZ #22827]
	* sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
	64-bit ELF type for 64-bit ELF objects.

(cherry picked from commit 6a1ff640dc)
2018-02-09 18:37:15 -05:00
Stan Shebs
2f60855711 Second try at dealing with ancient mktemp 2018-05-11 12:54:53 -07:00
Stan Shebs
58f9551f5b Defeat a malloc optimization by declaring things volatile. 2018-05-09 11:28:09 -07:00
Stan Shebs
40513af8ad Forestall optimization-out of a buffer. 2018-05-09 11:26:35 -07:00
Stan Shebs
903b7aed7c Add a clang/lld workaround for symbol not being overridden 2018-05-09 11:25:42 -07:00
Stan Shebs
090479eb8c Work around clang mishandling of assert functions in resolver buffer allocation, fixes random error returns in resolv/ tests. 2018-04-20 14:44:54 -07:00
Manuel Klimek
8254ee748c Allow suppressing the definition of __USE_FILE_OFFSET64 by defining SUPPRESS_USE_FILE_OFFSET64 in the CROSSTOOL. 2015-10-29 10:29:55 -07:00
Paul Pluzhnikov
8205f0d10e For b/5836136, do dlsym(0, "_Unwind..."), i.e. ignore libgcc_s.so.1 dlopen failure. 2014-03-03 17:03:35 -08:00
Stan Shebs
60548afc9f Define __GOOGLE_GRTE_VERSION__ 2018-03-29 14:05:07 -07:00
Stan Shebs
d57236debc Add basic testsuite for dlopen_with_offset 2018-03-29 11:48:37 -07:00
Stan Shebs
641cae4c36 Add a hunk lost in merge 2018-03-28 20:31:52 -07:00
Stan Shebs
349ff1d0d5 Fix GCC compilation issues in cherrypicks 2018-03-28 19:31:45 -07:00
Paul Pluzhnikov
476f7cf2f2 For b/22641205, #include _itoa.h 2015-10-10 09:26:54 -07:00
Paul Pluzhnikov
85dc56b95f For b/20141439, don't add "foo.so" as alternate name for previously loaded "foo.so/@0x..." 2015-10-02 07:31:16 -07:00
Paul Pluzhnikov
60cdb6bb4e For b/8315591, b/20141439 correct off-by-one error that resulted in last byte of l_name being random garbage. 2015-06-03 08:58:35 -07:00
Paul Pluzhnikov
cf93513721 Fix arm build by only using _itoa when building ld-linux, and not 'sln'. Also disable __google_dlopen_with_offset in fully-static link 2014-11-23 18:12:56 -08:00
Paul Pluzhnikov
6f9557ac2e For b/18243822, fix dlopen_with_offset to not reuse the same link_map entry when called on the same file with different offsets. 2014-11-10 10:56:25 -08:00
Paul Pluzhnikov
9590be9960 For Google b/8315591, experimental implementation of dlopen_with_offset. 2014-03-10 14:02:07 -07:00
Paul Pluzhnikov
8eb1716c91 Disable static linking warning for dlopen and dlmopen, and disable linking warning for sys_errlist and sys_nerr. 2014-02-28 16:51:12 -08:00
Brooks Moses
1a771e688f Backport cl/98967227 to GRTE glibc 2.19 sources. 2015-08-14 22:32:51 -07:00
Stan Shebs
31caad179b Add empty NSS borg and cache abi lists, to make testsuite work 2018-03-19 11:04:23 -07:00
Stan Shebs
d5adfa3af5 Fix out-of-date bits in EXEC_ORIGIN patch 2018-03-19 09:41:11 -07:00
Brooks Moses
496eb9854c For b/12342355, remove inappropriate assert in EXEC_ORIGIN support. 2014-04-11 13:37:15 -07:00
Paul Pluzhnikov
502932b7f5 For b/4074041, add EXEC_ORIGIN support. Forward-ported from cl/56955623 and http://cl/59961863. 2014-03-08 15:12:52 -08:00
Stan Shebs
21c2ca10b1 Handle a not-found case in borg passwd lookup 2016-11-03 16:31:52 -07:00
Michael Rothwell
4e15d3291c Call the correct function. 2016-09-30 09:46:48 -07:00
Michael Rothwell
f098d7ac4c Augment borg-pwd to also search through passwd.borg.base, if it exists. 2016-09-30 06:09:04 -07:00
Stan Shebs
aeca36379f Describe borg-pwd better, remove dead code. 2015-08-21 14:50:53 -07:00
Max Kanat-Alexander
b5861b06a6 Update nss_cache.c and nss_cache.h to current upstream version. This makes getgrgid_r and similar calls over 18x faster on corp machines. 2016-07-06 14:47:51 -07:00
Stan Shebs
b06c649991 Update an include path 2018-03-14 08:17:45 -07:00
Paul Pluzhnikov
eb00251677 Integrate nss_{borg,cache} local changes from glibc-2.18 to 2.19 2014-02-28 12:54:06 -08:00
Stan Shebs
fc36100b27 Forward-port addition of _google_dl_debug_state_hook 2018-03-13 11:53:48 -07:00
Stan Shebs
d41bed3ce0 As with gettimeofday, avoid vdso for clang-compiled time() 2018-03-13 11:37:02 -07:00
Stan Shebs
491d419cdd Forward-port addition of __google_pthread_signal_safe_key_create 2018-03-12 14:59:51 -07:00
Stan Shebs
f2d31c80d6 Add a Google-only workaround for an ancient mktemp 2018-03-07 07:46:50 -08:00
Stan Shebs
a4c60a19bc Bypass gettimeofday ifunc if using clang 2018-03-02 08:39:57 -08:00
Stan Shebs
eb3215d3bd Add workarounds for clang and lld problems 2018-02-27 11:22:13 -08:00
Stan Shebs
f0c4b81ce8 Skip a test that lld cannot handle 2018-02-27 11:17:27 -08:00
Stan Shebs
9c0f7f1394 Disable non-opt error temporarily, and __sec_comment for clang 2018-02-26 13:50:53 -08:00
Stan Shebs
10388c49b2 Remove a testing hack 2018-02-20 09:13:13 -08:00
Stan Shebs
1a12397c10 Remove debugging hack 2018-02-20 09:12:01 -08:00
Stan Shebs
654fbaf1b7 Use LN_S in more places to forestall hard link creation 2018-02-14 09:44:15 -08:00
Stan Shebs
6302c3ccf8 Add a --with-lld option to choose LLVMs lld linker 2018-02-14 09:15:44 -08:00
Stan Shebs
fdb03f9736 Use clang integrated assembler except when asm is output and not required to be valid 2021-08-27 15:28:23 -07:00
Stan Shebs
6614ff3213 Add workaround to get clang to accept avx-512 instructions 2018-02-07 12:57:16 -08:00
Stan Shebs
edeaa90058 Work around clang assembler error with bnd by itself on a line 2018-02-07 12:55:59 -08:00
Stan Shebs
18417626b7 Work around clang assembler error with movzx 2018-02-07 12:54:57 -08:00