Source-Changes-HG archive

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

[src/trunk]: src/gnu Run mknative on the new binutils.



details:   https://anonhg.NetBSD.org/src/rev/0d337e39d50b
branches:  trunk
changeset: 587742:0d337e39d50b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Feb 02 22:22:14 2006 +0000

description:
Run mknative on the new binutils.

diffstat:

 gnu/lib/libbfd/arch/alpha/bfd.h                   |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/alpha/bfdver.h                |    8 +-
 gnu/lib/libbfd/arch/alpha/config.h                |  489 ++++++++-------
 gnu/lib/libbfd/arch/alpha/defs.mk                 |    4 +-
 gnu/lib/libbfd/arch/arm/bfd.h                     |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/arm/bfdver.h                  |    8 +-
 gnu/lib/libbfd/arch/arm/config.h                  |  489 ++++++++-------
 gnu/lib/libbfd/arch/arm/defs.mk                   |    6 +-
 gnu/lib/libbfd/arch/armeb/bfd.h                   |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/armeb/bfdver.h                |    8 +-
 gnu/lib/libbfd/arch/armeb/config.h                |  489 ++++++++-------
 gnu/lib/libbfd/arch/armeb/defs.mk                 |    6 +-
 gnu/lib/libbfd/arch/hppa/bfd.h                    |  710 +++++++++++++++------
 gnu/lib/libbfd/arch/hppa/bfdver.h                 |    6 +-
 gnu/lib/libbfd/arch/hppa/config.h                 |  487 ++++++++-------
 gnu/lib/libbfd/arch/hppa/defs.mk                  |   10 +-
 gnu/lib/libbfd/arch/i386/bfd.h                    |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/i386/bfdver.h                 |    8 +-
 gnu/lib/libbfd/arch/i386/config.h                 |  489 ++++++++-------
 gnu/lib/libbfd/arch/i386/defs.mk                  |    4 +-
 gnu/lib/libbfd/arch/m68000/bfd.h                  |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/m68000/bfdver.h               |    8 +-
 gnu/lib/libbfd/arch/m68000/config.h               |  489 ++++++++-------
 gnu/lib/libbfd/arch/m68000/defs.mk                |    4 +-
 gnu/lib/libbfd/arch/m68k/bfd.h                    |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/m68k/bfdver.h                 |    8 +-
 gnu/lib/libbfd/arch/m68k/config.h                 |  489 ++++++++-------
 gnu/lib/libbfd/arch/m68k/defs.mk                  |    4 +-
 gnu/lib/libbfd/arch/mipseb/bfd.h                  |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/mipseb/bfdver.h               |    8 +-
 gnu/lib/libbfd/arch/mipseb/config.h               |  489 ++++++++-------
 gnu/lib/libbfd/arch/mipseb/defs.mk                |    4 +-
 gnu/lib/libbfd/arch/mipsel/bfd.h                  |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/mipsel/bfdver.h               |    8 +-
 gnu/lib/libbfd/arch/mipsel/config.h               |  489 ++++++++-------
 gnu/lib/libbfd/arch/mipsel/defs.mk                |    4 +-
 gnu/lib/libbfd/arch/powerpc/bfd.h                 |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/powerpc/bfdver.h              |    8 +-
 gnu/lib/libbfd/arch/powerpc/config.h              |  489 ++++++++-------
 gnu/lib/libbfd/arch/powerpc/defs.mk               |    4 +-
 gnu/lib/libbfd/arch/sh3eb/bfd.h                   |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/sh3eb/bfdver.h                |    8 +-
 gnu/lib/libbfd/arch/sh3eb/config.h                |  489 ++++++++-------
 gnu/lib/libbfd/arch/sh3eb/defs.mk                 |    4 +-
 gnu/lib/libbfd/arch/sh3el/bfd.h                   |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/sh3el/bfdver.h                |    8 +-
 gnu/lib/libbfd/arch/sh3el/config.h                |  489 ++++++++-------
 gnu/lib/libbfd/arch/sh3el/defs.mk                 |    4 +-
 gnu/lib/libbfd/arch/sh5el/bfd.h                   |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/sh5el/bfdver.h                |    8 +-
 gnu/lib/libbfd/arch/sh5el/config.h                |  489 ++++++++-------
 gnu/lib/libbfd/arch/sh5el/defs.mk                 |   10 +-
 gnu/lib/libbfd/arch/sparc/bfd.h                   |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/sparc/bfdver.h                |    8 +-
 gnu/lib/libbfd/arch/sparc/config.h                |  489 ++++++++-------
 gnu/lib/libbfd/arch/sparc/defs.mk                 |    4 +-
 gnu/lib/libbfd/arch/sparc64/bfd.h                 |  712 +++++++++++++++------
 gnu/lib/libbfd/arch/sparc64/bfdver.h              |    8 +-
 gnu/lib/libbfd/arch/sparc64/config.h              |  489 ++++++++-------
 gnu/lib/libbfd/arch/sparc64/defs.mk               |    4 +-
 gnu/lib/libbfd/arch/vax/bfd.h                     |  710 +++++++++++++++------
 gnu/lib/libbfd/arch/vax/bfdver.h                  |    8 +-
 gnu/lib/libbfd/arch/vax/config.h                  |  487 ++++++++-------
 gnu/lib/libbfd/arch/vax/defs.mk                   |    4 +-
 gnu/lib/libbfd/arch/x86_64/bfd.h                  |  710 +++++++++++++++------
 gnu/lib/libbfd/arch/x86_64/bfdver.h               |    6 +-
 gnu/lib/libbfd/arch/x86_64/config.h               |  487 ++++++++-------
 gnu/lib/libbfd/arch/x86_64/defs.mk                |    6 +-
 gnu/lib/libiberty/Makefile                        |    7 +-
 gnu/lib/libopcodes/arch/alpha/config.h            |  252 ++++---
 gnu/lib/libopcodes/arch/arm/config.h              |  252 ++++---
 gnu/lib/libopcodes/arch/armeb/config.h            |  252 ++++---
 gnu/lib/libopcodes/arch/hppa/config.h             |  250 ++++---
 gnu/lib/libopcodes/arch/i386/config.h             |  252 ++++---
 gnu/lib/libopcodes/arch/m68000/config.h           |  252 ++++---
 gnu/lib/libopcodes/arch/m68k/config.h             |  252 ++++---
 gnu/lib/libopcodes/arch/mipseb/config.h           |  252 ++++---
 gnu/lib/libopcodes/arch/mipsel/config.h           |  252 ++++---
 gnu/lib/libopcodes/arch/powerpc/config.h          |  252 ++++---
 gnu/lib/libopcodes/arch/sh3eb/config.h            |  252 ++++---
 gnu/lib/libopcodes/arch/sh3el/config.h            |  252 ++++---
 gnu/lib/libopcodes/arch/sh5el/config.h            |  252 ++++---
 gnu/lib/libopcodes/arch/sparc/config.h            |  252 ++++---
 gnu/lib/libopcodes/arch/sparc64/config.h          |  252 ++++---
 gnu/lib/libopcodes/arch/vax/config.h              |  250 ++++---
 gnu/lib/libopcodes/arch/x86_64/config.h           |  250 ++++---
 gnu/usr.bin/binutils/common/arch/alpha/config.h   |    7 +-
 gnu/usr.bin/binutils/common/arch/alpha/defs.mk    |    2 +-
 gnu/usr.bin/binutils/common/arch/arm/config.h     |    7 +-
 gnu/usr.bin/binutils/common/arch/arm/defs.mk      |    2 +-
 gnu/usr.bin/binutils/common/arch/armeb/config.h   |    7 +-
 gnu/usr.bin/binutils/common/arch/armeb/defs.mk    |    2 +-
 gnu/usr.bin/binutils/common/arch/hppa/config.h    |    5 +-
 gnu/usr.bin/binutils/common/arch/hppa/defs.mk     |    2 +-
 gnu/usr.bin/binutils/common/arch/i386/config.h    |    7 +-
 gnu/usr.bin/binutils/common/arch/i386/defs.mk     |    2 +-
 gnu/usr.bin/binutils/common/arch/m68000/config.h  |    7 +-
 gnu/usr.bin/binutils/common/arch/m68000/defs.mk   |    2 +-
 gnu/usr.bin/binutils/common/arch/m68k/config.h    |    7 +-
 gnu/usr.bin/binutils/common/arch/m68k/defs.mk     |    2 +-
 gnu/usr.bin/binutils/common/arch/mipseb/config.h  |    5 +-
 gnu/usr.bin/binutils/common/arch/mipseb/defs.mk   |    2 +-
 gnu/usr.bin/binutils/common/arch/mipsel/config.h  |    5 +-
 gnu/usr.bin/binutils/common/arch/mipsel/defs.mk   |    2 +-
 gnu/usr.bin/binutils/common/arch/powerpc/config.h |    7 +-
 gnu/usr.bin/binutils/common/arch/powerpc/defs.mk  |    2 +-
 gnu/usr.bin/binutils/common/arch/sh3eb/config.h   |    7 +-
 gnu/usr.bin/binutils/common/arch/sh3eb/defs.mk    |    2 +-
 gnu/usr.bin/binutils/common/arch/sh3el/config.h   |    7 +-
 gnu/usr.bin/binutils/common/arch/sh3el/defs.mk    |    2 +-
 gnu/usr.bin/binutils/common/arch/sh5el/config.h   |    7 +-
 gnu/usr.bin/binutils/common/arch/sh5el/defs.mk    |    4 +-
 gnu/usr.bin/binutils/common/arch/sparc/config.h   |    7 +-
 gnu/usr.bin/binutils/common/arch/sparc/defs.mk    |    2 +-
 gnu/usr.bin/binutils/common/arch/sparc64/config.h |    7 +-
 gnu/usr.bin/binutils/common/arch/sparc64/defs.mk  |    2 +-
 gnu/usr.bin/binutils/common/arch/vax/config.h     |    5 +-
 gnu/usr.bin/binutils/common/arch/vax/defs.mk      |    2 +-
 gnu/usr.bin/binutils/common/arch/x86_64/config.h  |    5 +-
 gnu/usr.bin/binutils/common/arch/x86_64/defs.mk   |    2 +-
 gnu/usr.bin/binutils/gas/arch/alpha/config.h      |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/arm/config.h        |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/armeb/config.h      |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/hppa/config.h       |  439 +++++++------
 gnu/usr.bin/binutils/gas/arch/i386/config.h       |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/m68000/config.h     |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/m68k/config.h       |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/mipseb/config.h     |  439 +++++++------
 gnu/usr.bin/binutils/gas/arch/mipsel/config.h     |  439 +++++++------
 gnu/usr.bin/binutils/gas/arch/powerpc/config.h    |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/sh3eb/config.h      |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/sh3el/config.h      |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/sh5el/config.h      |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/sparc/config.h      |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/sparc64/config.h    |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/vax/config.h        |  441 +++++++------
 gnu/usr.bin/binutils/gas/arch/x86_64/config.h     |  439 +++++++------
 gnu/usr.bin/binutils/gprof/arch/alpha/defs.mk     |    4 +-
 gnu/usr.bin/binutils/gprof/arch/alpha/gconfig.h   |   15 +-
 gnu/usr.bin/binutils/gprof/arch/arm/defs.mk       |    4 +-
 gnu/usr.bin/binutils/gprof/arch/arm/gconfig.h     |   15 +-
 gnu/usr.bin/binutils/gprof/arch/armeb/defs.mk     |    4 +-
 gnu/usr.bin/binutils/gprof/arch/armeb/gconfig.h   |   15 +-
 gnu/usr.bin/binutils/gprof/arch/hppa/defs.mk      |    6 +-
 gnu/usr.bin/binutils/gprof/arch/hppa/gconfig.h    |   13 +-
 gnu/usr.bin/binutils/gprof/arch/i386/defs.mk      |    4 +-
 gnu/usr.bin/binutils/gprof/arch/i386/gconfig.h    |   15 +-
 gnu/usr.bin/binutils/gprof/arch/m68000/defs.mk    |    4 +-
 gnu/usr.bin/binutils/gprof/arch/m68000/gconfig.h  |   15 +-
 gnu/usr.bin/binutils/gprof/arch/m68k/defs.mk      |    4 +-
 gnu/usr.bin/binutils/gprof/arch/m68k/gconfig.h    |   15 +-
 gnu/usr.bin/binutils/gprof/arch/mipseb/defs.mk    |    4 +-
 gnu/usr.bin/binutils/gprof/arch/mipseb/gconfig.h  |   15 +-
 gnu/usr.bin/binutils/gprof/arch/mipsel/defs.mk    |    4 +-
 gnu/usr.bin/binutils/gprof/arch/mipsel/gconfig.h  |   15 +-
 gnu/usr.bin/binutils/gprof/arch/powerpc/defs.mk   |    4 +-
 gnu/usr.bin/binutils/gprof/arch/powerpc/gconfig.h |   15 +-
 gnu/usr.bin/binutils/gprof/arch/sh3eb/defs.mk     |    4 +-
 gnu/usr.bin/binutils/gprof/arch/sh3eb/gconfig.h   |   15 +-
 gnu/usr.bin/binutils/gprof/arch/sh3el/defs.mk     |    4 +-
 gnu/usr.bin/binutils/gprof/arch/sh3el/gconfig.h   |   15 +-
 gnu/usr.bin/binutils/gprof/arch/sh5el/defs.mk     |    6 +-
 gnu/usr.bin/binutils/gprof/arch/sh5el/gconfig.h   |   15 +-
 gnu/usr.bin/binutils/gprof/arch/sparc/defs.mk     |    4 +-
 gnu/usr.bin/binutils/gprof/arch/sparc/gconfig.h   |   15 +-
 gnu/usr.bin/binutils/gprof/arch/sparc64/defs.mk   |    4 +-
 gnu/usr.bin/binutils/gprof/arch/sparc64/gconfig.h |   15 +-
 gnu/usr.bin/binutils/gprof/arch/vax/defs.mk       |    4 +-
 gnu/usr.bin/binutils/gprof/arch/vax/gconfig.h     |   13 +-
 gnu/usr.bin/binutils/gprof/arch/x86_64/defs.mk    |    6 +-
 gnu/usr.bin/binutils/gprof/arch/x86_64/gconfig.h  |   13 +-
 gnu/usr.bin/binutils/ld/arch/alpha/config.h       |   16 +-
 gnu/usr.bin/binutils/ld/arch/arm/config.h         |   16 +-
 gnu/usr.bin/binutils/ld/arch/armeb/config.h       |   16 +-
 gnu/usr.bin/binutils/ld/arch/hppa/config.h        |   14 +-
 gnu/usr.bin/binutils/ld/arch/i386/config.h        |   16 +-
 gnu/usr.bin/binutils/ld/arch/m68000/config.h      |   16 +-
 gnu/usr.bin/binutils/ld/arch/m68k/config.h        |   16 +-
 gnu/usr.bin/binutils/ld/arch/mipseb/config.h      |   14 +-
 gnu/usr.bin/binutils/ld/arch/mipsel/config.h      |   14 +-
 gnu/usr.bin/binutils/ld/arch/powerpc/config.h     |   16 +-
 gnu/usr.bin/binutils/ld/arch/sh3eb/config.h       |   16 +-
 gnu/usr.bin/binutils/ld/arch/sh3el/config.h       |   16 +-
 gnu/usr.bin/binutils/ld/arch/sh5el/config.h       |   16 +-
 gnu/usr.bin/binutils/ld/arch/sparc/config.h       |   16 +-
 gnu/usr.bin/binutils/ld/arch/sparc64/config.h     |   16 +-
 gnu/usr.bin/binutils/ld/arch/vax/config.h         |   14 +-
 gnu/usr.bin/binutils/ld/arch/vax/defs.mk          |    2 +-
 gnu/usr.bin/binutils/ld/arch/x86_64/config.h      |   14 +-
 189 files changed, 20152 insertions(+), 12977 deletions(-)

