Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc regenerate mknative files for m68000 now t...



details:   https://anonhg.NetBSD.org/src/rev/c02383e9f6af
branches:  trunk
changeset: 333939:c02383e9f6af
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Nov 22 19:42:11 2014 +0000

description:
regenerate mknative files for m68000 now that the build actually completes.

this includes a hack matt@ found -- remove -fPIC from libgcc's defs.mk, i
have not yet figured out how to stop confgiure adding it.

diffstat:

 external/gpl3/gcc/lib/crtstuff/arch/m68000.mk                        |    8 +-
 external/gpl3/gcc/lib/libbacktrace/arch/m68000/backtrace-supported.h |    8 +-
 external/gpl3/gcc/lib/libbacktrace/arch/m68000/config.h              |    8 +-
 external/gpl3/gcc/lib/libgcc/arch/m68000/defs.mk                     |    8 +-
 external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000/gcov-iov.h          |    6 +-
 external/gpl3/gcc/lib/libgomp/arch/m68000/config.h                   |    8 +-
 external/gpl3/gcc/lib/libgomp/arch/m68000/libgomp.spec               |    6 +-
 external/gpl3/gcc/lib/libiberty/arch/m68000/config.h                 |    6 +-
 external/gpl3/gcc/lib/libobjc/arch/m68000/config.h                   |    6 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/c++config.h           |  142 +++++-----
 external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/gstdint.h             |    6 +-
 external/gpl3/gcc/usr.bin/gcc/arch/m68000/auto-host.h                |   10 +-
 external/gpl3/gcc/usr.bin/gcc/arch/m68000/bversion.h                 |    6 +-
 external/gpl3/gcc/usr.bin/gcc/arch/m68000/configargs.h               |    6 +-
 external/gpl3/gcc/usr.bin/gcc/arch/m68000/defs.mk                    |   16 +-
 external/gpl3/gcc/usr.bin/gcc/arch/m68000/plugin-version.h           |   10 +-
 external/gpl3/gcc/usr.bin/gcc/arch/m68000/tm.h                       |   10 +-
 17 files changed, 141 insertions(+), 129 deletions(-)

diffs (truncated from 795 to 300 lines):

diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/crtstuff/arch/m68000.mk
--- a/external/gpl3/gcc/lib/crtstuff/arch/m68000.mk     Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/arch/m68000.mk     Sat Nov 22 19:42:11 2014 +0000
@@ -1,11 +1,11 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp 
-# Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp 
+# Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp 
+# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp 
 #
-G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/../include -I./../intl -I${GNUHOSTDIST}/gcc/../libcpp/include 68000    -I${GNUHOSTDIST}/gcc/../libdecnumber 
-I${GNUHOSTDIST}/gcc/../libdecnumber/dpd -I../libdecnumber -I${GNUHOSTDIST}/gcc/../libbacktrace  
+G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/../include -I./../intl -I${GNUHOSTDIST}/gcc/../libcpp/include     -I${GNUHOSTDIST}/gcc/../libdecnumber 
-I${GNUHOSTDIST}/gcc/../libdecnumber/dpd -I../libdecnumber -I${GNUHOSTDIST}/gcc/../libbacktrace  
 G_CRTSTUFF_CFLAGS=
 G_CRTSTUFF_T_CFLAGS=
 G_CRTSTUFF_T_CFLAGS_S=
-G_tm_defines=LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 NETBSD_ENABLE_PTHREADS MOTOROLA=1 USE_GAS=1
+G_tm_defines=LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 NETBSD_ENABLE_PTHREADS MOTOROLA=1 USE_GAS=1 CHAR_FAST8=1 SHORT_FAST16=1
 G_xm_file=
 G_xm_defines=
diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/libbacktrace/arch/m68000/backtrace-supported.h
--- a/external/gpl3/gcc/lib/libbacktrace/arch/m68000/backtrace-supported.h      Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/libbacktrace/arch/m68000/backtrace-supported.h      Sat Nov 22 19:42:11 2014 +0000
@@ -1,6 +1,6 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* backtrace-supported.h.in -- Whether stack backtrace is supported.
    Copyright (C) 2012-2013 Free Software Foundation, Inc.
@@ -44,7 +44,7 @@
    should work, 0 if it will not.  Libraries may #include this to make
    other arrangements.  */
 
-#define BACKTRACE_SUPPORTED 0
+#define BACKTRACE_SUPPORTED 1
 
 /* BACKTRACE_USES_MALLOC will be #define'd as 1 if the backtrace
    library will call malloc as it works, 0 if it will call mmap
@@ -62,4 +62,4 @@
    0, the threaded parameter to backtrace_create_state must be passed
    as 0.  */
 
-#define BACKTRACE_SUPPORTS_THREADS 0
+#define BACKTRACE_SUPPORTS_THREADS 1
diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/libbacktrace/arch/m68000/config.h
--- a/external/gpl3/gcc/lib/libbacktrace/arch/m68000/config.h   Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/libbacktrace/arch/m68000/config.h   Sat Nov 22 19:42:11 2014 +0000
@@ -1,6 +1,6 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* config.h.  Generated from config.h.in by configure.  */
 /* config.h.in.  Generated from configure.ac by autoheader.  */
