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 regenerate mknative-gdb for GDB 7.6 fo...



details:   https://anonhg.NetBSD.org/src/rev/ad8b0057e080
branches:  trunk
changeset: 790347:ad8b0057e080
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Oct 04 01:09:03 2013 +0000

description:
regenerate mknative-gdb for GDB 7.6 for coldfire, earmeb, m68k,
mips64eb, mipsel, sh3eb and sh3el.

diffstat:

 external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd-in3.h             |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd.h                 |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/coldfire/bfdver.h              |     8 +-
 external/gpl3/gdb/lib/libbfd/arch/coldfire/config.h              |    34 +-
 external/gpl3/gdb/lib/libbfd/arch/coldfire/targmatch.h           |   341 ++-
 external/gpl3/gdb/lib/libbfd/arch/earmeb/bfd-in3.h               |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/earmeb/bfd.h                   |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/earmeb/bfdver.h                |     8 +-
 external/gpl3/gdb/lib/libbfd/arch/earmeb/config.h                |    34 +-
 external/gpl3/gdb/lib/libbfd/arch/earmeb/defs.mk                 |     4 +-
 external/gpl3/gdb/lib/libbfd/arch/earmeb/targmatch.h             |   343 ++-
 external/gpl3/gdb/lib/libbfd/arch/m68k/bfd-in3.h                 |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/m68k/bfd.h                     |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/m68k/bfd_stdint.h              |     4 +-
 external/gpl3/gdb/lib/libbfd/arch/m68k/bfdver.h                  |     8 +-
 external/gpl3/gdb/lib/libbfd/arch/m68k/config.h                  |    34 +-
 external/gpl3/gdb/lib/libbfd/arch/m68k/targmatch.h               |   343 ++-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd-in3.h             |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd.h                 |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfdver.h              |     8 +-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/config.h              |    34 +-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h           |   343 ++-
 external/gpl3/gdb/lib/libbfd/arch/mipseb/bfd-in3.h               |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/mipseb/bfd.h                   |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/mipseb/bfdver.h                |     8 +-
 external/gpl3/gdb/lib/libbfd/arch/mipseb/config.h                |    34 +-
 external/gpl3/gdb/lib/libbfd/arch/mipseb/targmatch.h             |   343 ++-
 external/gpl3/gdb/lib/libbfd/arch/sh3eb/bfd-in3.h                |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/sh3eb/bfd.h                    |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/sh3eb/bfd_stdint.h             |     4 +-
 external/gpl3/gdb/lib/libbfd/arch/sh3eb/bfdver.h                 |     8 +-
 external/gpl3/gdb/lib/libbfd/arch/sh3eb/config.h                 |    34 +-
 external/gpl3/gdb/lib/libbfd/arch/sh3eb/targmatch.h              |   343 ++-
 external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd-in3.h                |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd.h                    |  1104 ++++++++-
 external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd_stdint.h             |     4 +-
 external/gpl3/gdb/lib/libbfd/arch/sh3el/bfdver.h                 |     8 +-
 external/gpl3/gdb/lib/libbfd/arch/sh3el/config.h                 |    34 +-
 external/gpl3/gdb/lib/libbfd/arch/sh3el/targmatch.h              |   343 ++-
 external/gpl3/gdb/lib/libdecnumber/arch/coldfire/config.h        |    50 +-
 external/gpl3/gdb/lib/libdecnumber/arch/earmeb/config.h          |    50 +-
 external/gpl3/gdb/lib/libdecnumber/arch/m68k/config.h            |    50 +-
 external/gpl3/gdb/lib/libdecnumber/arch/m68k/gstdint.h           |     4 +-
 external/gpl3/gdb/lib/libdecnumber/arch/mips64eb/config.h        |    50 +-
 external/gpl3/gdb/lib/libdecnumber/arch/mipseb/config.h          |    50 +-
 external/gpl3/gdb/lib/libdecnumber/arch/sh3eb/config.h           |    50 +-
 external/gpl3/gdb/lib/libdecnumber/arch/sh3eb/gstdint.h          |     4 +-
 external/gpl3/gdb/lib/libdecnumber/arch/sh3el/config.h           |    50 +-
 external/gpl3/gdb/lib/libdecnumber/arch/sh3el/gstdint.h          |     4 +-
 external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib/config.h |   643 +++++
 external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h              |   354 +--
 external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk               |     6 +-
 external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c                |    54 +-
 external/gpl3/gdb/lib/libgdb/arch/coldfire/jit-reader.h          |   350 +++
 external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h            |   105 +-
 external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc          |   419 ++-
 external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c             |     4 +-
 external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c         |   198 +-
 external/gpl3/gdb/lib/libgdb/arch/earmeb/build-gnulib/config.h   |   643 +++++
 external/gpl3/gdb/lib/libgdb/arch/earmeb/config.h                |   354 +--
 external/gpl3/gdb/lib/libgdb/arch/earmeb/defs.mk                 |     6 +-
 external/gpl3/gdb/lib/libgdb/arch/earmeb/init.c                  |    50 +-
 external/gpl3/gdb/lib/libgdb/arch/earmeb/jit-reader.h            |   350 +++
 external/gpl3/gdb/lib/libgdb/arch/earmeb/observer.h              |   105 +-
 external/gpl3/gdb/lib/libgdb/arch/earmeb/observer.inc            |   419 ++-
 external/gpl3/gdb/lib/libgdb/arch/earmeb/version.c               |     4 +-
 external/gpl3/gdb/lib/libgdb/arch/earmeb/xml-builtin.c           |   198 +-
 external/gpl3/gdb/lib/libgdb/arch/m68k/build-gnulib/config.h     |   643 +++++
 external/gpl3/gdb/lib/libgdb/arch/m68k/config.h                  |   354 +--
 external/gpl3/gdb/lib/libgdb/arch/m68k/defs.mk                   |     6 +-
 external/gpl3/gdb/lib/libgdb/arch/m68k/init.c                    |    54 +-
 external/gpl3/gdb/lib/libgdb/arch/m68k/jit-reader.h              |   350 +++
 external/gpl3/gdb/lib/libgdb/arch/m68k/observer.h                |   105 +-
 external/gpl3/gdb/lib/libgdb/arch/m68k/observer.inc              |   419 ++-
 external/gpl3/gdb/lib/libgdb/arch/m68k/version.c                 |     4 +-
 external/gpl3/gdb/lib/libgdb/arch/m68k/xml-builtin.c             |   198 +-
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/build-gnulib/config.h |   643 +++++
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/config.h              |   354 +--
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/defs.mk               |     6 +-
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/init.c                |    54 +-
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/jit-reader.h          |   350 +++
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/observer.h            |   105 +-
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/observer.inc          |   419 ++-
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/version.c             |     4 +-
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/xml-builtin.c         |   198 +-
 external/gpl3/gdb/lib/libgdb/arch/mipseb/build-gnulib/config.h   |   643 +++++
 external/gpl3/gdb/lib/libgdb/arch/mipseb/config.h                |   354 +--
 external/gpl3/gdb/lib/libgdb/arch/mipseb/defs.mk                 |     6 +-
 external/gpl3/gdb/lib/libgdb/arch/mipseb/init.c                  |    54 +-
 external/gpl3/gdb/lib/libgdb/arch/mipseb/jit-reader.h            |   350 +++
 external/gpl3/gdb/lib/libgdb/arch/mipseb/observer.h              |   105 +-
 external/gpl3/gdb/lib/libgdb/arch/mipseb/observer.inc            |   419 ++-
 external/gpl3/gdb/lib/libgdb/arch/mipseb/version.c               |     4 +-
 external/gpl3/gdb/lib/libgdb/arch/mipseb/xml-builtin.c           |   198 +-
 external/gpl3/gdb/lib/libgdb/arch/powerpc/init.c                 |     2 -
 external/gpl3/gdb/lib/libgdb/arch/sh3eb/build-gnulib/config.h    |   643 +++++
 external/gpl3/gdb/lib/libgdb/arch/sh3eb/config.h                 |   354 +--
 external/gpl3/gdb/lib/libgdb/arch/sh3eb/defs.mk                  |     6 +-
 external/gpl3/gdb/lib/libgdb/arch/sh3eb/init.c                   |    46 +-
 external/gpl3/gdb/lib/libgdb/arch/sh3eb/jit-reader.h             |   350 +++
 external/gpl3/gdb/lib/libgdb/arch/sh3eb/observer.h               |   105 +-
 external/gpl3/gdb/lib/libgdb/arch/sh3eb/observer.inc             |   419 ++-
 external/gpl3/gdb/lib/libgdb/arch/sh3eb/version.c                |     4 +-
 external/gpl3/gdb/lib/libgdb/arch/sh3eb/xml-builtin.c            |   198 +-
 external/gpl3/gdb/lib/libgdb/arch/sh3el/build-gnulib/config.h    |   643 +++++
 external/gpl3/gdb/lib/libgdb/arch/sh3el/config.h                 |   354 +--
 external/gpl3/gdb/lib/libgdb/arch/sh3el/defs.mk                  |     6 +-
 external/gpl3/gdb/lib/libgdb/arch/sh3el/init.c                   |    46 +-
 external/gpl3/gdb/lib/libgdb/arch/sh3el/jit-reader.h             |   350 +++
 external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.h               |   105 +-
 external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.inc             |   419 ++-
 external/gpl3/gdb/lib/libgdb/arch/sh3el/version.c                |     4 +-
 external/gpl3/gdb/lib/libgdb/arch/sh3el/xml-builtin.c            |   198 +-
 external/gpl3/gdb/lib/libgdb/arch/x86_64/build-gnulib/config.h   |     6 +-
 external/gpl3/gdb/lib/libgdb/arch/x86_64/config.h                |     2 +-
 external/gpl3/gdb/lib/libgdb/arch/x86_64/defs.mk                 |     2 +-
 external/gpl3/gdb/lib/libgdb/arch/x86_64/init.c                  |     4 +-
 external/gpl3/gdb/lib/libgdb/arch/x86_64/observer.h              |     2 +-
 external/gpl3/gdb/lib/libgdb/arch/x86_64/observer.inc            |     2 +-
 external/gpl3/gdb/lib/libgdb/arch/x86_64/version.c               |     2 +-
 external/gpl3/gdb/lib/libgdb/arch/x86_64/xml-builtin.c           |     2 +-
 external/gpl3/gdb/lib/libiberty/arch/coldfire/config.h           |    11 +-
 external/gpl3/gdb/lib/libiberty/arch/coldfire/defs.mk            |     6 +-
 external/gpl3/gdb/lib/libiberty/arch/earmeb/config.h             |    11 +-
 external/gpl3/gdb/lib/libiberty/arch/earmeb/defs.mk              |     6 +-
 external/gpl3/gdb/lib/libiberty/arch/m68k/config.h               |    11 +-
 external/gpl3/gdb/lib/libiberty/arch/m68k/defs.mk                |     6 +-
 external/gpl3/gdb/lib/libiberty/arch/mips64eb/config.h           |    11 +-
 external/gpl3/gdb/lib/libiberty/arch/mips64eb/defs.mk            |     6 +-
 external/gpl3/gdb/lib/libiberty/arch/mipseb/config.h             |    11 +-
 external/gpl3/gdb/lib/libiberty/arch/mipseb/defs.mk              |     6 +-
 external/gpl3/gdb/lib/libiberty/arch/sh3eb/config.h              |    11 +-
 external/gpl3/gdb/lib/libiberty/arch/sh3eb/defs.mk               |     6 +-
 external/gpl3/gdb/lib/libiberty/arch/sh3el/config.h              |    11 +-
 external/gpl3/gdb/lib/libiberty/arch/sh3el/defs.mk               |     6 +-
 external/gpl3/gdb/lib/libopcodes/arch/coldfire/config.h          |    14 +-
 external/gpl3/gdb/lib/libopcodes/arch/earmeb/config.h            |    14 +-
 external/gpl3/gdb/lib/libopcodes/arch/m68k/config.h              |    14 +-
 external/gpl3/gdb/lib/libopcodes/arch/mips64eb/config.h          |    14 +-
 external/gpl3/gdb/lib/libopcodes/arch/mips64eb/defs.mk           |     4 +-
 external/gpl3/gdb/lib/libopcodes/arch/mipseb/config.h            |    14 +-
 external/gpl3/gdb/lib/libopcodes/arch/mipseb/defs.mk             |     4 +-
 external/gpl3/gdb/lib/libopcodes/arch/sh3eb/config.h             |    14 +-
 external/gpl3/gdb/lib/libopcodes/arch/sh3el/config.h             |    14 +-
 external/gpl3/gdb/lib/libreadline/arch/coldfire/config.h         |    50 +-
 external/gpl3/gdb/lib/libreadline/arch/coldfire/defs.mk          |     6 +-
 external/gpl3/gdb/lib/libreadline/arch/earmeb/config.h           |    50 +-
 external/gpl3/gdb/lib/libreadline/arch/earmeb/defs.mk            |     6 +-
 external/gpl3/gdb/lib/libreadline/arch/m68k/config.h             |    50 +-
 external/gpl3/gdb/lib/libreadline/arch/m68k/defs.mk              |     6 +-
 external/gpl3/gdb/lib/libreadline/arch/mips64eb/config.h         |    50 +-
 external/gpl3/gdb/lib/libreadline/arch/mips64eb/defs.mk          |     6 +-
 external/gpl3/gdb/lib/libreadline/arch/mipseb/config.h           |    50 +-
 external/gpl3/gdb/lib/libreadline/arch/mipseb/defs.mk            |     6 +-
 external/gpl3/gdb/lib/libreadline/arch/sh3eb/config.h            |    50 +-
 external/gpl3/gdb/lib/libreadline/arch/sh3eb/defs.mk             |     6 +-
 external/gpl3/gdb/lib/libreadline/arch/sh3el/config.h            |    50 +-
 external/gpl3/gdb/lib/libreadline/arch/sh3el/defs.mk             |     6 +-
 158 files changed, 28178 insertions(+), 5901 deletions(-)