diffs (truncated from 46595 to 300 lines):

diff -r a7757b61e8ed -r 0d337e39d50b gnu/lib/libbfd/arch/alpha/bfd.h
--- a/gnu/lib/libbfd/arch/alpha/bfd.h   Thu Feb 02 22:19:18 2006 +0000
+++ b/gnu/lib/libbfd/arch/alpha/bfd.h   Thu Feb 02 22:22:14 2006 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from:     NetBSD: mknative-binutils,v 1.3 2003/12/04 14:38:00 mrg Exp  */
+/* Generated from:     NetBSD: mknative-binutils,v 1.4 2004/12/10 13:57:08 mrg Exp  */
 
 /* DO NOT EDIT!  -*- buffer-read-only: t -*-  This file is automatically 
    generated from "bfd-in.h", "init.c", "opncls.c", "libbfd.c", 
@@ -11,7 +11,7 @@
 /* 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 Free Software Foundation, Inc.
+   1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
    Contributed by Cygnus Support.
 
@@ -99,14 +99,6 @@
 #define FALSE 0
 #define TRUE 1
 
-#if 0
-/* Poison.  */
-#undef false
-#undef true
-#define false dont_use_false_in_bfd
-#define true dont_use_true_in_bfd
-#endif
-
 #ifdef BFD64
 
 #ifndef BFD_HOST_64_BIT
