Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gdb/lib mknative-gdb for mips64eb.



details:   https://anonhg.NetBSD.org/src/rev/5b1782553709
branches:  trunk
changeset: 344386:5b1782553709
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Mar 26 08:09:54 2016 +0000

description:
mknative-gdb for mips64eb.

diffstat:

 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd-in3.h             |   2 +-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd.h                 |   2 +-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd_stdint.h          |   2 +-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/defs.mk               |   6 +-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h           |  51 ++++++---
 external/gpl3/gdb/lib/libdecnumber/arch/mips64eb/gstdint.h       |   2 +-
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/build-gnulib/config.h |   6 +-
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/config.h              |   4 +-
 external/gpl3/gdb/lib/libiberty/arch/mips64eb/config.h           |   2 +-
 external/gpl3/gdb/lib/libiberty/arch/mips64eb/defs.mk            |   2 +-
 10 files changed, 47 insertions(+), 32 deletions(-)

diffs (199 lines):

diff -r 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd-in3.h
--- a/external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd-in3.h      Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd-in3.h      Sat Mar 26 08:09:54 2016 +0000
@@ -90,7 +90,7 @@
 #define BFD_ARCH_SIZE 64
 
 /* The word size of the default bfd target.  */
-#define BFD_DEFAULT_TARGET_SIZE 32
+#define BFD_DEFAULT_TARGET_SIZE 64
 
 #define BFD_HOST_64BIT_LONG 0
 #define BFD_HOST_64BIT_LONG_LONG 1
diff -r 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd.h
--- a/external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd.h  Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd.h  Sat Mar 26 08:09:54 2016 +0000
@@ -90,7 +90,7 @@
 #define BFD_ARCH_SIZE 64
 
 /* The word size of the default bfd target.  */
-#define BFD_DEFAULT_TARGET_SIZE 32
+#define BFD_DEFAULT_TARGET_SIZE 64
 
 #define BFD_HOST_64BIT_LONG 0
 #define BFD_HOST_64BIT_LONG_LONG 1