@@ -25,7 +25,7 @@
 /* #undef HAVE_GETEXECNAME */
 
 /* Define if _Unwind_GetIPInfo is available. */
-/* #undef HAVE_GETIPINFO */
+#define HAVE_GETIPINFO 1
 
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1
@@ -49,7 +49,7 @@
 #define HAVE_STRING_H 1
 
 /* Define to 1 if you have the __sync functions */
-/* #undef HAVE_SYNC_FUNCTIONS */
+#define HAVE_SYNC_FUNCTIONS 1
 
 /* Define to 1 if you have the <sys/mman.h> header file. */
 #define HAVE_SYS_MMAN_H 1
diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/libgcc/arch/m68000/defs.mk
--- a/external/gpl3/gcc/lib/libgcc/arch/m68000/defs.mk  Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/libgcc/arch/m68000/defs.mk  Sat Nov 22 19:42:11 2014 +0000
@@ -1,17 +1,17 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp 
-# Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp 
+# Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp 
+# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp 
 #
 G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include 
 G_LIB2ADD=${GNUHOSTDIST}/libgcc/config/m68k/fpgnulib.c xfgnulib.c enable-execute-stack.c
 G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/unwind-dw2.c ${GNUHOSTDIST}/libgcc/unwind-dw2-fde-dip.c ${GNUHOSTDIST}/libgcc/unwind-sjlj.c ${GNUHOSTDIST}/libgcc/unwind-c.c ${GNUHOSTDIST}/libgcc/emutls.c
 G_LIB2ADD_ST=
-G_LIB1ASMFUNCS=_mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _double _float _floatex _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2
+G_LIB1ASMFUNCS=_mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _floatex _float _double _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2
 G_LIB1ASMSRC=m68k/lb1sf68.S
 G_LIB2_DIVMOD_FUNCS=_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4
 G_LIB2FUNCS_ST=_eprintf __gcc_bcmp
 G_LIB2FUNCS_EXTRA=
-G_LIBGCC2_CFLAGS=-O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc 
-fno-stack-protector 
+G_LIBGCC2_CFLAGS=-O2  -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g -DIN_LIBGCC2 
-fbuilding-libgcc -fno-stack-protector 
 G_SHLIB_MKMAP=${GNUHOSTDIST}/libgcc/mkmap-symver.awk
 G_SHLIB_MKMAP_OPTS=
 G_SHLIB_MAPFILES=libgcc-std.ver
diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000/gcov-iov.h
--- a/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000/gcov-iov.h       Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000/gcov-iov.h       Sat Nov 22 19:42:11 2014 +0000
@@ -1,8 +1,8 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* Generated automatically by the program `build/gcov-iov'
-   from `4.8.3 (4 8) and prerelease (*)'.  */
+   from `4.8.4 (4 8) and prerelease (*)'.  */
 
 #define GCOV_VERSION ((gcov_unsigned_t)0x3430382a)  /* 408* */
diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/libgomp/arch/m68000/config.h
--- a/external/gpl3/gcc/lib/libgomp/arch/m68000/config.h        Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/m68000/config.h        Sat Nov 22 19:42:11 2014 +0000
@@ -1,6 +1,6 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* config.h.  Generated from config.h.in by configure.  */
 /* config.h.in.  Generated from configure.ac by autoheader.  */
@@ -64,7 +64,7 @@
 /* #undef HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT */
 
 /* Define to 1 if the target supports __sync_*_compare_and_swap */
-/* #undef HAVE_SYNC_BUILTINS */
+#define HAVE_SYNC_BUILTINS 1
 
 /* Define to 1 if you have the <sys/loadavg.h> header file. */
 /* #undef HAVE_SYS_LOADAVG_H */
@@ -79,7 +79,7 @@
 #define HAVE_SYS_TYPES_H 1
 
 /* Define to 1 if the target supports thread-local storage. */
-/* #undef HAVE_TLS */
+#define HAVE_TLS 1
 
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1
diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/libgomp/arch/m68000/libgomp.spec
--- a/external/gpl3/gcc/lib/libgomp/arch/m68000/libgomp.spec    Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/m68000/libgomp.spec    Sat Nov 22 19:42:11 2014 +0000
@@ -1,7 +1,7 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp 
-# Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp 
+# Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp 
+# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp 
 #
 # This spec file is read by gcc when linking.  It is used to specify the
 # standard libraries we need in order to link with -fopenmp.
-*link_gomp: -lgomp %{static: }
+*link_gomp: -lgomp 
diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/libiberty/arch/m68000/config.h
--- a/external/gpl3/gcc/lib/libiberty/arch/m68000/config.h      Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/libiberty/arch/m68000/config.h      Sat Nov 22 19:42:11 2014 +0000
@@ -1,6 +1,6 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* config.h.  Generated from config.in by configure.  */
 /* config.in.  Generated from configure.ac by autoheader.  */
@@ -169,7 +169,7 @@
 #define HAVE_MEMSET 1
 
 /* Define to 1 if you have the `mkstemps' function. */