@@ -248,6 +240,10 @@
 
 /* The sections in this BFD specify a memory page.  */
 #define HAS_LOAD_PAGE 0x1000
+
+/* This BFD has been created by the linker and doesn't correspond
+   to any input file.  */
+#define BFD_LINKER_CREATED 0x2000
 
 /* Symbols and relocation.  */
 
@@ -318,7 +314,8 @@
 #define bfd_get_section_lma(bfd, ptr) ((ptr)->lma + 0)
 #define bfd_get_section_alignment(bfd, ptr) ((ptr)->alignment_power + 0)
 #define bfd_section_name(bfd, ptr) ((ptr)->name)
-#define bfd_section_size(bfd, ptr) (bfd_get_section_size_before_reloc(ptr))
+#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)
@@ -330,6 +327,10 @@
 #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE)
 #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
 #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))
 
 typedef struct stat stat_type;
 
@@ -443,6 +444,24 @@
    bfd_boolean (*) (struct bfd_hash_entry *, void *),
    void *info);
 
+/* 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);
+
+/* This structure is used to keep track of stabs in sections
+   information while linking.  */
+
+struct stab_info
+{
+  /* A hash table used to hold stabs strings.  */
+  struct bfd_strtab_hash *strings;
+  /* The header file hash table.  */
+  struct bfd_hash_table includes;
+  /* The first .stabstr section.  */
+  struct bfd_section *stabstr;
+};
+
 #define COFF_SWAP_TABLE (void *) &bfd_coff_std_swap_table
 
 /* User program access to BFD facilities.  */