diff -r 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd_stdint.h
--- a/external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd_stdint.h   Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd_stdint.h   Sat Mar 26 08:09:54 2016 +0000
@@ -2,7 +2,7 @@
 /* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
-/* generated for  mips64--netbsd-gcc (NetBSD nb1 20140527) 4.8.3 */
+/* generated for  mips64--netbsd-gcc (NetBSD nb3 20151015) 4.8.5 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1
diff -r 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libbfd/arch/mips64eb/defs.mk
--- a/external/gpl3/gdb/lib/libbfd/arch/mips64eb/defs.mk        Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/mips64eb/defs.mk        Sat Mar 26 08:09:54 2016 +0000
@@ -2,8 +2,8 @@
 # Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp 
 # Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp 
 #
-G_libbfd_la_DEPENDENCIES=elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo ecofflink.lo coffgen.lo elf64-mips.lo 
elf64.lo coff-mips.lo ecoff.lo elf64-gen.lo elf32-gen.lo plugin.lo cpu-mips.lo cpu-plugin.lo netbsd-core.lo archive64.lo ofiles
+G_libbfd_la_DEPENDENCIES=elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo ecofflink.lo coffgen.lo elf32-mips.lo 
elf64-mips.lo elf64.lo elf64-gen.lo elf32-gen.lo plugin.lo cpu-mips.lo cpu-plugin.lo netbsd-core.lo archive64.lo ofiles
 G_libbfd_la_OBJECTS=archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo  cache.lo coff-bfd.lo compress.lo corefile.lo format.lo hash.lo  init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo  
section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo  binary.lo ihex.lo srec.lo tekhex.lo verilog.lo
 G_DEFS=-DHAVE_CONFIG_H
-G_INCLUDES=-DNETBSD_CORE    -I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include   -DHAVE_mips_elf32_trad_be_vec -DHAVE_mips_elf32_trad_le_vec -DHAVE_mips_elf64_trad_be_vec 
-DHAVE_mips_elf64_trad_le_vec -DHAVE_mips_ecoff_be_vec -DHAVE_mips_ecoff_le_vec -DHAVE_elf64_le_vec -DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec -I./../intl
-G_TDEFAULTS=-DDEFAULT_VECTOR=mips_elf32_trad_be_vec 
-DSELECT_VECS='&mips_elf32_trad_be_vec,&mips_elf32_trad_le_vec,&mips_elf64_trad_be_vec,&mips_elf64_trad_le_vec,&mips_ecoff_be_vec,&mips_ecoff_le_vec,&elf64_le_vec,&elf64_be_vec,&elf32_le_vec,&elf32_be_vec,&plugin_vec'
 -DSELECT_ARCHITECTURES='&bfd_mips_arch,&bfd_plugin_arch'
+G_INCLUDES=-DNETBSD_CORE    -I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include   -DHAVE_mips_elf32_ntrad_be_vec -DHAVE_mips_elf32_ntrad_le_vec -DHAVE_mips_elf32_trad_be_vec 
-DHAVE_mips_elf32_trad_le_vec -DHAVE_mips_elf64_trad_be_vec -DHAVE_mips_elf64_trad_le_vec -DHAVE_elf64_le_vec -DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec -I./../intl
+G_TDEFAULTS=-DDEFAULT_VECTOR=mips_elf32_ntrad_be_vec 
-DSELECT_VECS='&mips_elf32_ntrad_be_vec,&mips_elf32_ntrad_le_vec,&mips_elf32_trad_be_vec,&mips_elf32_trad_le_vec,&mips_elf64_trad_be_vec,&mips_elf64_trad_le_vec,&elf64_le_vec,&elf64_be_vec,&elf32_le_vec,&elf32_be_vec,&plugin_vec'
 -DSELECT_ARCHITECTURES='&bfd_mips_arch,&bfd_plugin_arch'
diff -r 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h
--- a/external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h    Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h    Sat Mar 26 08:09:54 2016 +0000
@@ -1518,24 +1518,7 @@
 
 
     
-#ifdef BFD64
-#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_trad_le_vec)
-
-{ "mips*el-*-netbsd*",
-&mips_elf32_trad_le_vec },
-#endif
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_trad_be_vec)
-
-{ "mips*-*-netbsd*",
-&mips_elf32_trad_be_vec },
-#endif
-
-
-    
-#endif
+
 #if !defined (SELECT_VECS) || defined (HAVE_mips_ecoff_le_vec)
 
 { "mips*-dec-*", NULL },{ "mips*el-*-ecoff*",
@@ -1677,6 +1660,38 @@
 
 
     
+#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_ntrad_le_vec)
+
+{ "mips64*el-*-netbsd*",
+&mips_elf32_ntrad_le_vec },
+#endif
+
+
+    
+#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_ntrad_be_vec)
+
+{ "mips64*-*-netbsd*",
+&mips_elf32_ntrad_be_vec },
+#endif
+
+
+    
+#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_trad_le_vec)
+
+{ "mips*el-*-netbsd*",
+&mips_elf32_trad_le_vec },
+#endif
+
+
+    
+#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_trad_be_vec)
+
+{ "mips*-*-netbsd*",
+&mips_elf32_trad_be_vec },
+#endif
+
+
+    
 #if !defined (SELECT_VECS) || defined (HAVE_mips_elf64_trad_be_vec)
 
 { "mips64*-*-openbsd*",
diff -r 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libdecnumber/arch/mips64eb/gstdint.h
--- a/external/gpl3/gdb/lib/libdecnumber/arch/mips64eb/gstdint.h        Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libdecnumber/arch/mips64eb/gstdint.h        Sat Mar 26 08:09:54 2016 +0000
@@ -2,7 +2,7 @@
 /* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
-/* generated for  mips64--netbsd-gcc (NetBSD nb1 20140527) 4.8.3 */
+/* generated for  mips64--netbsd-gcc (NetBSD nb3 20151015) 4.8.5 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1
diff -r 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libgdb/arch/mips64eb/build-gnulib/config.h
--- a/external/gpl3/gdb/lib/libgdb/arch/mips64eb/build-gnulib/config.h  Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libgdb/arch/mips64eb/build-gnulib/config.h  Sat Mar 26 08:09:54 2016 +0000
@@ -661,10 +661,10 @@
 #define HAVE_RAW_DECL_MKNODAT 1
 
 /* Define to 1 if mkostemp is declared even after undefining macros. */