diffs (truncated from 50989 to 300 lines):

diff -r ed84a18ab0ff -r ad8b0057e080 external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd-in3.h
--- a/external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd-in3.h      Fri Oct 04 00:42:13 2013 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd-in3.h      Fri Oct 04 01:09:03 2013 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from:     NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp  */
+/* Generated from:     NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
 
 /* DO NOT EDIT!  -*- buffer-read-only: t -*-  This file is automatically 
@@ -11,9 +11,9 @@
 
 /* Main header file for the bfd library -- portable access to object files.
 
-   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-   Free Software Foundation, Inc.
+   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
+   2012 Free Software Foundation, Inc.
 
    Contributed by Cygnus Support.
 
@@ -36,12 +36,19 @@
 #ifndef __BFD_H_SEEN__
 #define __BFD_H_SEEN__
 
+/* PR 14072: Ensure that config.h is included first.  */
+#if !defined PACKAGE && !defined PACKAGE_VERSION
+#error config.h must be included before this header
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 #include "ansidecl.h"
 #include "symcat.h"
+#include <sys/stat.h>
+
 #if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
 #ifndef SABER
 /* This hack is to avoid a problem with some strict ANSI C preprocessors.
@@ -66,7 +73,7 @@
    problem for example when trying to use STRING_COMMA_LEN to build
    the arguments to the strncmp() macro.  Hence this alternative
    definition of strncmp is provided here.
-   
+
    Note - these macros do NOT work if STR2 is not a constant string.  */
 #define CONST_STRNEQ(STR1,STR2) (strncmp ((STR1), (STR2), sizeof (STR2) - 1) == 0)
   /* strcpy() can have a similar problem, but since we know we are
@@ -282,18 +289,19 @@
 
 typedef struct bfd_section *sec_ptr;
 
-#define bfd_get_section_name(bfd, ptr) ((ptr)->name + 0)
-#define bfd_get_section_vma(bfd, ptr) ((ptr)->vma + 0)
-#define bfd_get_section_lma(bfd, ptr) ((ptr)->lma + 0)
-#define bfd_get_section_alignment(bfd, ptr) ((ptr)->alignment_power + 0)
+#define bfd_get_section_name(bfd, ptr) ((void) bfd, (ptr)->name)
+#define bfd_get_section_vma(bfd, ptr) ((void) bfd, (ptr)->vma)
+#define bfd_get_section_lma(bfd, ptr) ((void) bfd, (ptr)->lma)
+#define bfd_get_section_alignment(bfd, ptr) ((void) bfd, \
+                                            (ptr)->alignment_power)
 #define bfd_section_name(bfd, ptr) ((ptr)->name)
 #define bfd_section_size(bfd, ptr) ((ptr)->size)
 #define bfd_get_section_size(ptr) ((ptr)->size)
 #define bfd_section_vma(bfd, ptr) ((ptr)->vma)
 #define bfd_section_lma(bfd, ptr) ((ptr)->lma)
 #define bfd_section_alignment(bfd, ptr) ((ptr)->alignment_power)
-#define bfd_get_section_flags(bfd, ptr) ((ptr)->flags + 0)
-#define bfd_get_section_userdata(bfd, ptr) ((ptr)->userdata)
+#define bfd_get_section_flags(bfd, ptr) ((void) bfd, (ptr)->flags)
+#define bfd_get_section_userdata(bfd, ptr) ((void) bfd, (ptr)->userdata)
 
 #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
 
@@ -302,18 +310,15 @@
 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
 /* Find the address one past the end of SEC.  */
 #define bfd_get_section_limit(bfd, sec) \