@@ -515,6 +534,8 @@
   (bfd *abfd);
 /* NB: This declaration should match the autogenerated one in libbfd.h.  */
 
+extern bfd_boolean bfd_cache_close_all (void);
+
 extern bfd_boolean bfd_record_phdr
   (bfd *, unsigned long, bfd_boolean, flagword, bfd_boolean, bfd_vma,
    bfd_boolean, bfd_boolean, unsigned int, struct bfd_section **);
@@ -544,6 +565,9 @@
 
 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.  */
 
@@ -597,8 +621,6 @@
   (void *handle, bfd *abfd, struct ecoff_debug_info *debug,
    const struct ecoff_debug_swap *swap,
    struct bfd_link_info *info, file_ptr where);
-extern bfd_boolean bfd_mips_ecoff_create_embedded_relocs
-  (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **);
 
 /* Externally visible ELF routines.  */
 
@@ -612,7 +634,9 @@
 enum dynamic_lib_link_class {
   DYN_NORMAL = 0,
   DYN_AS_NEEDED = 1,
-  DYN_DT_NEEDED = 2
+  DYN_DT_NEEDED = 2,
+  DYN_NO_ADD_NEEDED = 4,
+  DYN_NO_NEEDED = 8
 };
 
 extern bfd_boolean bfd_elf_record_link_assignment