-/* #undef HAVE_RAW_DECL_MKOSTEMP */
+#define HAVE_RAW_DECL_MKOSTEMP 1
 
 /* Define to 1 if mkostemps is declared even after undefining macros. */
-/* #undef HAVE_RAW_DECL_MKOSTEMPS */
+#define HAVE_RAW_DECL_MKOSTEMPS 1
 
 /* Define to 1 if mkstemp is declared even after undefining macros. */
 #define HAVE_RAW_DECL_MKSTEMP 1
@@ -1155,7 +1155,7 @@
 #define MALLOC_0_IS_NONNULL 1
 
 /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
-#define MAP_ANONYMOUS MAP_ANON
+/* #undef MAP_ANONYMOUS */
 
 /* Define if the mbrtowc function has the NULL pwc argument bug. */
 /* #undef MBRTOWC_NULL_ARG1_BUG */
diff -r 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libgdb/arch/mips64eb/config.h
--- a/external/gpl3/gdb/lib/libgdb/arch/mips64eb/config.h       Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libgdb/arch/mips64eb/config.h       Sat Mar 26 08:09:54 2016 +0000
@@ -36,7 +36,7 @@
 #define DEFAULT_BFD_ARCH bfd_mips_arch
 
 /* Define to BFD's default target vector. */
-#define DEFAULT_BFD_VEC mips_elf32_trad_be_vec
+#define DEFAULT_BFD_VEC mips_elf32_ntrad_be_vec
 
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
@@ -219,7 +219,7 @@
 #define HAVE_INTTYPES_H 1
 
 /* Define to 1 if your system has the kinfo_getvmmap function. */
-/* #undef HAVE_KINFO_GETVMMAP */
+#define HAVE_KINFO_GETVMMAP 1
 
 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
 #define HAVE_LANGINFO_CODESET 1
diff -r 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libiberty/arch/mips64eb/config.h
--- a/external/gpl3/gdb/lib/libiberty/arch/mips64eb/config.h    Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libiberty/arch/mips64eb/config.h    Sat Mar 26 08:09:54 2016 +0000
@@ -188,7 +188,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 737e230ca813 -r 5b1782553709 external/gpl3/gdb/lib/libiberty/arch/mips64eb/defs.mk
--- a/external/gpl3/gdb/lib/libiberty/arch/mips64eb/defs.mk     Sat Mar 26 07:38:55 2016 +0000
+++ b/external/gpl3/gdb/lib/libiberty/arch/mips64eb/defs.mk     Sat Mar 26 08:09:54 2016 +0000
@@ -4,5 +4,5 @@
 #
 G_ALLOCA=
 G_EXTRA_OFILES=
-G_LIBOBJS=mempcpy.o mkstemps.o strverscmp.o
+G_LIBOBJS=mempcpy.o strverscmp.o
 G_REQUIRED_OFILES=regex.o cplus-dem.o cp-demangle.o  md5.o sha1.o alloca.o              argv.o                                          choose-temp.o concat.o                  cp-demint.o crc32.o 
d-demangle.o        dwarfnames.o dyn-string.o                       fdmatch.o fibheap.o                             filename_cmp.o floatformat.o            fnmatch.o fopen_unlocked.o                  
    getopt.o getopt1.o getpwd.o     getruntime.o hashtab.o hex.o    lbasename.o lrealpath.o                         make-relative-prefix.o make-temp-file.o         objalloc.o                          
                    obstack.o                                               partition.o pexecute.o physmem.o        pex-common.o pex-one.o                  pex-unix.o vprintf-support.o            
safe-ctype.o                                            simple-object.o simple-object-coff.o    simple-object-elf.o simple-object-mach-o.o      simple-object-xcoff.o                                   
sort.o spaces.o                                 splay-tree.o stack-limit.o                      strerror.o strsignal.o                  timeval-utils.o unlink-if-ordinary.o    xasprintf.o xatexit.o 
xexit.o   xmalloc.o xmemdup.o xstrdup.o   xstrerror.o xstrndup.o                  xvasprintf.o



Home | Main Index | Thread Index | Old Index