-/* #undef HAVE_MKSTEMPS */
+#define HAVE_MKSTEMPS 1
 
 /* Define to 1 if you have a working `mmap' system call. */
 #define HAVE_MMAP 1
diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/libobjc/arch/m68000/config.h
--- a/external/gpl3/gcc/lib/libobjc/arch/m68000/config.h        Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/libobjc/arch/m68000/config.h        Sat Nov 22 19:42:11 2014 +0000
@@ -1,6 +1,6 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* config.h.  Generated from config.h.in by configure.  */
 /* config.h.in.  Generated from configure.ac by autoheader.  */
@@ -39,7 +39,7 @@
 #define HAVE_SYS_TYPES_H 1
 
 /* Define to 1 if the target supports thread-local storage. */
-/* #undef HAVE_TLS */
+#define HAVE_TLS 1
 
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1
diff -r 8cac730f4092 -r c02383e9f6af external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/c++config.h
--- a/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/c++config.h        Sat Nov 22 19:41:27 2014 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/c++config.h        Sat Nov 22 19:42:11 2014 +0000
@@ -1,6 +1,6 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 // Predefined symbols and macros -*- C++ -*-
 
@@ -35,7 +35,7 @@
 #define _GLIBCXX_CXX_CONFIG_H 1
 
 // The current version of the C++ library in compressed ISO date format.
-#define __GLIBCXX__ 20131213
+#define __GLIBCXX__ 20141009
 
 // Macros for various attributes.
 //   _GLIBCXX_PURE
@@ -471,58 +471,58 @@
 /* config.h.in.  Generated from configure.ac by autoheader.  */
 
 /* Define to 1 if you have the `acosf' function. */
-/* #undef _GLIBCXX_HAVE_ACOSF */
+#define _GLIBCXX_HAVE_ACOSF 1
 
 /* Define to 1 if you have the `acosl' function. */
-/* #undef _GLIBCXX_HAVE_ACOSL */
+#define _GLIBCXX_HAVE_ACOSL 1
 
 /* Define to 1 if you have the `asinf' function. */
-/* #undef _GLIBCXX_HAVE_ASINF */
+#define _GLIBCXX_HAVE_ASINF 1
 
 /* Define to 1 if you have the `asinl' function. */
-/* #undef _GLIBCXX_HAVE_ASINL */
+#define _GLIBCXX_HAVE_ASINL 1
 
 /* Define to 1 if the target assembler supports .symver directive. */
 #define _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE 1
 
 /* Define to 1 if you have the `atan2f' function. */
-/* #undef _GLIBCXX_HAVE_ATAN2F */
+#define _GLIBCXX_HAVE_ATAN2F 1
 
 /* Define to 1 if you have the `atan2l' function. */
-/* #undef _GLIBCXX_HAVE_ATAN2L */
+#define _GLIBCXX_HAVE_ATAN2L 1
 
 /* Define to 1 if you have the `atanf' function. */
-/* #undef _GLIBCXX_HAVE_ATANF */
+#define _GLIBCXX_HAVE_ATANF 1
 
 /* Define to 1 if you have the `atanl' function. */
-/* #undef _GLIBCXX_HAVE_ATANL */
+#define _GLIBCXX_HAVE_ATANL 1
 
 /* Define to 1 if you have the `at_quick_exit' function. */
-/* #undef _GLIBCXX_HAVE_AT_QUICK_EXIT */
+#define _GLIBCXX_HAVE_AT_QUICK_EXIT 1
 
 /* Define to 1 if the target assembler supports thread-local storage. */
 /* #undef _GLIBCXX_HAVE_CC_TLS */
 
 /* Define to 1 if you have the `ceilf' function. */
-/* #undef _GLIBCXX_HAVE_CEILF */
+#define _GLIBCXX_HAVE_CEILF 1
 
 /* Define to 1 if you have the `ceill' function. */
-/* #undef _GLIBCXX_HAVE_CEILL */
+#define _GLIBCXX_HAVE_CEILL 1
 
 /* Define to 1 if you have the <complex.h> header file. */
 #define _GLIBCXX_HAVE_COMPLEX_H 1
 
 /* Define to 1 if you have the `cosf' function. */
-/* #undef _GLIBCXX_HAVE_COSF */
+#define _GLIBCXX_HAVE_COSF 1
 
 /* Define to 1 if you have the `coshf' function. */
-/* #undef _GLIBCXX_HAVE_COSHF */
+#define _GLIBCXX_HAVE_COSHF 1
 
 /* Define to 1 if you have the `coshl' function. */
-/* #undef _GLIBCXX_HAVE_COSHL */
+#define _GLIBCXX_HAVE_COSHL 1
 
 /* Define to 1 if you have the `cosl' function. */
-/* #undef _GLIBCXX_HAVE_COSL */
+#define _GLIBCXX_HAVE_COSL 1
 
 /* Define to 1 if you have the <dlfcn.h> header file. */
 #define _GLIBCXX_HAVE_DLFCN_H 1
@@ -591,19 +591,19 @@
 #define _GLIBCXX_HAVE_EXECINFO_H 1
 



Home | Main Index | Thread Index | Old Index