@@ -630,6 +654,8 @@
   (bfd *);
 extern void bfd_elf_set_dyn_lib_class
   (bfd *, int);
+extern int bfd_elf_get_dyn_lib_class
+  (bfd *);
 extern struct bfd_link_needed_list *bfd_elf_get_runpath_list
   (bfd *, struct bfd_link_info *);
 extern bfd_boolean bfd_elf_discard_info
@@ -665,7 +691,7 @@
    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, char *myaddr, int len));
+   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
@@ -680,8 +706,6 @@
 
 extern bfd_boolean bfd_m68k_elf32_create_embedded_relocs
   (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **);
-extern bfd_boolean bfd_mips_elf32_create_embedded_relocs
-  (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **);
 
 /* SunOS shared library support routines for the linker.  */
 
@@ -798,6 +822,9 @@
 extern bfd_boolean bfd_elf32_arm_process_before_allocation
   (bfd *, struct bfd_link_info *, int);
 
+void bfd_elf32_arm_set_target_relocs
+  (struct bfd_link_info *, int, char *, int);
+
 extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
   (bfd *, struct bfd_link_info *);
 
@@ -832,6 +859,26 @@
 extern void bfd_elf64_ia64_after_parse
   (int);
 
+/* This structure is used for a comdat section, as in PE.  A comdat
+   section is associated with a particular symbol.  When the linker
+   sees a comdat section, it keeps only one of the sections with a
+   given name and associated with a given symbol.  */
+
+struct coff_comdat_info
+{
+  /* The name of the symbol associated with a comdat section.  */
+  const char *name;
+
+  /* The local symbol table index of the symbol associated with a
+     comdat section.  This is only meaningful to the object file format
+     specific code; it is not an index into the list returned by
+     bfd_canonicalize_symtab.  */
+  long symbol;
+};
+
+extern struct coff_comdat_info *bfd_coff_get_comdat_section
+  (bfd *, struct bfd_section *);
+
 /* Extracted from init.c.  */
 void bfd_init (void);
 