-  (((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
-   / bfd_octets_per_byte (bfd))
+  (((bfd)->direction != write_direction && (sec)->rawsize != 0 \
+    ? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd))
 
 /* Return TRUE if input section SEC has been discarded.  */
-#define elf_discarded_section(sec)                             \
+#define discarded_section(sec)                         \
   (!bfd_is_abs_section (sec)                                   \
    && bfd_is_abs_section ((sec)->output_section)               \
-   && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE              \
-   && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
-
-/* Forward define.  */
-struct stat;
+   && (sec)->sec_info_type != SEC_INFO_TYPE_MERGE              \
+   && (sec)->sec_info_type != SEC_INFO_TYPE_JUST_SYMS)
 
 typedef enum bfd_print_symbol
 {
@@ -443,7 +448,7 @@
 /* Allows the default size of a hash table to be configured. New hash
    tables allocated using bfd_hash_table_init will be created with
    this size.  */
-extern void bfd_hash_set_default_size (bfd_size_type);
+extern unsigned long bfd_hash_set_default_size (unsigned long);
 
 /* This structure is used to keep track of stabs in sections
    information while linking.  */
@@ -563,11 +568,6 @@
 bfd_uint64_t bfd_get_bits (const void *, int, bfd_boolean);
 void bfd_put_bits (bfd_uint64_t, void *, int, bfd_boolean);
 
-extern bfd_boolean bfd_section_already_linked_table_init (void);
-extern void bfd_section_already_linked_table_free (void);
-
-/* Externally visible ECOFF routines.  */
-
 #if defined(__STDC__) || defined(ALMOST_STDC)
 struct ecoff_debug_info;
 struct ecoff_debug_swap;
@@ -575,8 +575,18 @@
 struct bfd_symbol;
 struct bfd_link_info;
 struct bfd_link_hash_entry;
+struct bfd_section_already_linked;
 struct bfd_elf_version_tree;
 #endif
+
+extern bfd_boolean bfd_section_already_linked_table_init (void);
+extern void bfd_section_already_linked_table_free (void);
+extern bfd_boolean _bfd_handle_already_linked
+  (struct bfd_section *, struct bfd_section_already_linked *,
+   struct bfd_link_info *);
+
+/* Externally visible ECOFF routines.  */
+
 extern bfd_vma bfd_ecoff_get_gp_value
   (bfd * abfd);
 extern bfd_boolean bfd_ecoff_set_gp_value
@@ -649,10 +659,11 @@
   (bfd *, struct bfd_link_info *);
 extern bfd_boolean bfd_elf_get_bfd_needed_list
   (bfd *, struct bfd_link_needed_list **);
+extern bfd_boolean bfd_elf_stack_segment_size (bfd *, struct bfd_link_info *,
+                                              const char *, bfd_vma);
 extern bfd_boolean bfd_elf_size_dynamic_sections
   (bfd *, const char *, const char *, const char *, const char *, const char *,
-   const char * const *, struct bfd_link_info *, struct bfd_section **,
-   struct bfd_elf_version_tree *);
+   const char * const *, struct bfd_link_info *, struct bfd_section **);
 extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr
   (bfd *, struct bfd_link_info *);
 extern void bfd_elf_set_dt_needed_name
@@ -700,19 +711,15 @@
    the remote memory.  */
 extern bfd *bfd_elf_bfd_from_remote_memory
   (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
-   int (*target_read_memory) (bfd_vma vma, bfd_byte *myaddr, int len));
-
-/* Return the arch_size field of an elf bfd, or -1 if not elf.  */
-extern int bfd_get_arch_size
-  (bfd *);
-
-/* Return TRUE if address "naturally" sign extends, or -1 if not elf.  */
-extern int bfd_get_sign_extend_vma
-  (bfd *);
+   int (*target_read_memory) (bfd_vma vma, bfd_byte *myaddr,
+                             bfd_size_type len));
 
 extern struct bfd_section *_bfd_elf_tls_setup
   (bfd *, struct bfd_link_info *);
 
+extern struct bfd_section *
+_bfd_nearby_section (bfd *, struct bfd_section *, bfd_vma);
+
 extern void _bfd_fix_excluded_sec_syms
   (bfd *, struct bfd_link_info *);
 
@@ -880,7 +887,7 @@
 
 void bfd_elf32_arm_set_target_relocs
   (bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix,
-   int, int, int, int);
+   int, int, int, int, int);
 
 extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
   (bfd *, struct bfd_link_info *);
