3 * config.bfd: Rewrite to incorporate the contents of the Makefile
4 fragments by setting shell variables, rather than merely returning
5 the name of a Makefile fragment.
6 * configure.in: Use shell variables set by config.bfd rather than
7 looking at the target Makefile fragment files. Don't substitute
8 target_makefile_frag. Do substitute TDEFINES.
10 * Makefile.in (@target_makefile_frag@): Remove.
11 (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@.
12 * config/*.mt: Remove.
16 * configure.in: Put changequote lines around "i[345]86" patterns
17 section of core file support.
21 * som.c (som_bfd_print_private_bfd_data): Define to use the
26 * peicode.h (coff_swap_aouthdr_in): Add ImageBase to
27 entry, text_start and data_start.
31 * Makefile.in (OFILES): Remove $(TDEPFILES).
32 * config/apollo.mt (TDEPFILES): Remove.
33 * config/README: Update.
35 * configure.in: For a native configuration, set COREFILE and
36 COREFLAG based on the canonical host name.
38 * Makefile.in: Rebuild dependencies.
39 (ALL_CFLAGS): Add @COREFLAG@.
40 (OFILES): Replace $(HDEPFILES) with @COREFILE@.
41 * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file
42 support routines. Check LYNX_CORE rather than HOST_LYNX.
43 * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX.
44 * i386lynx.c: Likewise.
45 * m68klynx.c: Likewise.
46 * sparclynx.c: Likewise.
47 * rs6000-core.c: Check AIX_CORE rather than HOST_AIX.
48 * *-core.c: Comment changes.
49 * config/decstation.mh (HDEPFILES): Remove.
50 (HDEFINES): Remove -DTRAD_CORE.
51 * config/irix3.mh (RANLIB): Remove.
52 * config/irix4.mh (HDEPFILES, RANLIB): Remove.
53 (HDEFINES): Remove -DIRIX_CORE.
54 * config/riscos.mh (RANLIB, HDEPFILES): Remove.
55 (HDEFINES): Remove -DTRAD_CORE.
56 * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove.
57 * config/ultra3.mh (RANLIB): Remove.
58 * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove.
59 * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove.
60 * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove.
61 * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove.
62 * config/hppahpux.mh, config/hppaosf.mh: Remove.
63 * config/i386aix.mh, config/i386bsd.mh: Remove.
64 * config/i386linux.mh, config/i386mach3.mh: Remove.
65 * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove.
66 * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove.
67 * config/mipsmach3.mh, config/news-mips.mh: Remove.
68 * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove.
69 * config/rs600.mh, config/rs6000lynx.mh: Remove.
70 * config/solaris2.mh, config/stratus.mh: Remove.
71 * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove.
72 * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove.
76 * elflink.h (elf_bfd_final_link): Don't change a DT_INIT or
77 DT_FINI entry if the appropriate symbol is not in the hash table.
79 * libelf.h (struct elf_backend_data): Add create_program_headers
80 and want_hdr_in_seg fields.
81 * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not
83 (elf_backend_create_program_headers): Likewise.
84 (elfNN_bed): Initialize create_program_headers and
86 * elf.c (get_program_header_size): Call create_program_headers
88 (map_program_segments): Check want_hdr_in_seg backend field. Call
89 create_program_headers backend routine.
91 * elf.c (assign_file_positions_except_relocs): Align non allocated
92 sections when creating an executable.
94 * elfcode.h (elf_swap_phdr_in): Make non static.
95 (elf_swap_phdr_out): Make non static.
96 * libelf.h (bfd_elf32_swap_phdr_in): Declare.
97 (bfd_elf32_swap_phdr_out): Declare.
98 (bfd_elf64_swap_phdr_in): Declare.
99 (bfd_elf64_swap_phdr_out): Declare.
101 * ecofflink.c (ecoff_collect_shuffle): New static function.
102 (_bfd_ecoff_get_accumulated_pdr): New function.
103 (_bfd_ecoff_get_accumulated_sym): New function.
104 (_bfd_ecoff_get_accumulated_ss): New function.
105 * libbfd-in.h (_bfd_ecoff_get_accumulated_pdr): Declare.
106 (_bfd_ecoff_get_accumulated_sym): Declare.
107 (_bfd_ecoff_get_accumulated_ss): Declare.
112 * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): Fix typo.
114 * elflink.h (elf_link_add_object_symbols): Handle indirect and
115 warning symbols. If any section is named .gnu.warning.XXX, treat
116 the contents as a warning to be issued if the symbol XXX is
118 (elf_link_output_extsym): For an indirect or warning symbol, just
119 output the symbol it points to.
121 * linker.c (_bfd_link_hash_newfunc): Don't bother to set bfd_error
122 if bfd_hash_allocate fails, since it will already be set.
123 (generic_link_hash_newfunc): Likewise.
124 (archive_hash_newfunc): Likewise.
125 (hash_entry_bfd): New static function.
126 (_bfd_generic_link_add_one_symbol): Pass new arguments to warning
127 callback. Allocate a new warning using the hash table newfunc.
128 Use bfd_hash_replace to update the entry in the hash table, rather
129 than assuming we can copy the fields with structure assignment.
131 * hash.c (bfd_hash_replace): New function.
132 * bfd-in.h (bfd_hash_replace): Declare.
133 * bfd-in2.h: Rebuild.
137 * config.bfd: Add mips*vr4300-*-elf* target.
138 * config/mipsbvr4300.mt: Added.
147 version-control: never