about summary refs log tree commit diff
path: root/ports/ChangeLog.tile
Commit message (Collapse)AuthorAgeFilesLines
* Move ports/ChangeLog* files to ChangeLog.old-ports*, remove ports/ directory.Roland McGrath2014-04-301-741/+0
|
* Move tilegx, tilepro, and linux-generic from ports to libc.Chris Metcalf2014-02-101-0/+13
| | | | | | | | | | | | | | | | I've moved the TILE-Gx and TILEPro ports to the main sysdeps hierarchy, along with the linux-generic ports infrastructure. Beyond the README update, the move was just git mv ports/sysdeps/tile sysdeps/tile git mv ports/sysdeps/unix/sysv/linux/tile \ sysdeps/unix/sysv/linux/tile git mv ports/sysdeps/unix/sysv/linux/generic \ sysdeps/unix/sysv/linux/generic I updated the relevant ChangeLogs along the lines of the ARM move in commit c6bfe5c4d75 and tested the 64-bit tilegx build to confirm that there were no changes in "objdump -dr" output in the shared objects.
* tile: Regenerate libm-test-ulpsChris Metcalf2014-01-241-0/+4
|
* ptrace.h: add __ prefix to ptrace_peeksiginfo_argsMike Frysinger2014-01-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | All the other ptrace structures in this file have a __ prefix except this new one. This in turn causes build problems for most packages that try to use ptrace such as strace: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linux/x86_64 -I../../linux \ -I./linux -Wall -Wwrite-strings -g -O2 -MT process.o -MD -MP \ -MF .deps/process.Tpo -c -o process.o ../../process.c In file included from ../../process.c:63:0: /usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args' struct ptrace_peeksiginfo_args { ^ In file included from ../../defs.h:159:0, from ../../process.c:37: /usr/include/sys/ptrace.h:191:8: note: originally defined here struct ptrace_peeksiginfo_args ^ Since this struct was introduced in glibc-2.18, there shouldn't be any real regressions with adding the __ prefix. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rename configure.in to configure.acMike Frysinger2013-10-301-0/+9
| | | | | | | Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* BZ #15754: CVE-2013-4788Carlos O'Donell2013-09-231-0/+5
| | | | | | | | | | | | The pointer guard used for pointer mangling was not initialized for static applications resulting in the security feature being disabled. The pointer guard is now correctly initialized to a random value for static applications. Existing static applications need to be recompiled to take advantage of the fix. The test tst-ptrguard1-static and tst-ptrguard1 add regression coverage to ensure the pointer guards are sufficiently random and initialized to a default value.
* Make __ffs hiddenAndreas Schwab2013-09-201-0/+4
|
* Fix typos.Ondřej Bílka2013-08-211-0/+4
|
* tile BZ #15759: Fix bug in _dl_unmapChris Metcalf2013-07-221-0/+6
| | | | | | We returned without calling __munmap if not in the simulator. Now we call a separate sim_dlclose() function to make the control flow work correctly.
* tile: add missing semicolon in <bits/ptrace.h>Chris Metcalf2013-07-191-0/+5
| | | | | | Change 521c6785e1fc94d added the enum but missed the semicolon. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
* tile: use _dl_static_init to set GLRO(gl_pagesize)Chris Metcalf2013-07-071-0/+6
| | | | | | A recently-added test (dlfcn/tststatic5) pointed out that tile was not properly initializing the variable pagesize in certain cases. This change just copies the existing code from MIPS.
* tile: update libm-test-ulps from scratchChris Metcalf2013-07-071-0/+2
|
* tile: use soft-fp for fma() and fmaf()Chris Metcalf2013-07-071-0/+6
| | | | | | The sfp-machine.h is based on the gcc version, but extended with required new macros by comparison with other architectures and by investigating the hardware support for FP on tile.
* Sync sys/ptrace with Linux 3.10Andreas Jaeger2013-07-041-0/+9
|
* tile: switch to using <fenv.h> fallback functionsChris Metcalf2013-06-301-0/+9
| | | | | Now that the fallback functions match the desired semantics for tile functions, just switch to using them.
* New API to set default thread attributesSiddhesh Poyarekar2013-06-151-0/+9
| | | | | | | This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes.
* tile: default to little-endian in bits/endian.hChris Metcalf2013-06-131-0/+4
| | | | | | This turns out to be helpful when doing a from-scratch cross-compile of gcc and glibc, since you can then do "make install-headers" in glibc even before you have a functioning tile gcc.
* Remove trailing whitespace in ports.Joseph Myers2013-06-051-0/+7
|
* Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar2013-05-291-0/+6
| | | | | | | | | Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
* tile: improve detection for missing -mcmodel=large supportChris Metcalf2013-05-241-0/+9
| | | | | | | | | | | | | The existing test avoided passing -mcmodel=large if the compiler didn't support it. However, we need to test not just the compiler support, but also the toolchain (as and ld) support, so make the test more complete. In addition, we have to avoid using the hwN_plt() assembly operators if that support is missing, so guard the uses with #ifdef NO_PLT_PCREL. This allows us to properly build glibc with the current community binutils, which doesn't yet have the PC-relative PLT operator support. The -mcmodel=large support is in gcc 4.8, but the toolchain support won't be present in the community until binutils 2.24.
* Update bits/siginfo.h with Linux hwpoison SIGBUS changesEdjunior Barbosa Machado2013-05-221-0/+7
| | | | | | Adds new SIGBUS error codes for hardware poison signals, syncing with the current kernel headers (v3.9). It also adds si_trapno field for alpha.
* Don't include expected results in libm-test test names.Joseph Myers2013-05-221-0/+4
|
* Handle sincos with generic libm-test logic.Joseph Myers2013-05-191-0/+4
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-161-0/+6
|
* Remove extra pthread_atfork compat symbolsAndreas Schwab2013-03-111-0/+10
|
* Use bits/mman-linux.h for TILEAndreas Jaeger2013-03-051-0/+5
| | | | | * sysdeps/unix/sysv/linux/tile/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>.
* tile: Add priority inheritance futex supportChris Metcalf2013-02-281-0/+9
|
* C++11 thread_local destructors supportSiddhesh Poyarekar2013-02-181-0/+7
| | | | | | | | | | | This feature is specifically for the C++ compiler to offload calling thread_local object destructors on thread program exit, to glibc. This is to overcome the possible complication of destructors of thread_local objects getting called after the DSO in which they're defined is unloaded by the dynamic linker. The DSO is marked as 'unloadable' if it has a constructed thread_local object and marked as 'unloadable' again when all the constructed thread_local objects defined in it are destroyed.
* tilegx: fix ldd to work with both tilegx64 and tilegx32Chris Metcalf2013-01-101-0/+6
| | | | | This uses the same ldd-rewrite.sed hook as other platforms, with the minor tweak that tilegx uses /lib (64-bit) and /lib32 (32-bit).
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-021-0/+5
|
* tile: support lll_futex_timed_wait_bitsetChris Metcalf2012-12-281-0/+5
|
* tile: fix DWARF bug in clone() for created threadChris Metcalf2012-12-211-0/+4
| | | | | | | | | | | | | Previously, we would see a bad frame in the gdb backtrace output, e.g.: (gdb) bt #0 foo () at foo.c:5 #1 0x000000aaaab68ee8 in start_thread () from /lib/libpthread.so.0 #2 0x000000aaaad01c88 in clone () from /lib/libc.so.6 #3 0x0000000000000000 in ?? () With this change the bogus frame #3 is gone and we have the same output as x86 does for the same program.
* tile: remove redundant defines of libc_fetestexcept, etc. in s_fmaf.cChris Metcalf2012-11-291-0/+5
|
* tile: update libm-test-ulps for new testsChris Metcalf2012-11-201-0/+2
|
* tile: Fix __bswap_64 return type in tile bits/byteswap.hChris Metcalf2012-11-201-0/+3
|
* tile: remove redundant defines of libc_fetestexcept, etc. in s_fma.cChris Metcalf2012-11-201-0/+5
|
* Update language in ChangeLog.tile.Chris Metcalf2012-11-071-2/+1
|
* tile: use memcpy in memmove when possibleChris Metcalf2012-11-061-0/+2
|
* tile: use atomic op to unlock pthread_spinlock_tChris Metcalf2012-11-061-0/+4
| | | | | | | | | Atomic ops are issued directly from the core, rather than potentially sitting in the write buffer, so can improve the performance of other waiters. In addition, if we didn't end up pulling a copy of the cache line where the lock is into cache, by using an atomic op we don't have to acquire the cache line before we can unlock.
* Make ieee754 fma tolerate architectures without exception support.Chris Metcalf2012-11-061-0/+3
|
* tile: support very large shared objectsChris Metcalf2012-11-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With gcc 4.8 tilegx has support for -mcmodel=large, to tolerate very large shared objects. This option changes the compiler output to not include direct jump instructions, which have a range of only 2^30, i.e +/- 512MB. Instead the compiler marshalls the target PCs into registers and then uses jump- or call-to-register instructions. For glibc, the upshot is that we need to arrange for a few functions to tolerate the possibility of a large range between the PC and the target. In particular, the crti.S and start.S code needs to be able to reach from .init to the PLT, as does gmon-start.c. The elf-init.c code has the reverse problem, needing to call from libc_nonshared.a (linked at the end of shared objects) back to the _init section at the beginning. No other functions in *_nonshared.a need to be built this way, as they only call the PLT (or potentially each other), but all of that code is linked at the very end of the shared object. We don't build the standard -static archives with this option as the performance cost is high enough and the use case is rare enough that it doesn't seem worthwhile. Instead, we would encourage developers who need the -static model with huge executables to build a private copy of glibc and configure it with -mcmodel=large. Note that libc.so et al don't need any changes; the only changes are for code that is statically linked into user code built with -mcmodel=large. For the assembly code, I just rewrote it so that it unconditionally uses the large model. To be able to pass -mcmodel=large to csu/elf-init.c and csu/gmon-start.c, I need to check to see if the compiler supports that flag, since gcc 4.7 doesn't; I added the support by creating a small Makefile fragment that just runs the compiler to check.
* tile: improve simulator notification for relative paths in dlopenChris Metcalf2012-11-061-0/+3
| | | | | | | | | | | | Normally, the simulator is notified of absolute pathnames by the _dl_load_hook hook. However, when a relative pathname is used, the simulator may not know that the relative path matches a path that it could figure out in the file system that it has access to. Instead we provide a simplified version of the realpath function so we can pass a plausible absolute pathname to the simulator. Since we're now doing more work at object load time, we also add a guard so we do no work at all if we're not running on the simulator.
* Optimize tile (mostly tilegx) memcpy and memmove performance.Chris Metcalf2012-11-061-0/+6
| | | | | | | | | | | | | | | | | | - Override <memcopy.h> so we use full 8-byte word copies on tilegx32 for memmove, then use op_t in memcpy instead of the previous locally-defined word_t just to avoid proliferating identical types. - Fix bug in memcpy prefetch that caused us to never prefetch past the first cache line. - Optimize misaligned memcpy by inlining _wordcopy_fwd_dest_aligned instead of just doing a dumb word-at-a-time copy. - Make memcpy safe for forward copies by doing all the loads from a given cache line prior to doing a wh64 (cache line zero-fill) on the destination. Remove now-redundant src == dst check. - Copy and optimize the generic wordcopy.c routines to use the tile "double align" instruction instead of the MERGE macro; to avoid offset addressing mode (which tile doesn't have) by rewriting the pointer math to load and store with a zero index; and to use post-increment addresses in the inner loops to improve scheduling.
* Make fenv.h FE_* macros usable in #if (bug 3439).Joseph Myers2012-11-031-0/+7
|
* tile: Account for new tests (missed test-double changes)Chris Metcalf2012-11-031-0/+4
|
* Invoke DL_AFTER_LOAD if definedChris Metcalf2012-10-301-0/+5
| | | | | | | | | | | This hook is useful for any arch-specific functionality that should be done on loaded objects. For the tile architecture, the hook is already provided (though we switch to using the new macro name with this commit) and implements a simulator notifier so that the simulator can load Elf symbols to match the object and generate better error messages for PC's. Also, remove a spurious definition of DL_UNMAP in dl-runtime.c
* tile: improve ABI and #include use in gettimeofday vdso supportChris Metcalf2012-10-301-0/+4
|
* tile: update libm-test-ulps for new testsChris Metcalf2012-10-301-0/+4
|
* tile: add vDSO support for gettimeofday()Chris Metcalf2012-10-291-0/+8
|
* BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath2012-10-241-0/+9
|