@@ -842,6 +889,18 @@
 
 bfd *bfd_openstreamr (const char *, const char *, void *);
 
+bfd *bfd_openr_iovec (const char *filename, const char *target,
+    void *(*open) (struct bfd *nbfd,
+    void *open_closure),
+    void *open_closure,
+    file_ptr (*pread) (struct bfd *nbfd,
+    void *stream,
+    void *buf,
+    file_ptr nbytes,
+    file_ptr offset),
+    int (*close) (struct bfd *nbfd,
+    void *stream));
+
 bfd *bfd_openw (const char *filename, const char *target);
 
 bfd_boolean bfd_close (bfd *abfd);
@@ -985,23 +1044,6 @@
 
 /* Extracted from bfdwin.c.  */
 /* Extracted from section.c.  */
-/* This structure is used for a comdat section, as in PE.  A comdat
-   section is associated with a particular symbol.  When the linker
-   sees a comdat section, it keeps only one of the sections with a
-   given name and associated with a given symbol.  */
-
-struct bfd_comdat_info
-{
-  /* The name of the symbol associated with a comdat section.  */
-  const char *name;
-
-  /* The local symbol table index of the symbol associated with a
-     comdat section.  This is only meaningful to the object file format
-     specific code; it is not an index into the list returned by
-     bfd_canonicalize_symtab.  */
-  long symbol;
-};
-
 typedef struct bfd_section
 {
   /* The name of the section; the name isn't a copy, the pointer is
@@ -1036,23 +1078,17 @@
      some relocation information too.  */
 #define SEC_RELOC      0x004
 
-  /* ELF reserves 4 processor specific bits and 8 operating system
-     specific bits in sh_flags; at present we can get away with just
-     one in communicating between the assembler and BFD, but this
-     isn't a good long-term solution.  */
-#define SEC_ARCH_BIT_0 0x008
-
   /* A signal to the OS that the section contains read only data.  */
-#define SEC_READONLY   0x010
+#define SEC_READONLY   0x008
 
   /* The section contains code only.  */
-#define SEC_CODE       0x020
+#define SEC_CODE       0x010
 
   /* The section contains data only.  */
-#define SEC_DATA       0x040
+#define SEC_DATA       0x020
 
   /* The section will reside in ROM.  */
-#define SEC_ROM        0x080
+#define SEC_ROM        0x040
 
   /* The section contains constructor information. This section
      type is used by the linker to create lists of constructors and
@@ -1064,16 +1100,110 @@
      sections called <<__CTOR_LIST__>> and relocate the data
      contained within - exactly the operations it would peform on
      standard data.  */
-#define SEC_CONSTRUCTOR 0x100
+#define SEC_CONSTRUCTOR 0x080
 
   /* The section has contents - a data section could be
      <<SEC_ALLOC>> | <<SEC_HAS_CONTENTS>>; a debug section could be
      <<SEC_HAS_CONTENTS>>  */
-#define SEC_HAS_CONTENTS 0x200
+#define SEC_HAS_CONTENTS 0x100
 
   /* An instruction to the linker to not output the section
      even if it has information which would normally be written.  */
-#define SEC_NEVER_LOAD 0x400
+#define SEC_NEVER_LOAD 0x200
+
+  /* The section contains thread local data.  */
+#define SEC_THREAD_LOCAL 0x400
+
+  /* The section has GOT references.  This flag is only for the
+     linker, and is currently only used by the elf32-hppa back end.
+     It will be set if global offset table references were detected
+     in this section, which indicate to the linker that the section
+     contains PIC code, and must be handled specially when doing a
+     static link.  */
+#define SEC_HAS_GOT_REF 0x800
+
+  /* The section contains common symbols (symbols may be defined
+     multiple times, the value of a symbol is the amount of
+     space it requires, and the largest symbol value is the one
+     used).  Most targets have exactly one of these (which we
+     translate to bfd_com_section_ptr), but ECOFF has two.  */
+#define SEC_IS_COMMON 0x1000



Home | Main Index | Thread Index | Old Index