@@ -923,6 +930,10 @@
 extern bfd_boolean elf32_arm_fix_exidx_coverage
 (struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
 
+/* C6x unwind section editing support.  */
+extern bfd_boolean elf32_tic6x_fix_exidx_coverage
+(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
+
 /* PowerPC @tls opcode transform/validate.  */
 extern unsigned int _bfd_elf_ppc_at_tls_transform
   (unsigned int, unsigned int);
@@ -930,6 +941,32 @@
 extern unsigned int _bfd_elf_ppc_at_tprel_transform
   (unsigned int, unsigned int);
 
+extern void bfd_elf64_aarch64_init_maps
+  (bfd *);
+
+void bfd_elf64_aarch64_set_options
+  (bfd *, struct bfd_link_info *, int, int, int);
+
+/* ELF AArch64 mapping symbol support.  */
+#define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP       (1 << 0)
+#define BFD_AARCH64_SPECIAL_SYM_TYPE_TAG       (1 << 1)
+#define BFD_AARCH64_SPECIAL_SYM_TYPE_OTHER     (1 << 2)
+#define BFD_AARCH64_SPECIAL_SYM_TYPE_ANY       (~0)
+extern bfd_boolean bfd_is_aarch64_special_symbol_name
+  (const char * name, int type);
+
+/* AArch64 stub generation support.  Called from the linker.  */
+extern int elf64_aarch64_setup_section_lists
+  (bfd *, struct bfd_link_info *);
+extern void elf64_aarch64_next_input_section
+  (struct bfd_link_info *, struct bfd_section *);
+extern bfd_boolean elf64_aarch64_size_stubs
+  (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
+   struct bfd_section * (*) (const char *, struct bfd_section *),
+   void (*) (void));
+extern bfd_boolean elf64_aarch64_build_stubs
+  (struct bfd_link_info *);
+
 /* TI COFF load page support.  */
 extern void bfd_ticoff_set_section_load_page
   (struct bfd_section *, int);
@@ -1033,9 +1070,9 @@
 #define bfd_put_signed_8 \
   bfd_put_8
 #define bfd_get_8(abfd, ptr) \
-  (*(unsigned char *) (ptr) & 0xff)
+  (*(const unsigned char *) (ptr) & 0xff)
 #define bfd_get_signed_8(abfd, ptr) \
-  (((*(unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
+  (((*(const unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
 
 #define bfd_put_16(abfd, val, ptr) \
   BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
@@ -1143,7 +1180,8 @@
 file_ptr bfd_get_size (bfd *abfd);
 
 void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
-    int prot, int flags, file_ptr offset);
+    int prot, int flags, file_ptr offset,
+    void **map_addr, bfd_size_type *map_len);
 
 /* Extracted from bfdwin.c.  */
 /* Extracted from section.c.  */
@@ -1324,6 +1362,11 @@
      sections.  */
 #define SEC_COFF_SHARED_LIBRARY 0x4000000
 
+  /* This input section should be copied to output in reverse order
+     as an array of pointers.  This is for ELF linker internal use
+     only.  */
+#define SEC_ELF_REVERSE_COPY 0x4000000
+
   /* This section contains data which may be shared with other
      executables or shared objects. This is for COFF only.  */
 #define SEC_COFF_SHARED 0x8000000
@@ -1374,11 +1417,11 @@
 
   /* Type of sec_info information.  */
   unsigned int sec_info_type:3;
-#define ELF_INFO_TYPE_NONE      0
-#define ELF_INFO_TYPE_STABS     1
-#define ELF_INFO_TYPE_MERGE     2
-#define ELF_INFO_TYPE_EH_FRAME  3
-#define ELF_INFO_TYPE_JUST_SYMS 4
+#define SEC_INFO_TYPE_NONE      0
+#define SEC_INFO_TYPE_STABS     1
+#define SEC_INFO_TYPE_MERGE     2
+#define SEC_INFO_TYPE_EH_FRAME  3
+#define SEC_INFO_TYPE_JUST_SYMS 4
 
   /* Nonzero if this section uses RELA relocations, rather than REL.  */
   unsigned int use_rela_p:1;
@@ -1523,40 +1566,37 @@
 } asection;
 
 /* Relax table contains information about instructions which can
-   be removed by relaxation -- replacing a long address with a 
+   be removed by relaxation -- replacing a long address with a
    short address.  */
 struct relax_table {
   /* Address where bytes may be deleted. */
   bfd_vma addr;
-  
+
   /* Number of bytes to be deleted.  */
   int size;
 };



Home | Main Index | Thread Index | Old Index