aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/tile/jmpbuf-offsets.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-04-27 19:11:24 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-04-27 19:11:24 +0000
commita3fb6b6bc3f2f33e93f4c9575105f3b5f39cb201 (patch)
treeee15a3c8e09a17abce62d5b63f6ee8731e08dfa4 /sysdeps/tile/jmpbuf-offsets.h
parent7a6f74787132aca8e3809cae8d9e7bc7bfd55ce1 (diff)
downloadglibc-a3fb6b6bc3f2f33e93f4c9575105f3b5f39cb201.tar
glibc-a3fb6b6bc3f2f33e93f4c9575105f3b5f39cb201.tar.gz
glibc-a3fb6b6bc3f2f33e93f4c9575105f3b5f39cb201.tar.bz2
glibc-a3fb6b6bc3f2f33e93f4c9575105f3b5f39cb201.zip
Remove tilegx port.
Since tile support has been removed from the Linux kernel for 4.17, this patch removes the (unmaintained) port to tilegx from glibc (the tilepro support having been previously removed). This reflects the general principle that a glibc port needs upstream support for the architecture in all the components it build-depends on (so binutils, GCC and the Linux kernel, for the normal case of a port supporting the Linux kernel but no other OS), in order to be maintainable. Apart from removal of sysdeps/tile and sysdeps/unix/sysv/linux/tile, there are updates to various comments referencing tile for which removal of those references seemed appropriate. The configuration is removed from README and from build-many-glibcs.py. contrib.texi keeps mention of removed contributions, but I updated Chris Metcalf's entry to reflect that he also contributed the non-removed support for the generic Linux kernel syscall interface. __ASSUME_FADVISE64_64_NO_ALIGN support is removed, as it was only used by tile. * sysdeps/tile: Remove. * sysdeps/unix/sysv/linux/tile: Likewise. * README (tilegx-*-linux-gnu): Remove from list of supported configurations. * manual/contrib.texi (Contributors): Mention Chris Metcalf's contribution of support for generic Linux kernel syscall interface. * scripts/build-many-glibcs.py (Context.add_all_configs): Remove tilegx configurations. (Config.install_linux_headers): Do not handle tile. * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile in comment. * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise. * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise. [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove conditional undefine and redefine. * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile in comment. [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove conditional undefine and redefine.
Diffstat (limited to 'sysdeps/tile/jmpbuf-offsets.h')
-rw-r--r--sysdeps/tile/jmpbuf-offsets.h62
1 files changed, 0 insertions, 62 deletions
diff --git a/sysdeps/tile/jmpbuf-offsets.h b/sysdeps/tile/jmpbuf-offsets.h
deleted file mode 100644
index 8285826e98..0000000000
--- a/sysdeps/tile/jmpbuf-offsets.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/* Copyright (C) 2011-2018 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
- Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library. If not, see
- <http://www.gnu.org/licenses/>. */
-
-/* We don't use most of these symbols; they are here for documentation. */
-#define JB_R30 0
-#define JB_R31 1
-#define JB_R32 2
-#define JB_R33 3
-#define JB_R34 4
-#define JB_R35 5
-#define JB_R36 6
-#define JB_R37 7
-#define JB_R38 8
-#define JB_R39 9
-#define JB_R40 10
-#define JB_R41 11
-#define JB_R42 12
-#define JB_R43 13
-#define JB_R44 14
-#define JB_R45 15
-#define JB_R46 16
-#define JB_R47 17
-#define JB_R48 18
-#define JB_R49 19
-#define JB_R50 20
-#define JB_R51 21
-#define JB_FP 22 /* r52 */
-#define JB_TP 23 /* r53 */
-#define JB_SP 24 /* r54 */
-#define JB_PC 25 /* normally LR, r55 */
-#define JB_ICS 26 /* interrupt critical section bit */
-
-/* We save space for some extra state to accommodate future changes. */
-#define JB_LEN 32 /* number of words */
-
-#define JB_SIZE (JB_LEN * REGSIZE)
-
-/* Helper macro used by all the setjmp/longjmp assembly code. */
-#define FOR_EACH_CALLEE_SAVED_REG(f) \
- .no_require_canonical_reg_names; f(r30); f(r31); \
- f(r32); f(r33); f(r34); f(r35); f(r36); f(r37); f(r38); f(r39); \
- f(r40); f(r41); f(r42); f(r43); f(r44); f(r45); f(r46); f(r47); \
- f(r48); f(r49); f(r50); f(r51); f(r52); f(r53); f(r54); f(r55)
-
-/* Helper for generic ____longjmp_chk(). */
-#define JB_FRAME_ADDRESS(buf) \
- ((void *) (unsigned long) (buf[JB_SP]))