3 * Makefile.in (do_distclean): Remove config.h and stamp-h.
4 (Makefile): Just rebuild Makefile.
5 (config.h, stamp-h): New targets.
6 * configure.in: Create stamp-h when rebuilding config.h.
11 * configure.in: Call AC_CONFIG_HEADER. Substitute
12 HOST_64BIT_LONG. Check that various header files exist. Check
13 that fcntl exists. Call BFD_BINARY_FOPEN. Check whether malloc
14 and/or free need to be declared. Don't make a link to sysdep.h.
15 Define TRAD_HEADER for various hosts.
17 * configure.host: Don't set my_host. Add definitions taken from
18 host header files for various entries. Remove entries which now
20 * acconfig.h: New file.
21 * config.h.in: New file, built by autoheader.
23 * Makefile.in (do_distclean): Don't remove sysdep.h.
25 (LOCAL_H_DEPS): New variable.
26 ($(BFD_LIBS)): Use $(LOCAL_H_DEPS) rather than libbfd.h and
28 ($(BFD_MACHINES), $(BFD_BACKENDS)): Likewise.
29 ($(OPTIONAL_BACKENDS)): Likewise.
30 (stmp-bfd.h): Just substitute for BFD_HOST_64BIT_LONG, rather than
31 looking through sysdep.h.
32 * bfd-in.h (BFD_HOST_64BIT_LONG): Define; set by Makefile.
33 (BFD_HOST_64_BIT): Define based on BFD_HOST_64BIT_LONG.
34 (fprintf_vma, sprintf_vma): Likewise.
35 (int64_type, uint64_type): Don't define.
37 * archures.c, bfd.c, srec.c: Include <ctype.h>.
38 * elfcore.h: Check HAVE_SYS_PROCFS_H rather than HAVE_PROCFS.
39 * lynx-core.c: Include stuff from old hosts/lynx.h.
40 * opncls.c (bfd_fdopenr): Check HAVE_FNCTL and defined (F_GETFL),
42 * targets.c (bfd_target_list): Check HOST_HPPAHPUX and ! __STDC__
43 rather than NATIVE_HPPAHPUX_COMPILER.
44 * trad-core.c: Don't include <errno.h>. Include TRAD_HEADER if it
46 * hosts/*.h: Remove all header files which merely include,
47 declare, and define things. Leave header files which define
48 information needed by trad-core.c.
50 * aclocal.m4 (BFD_BINARY_FOPEN): Define.
51 (BFD_CC_FOR_BUILD): Define.
52 * configure.in: Use BFD_CC_FOR_BUILD.
57 * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
60 * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value of
65 * config.bfd: i386pe_ve -> i386pe_vec.
69 * configure.host: Incorporate host Makefile fragments by setting
71 * configure.in: Call AC_PROG_CC. Substitute CFLAGS, HDEFINES and
72 AR. Call AC_PROG_INSTALL. Substitute CC_FOR_BUILD, choosing a
73 value based on whether the code is being compiled by a cross
74 compiler. Don't substitute host_makefile_frag or frags.
75 * aclocal.m4: New file to define local AC_PROG_CC.
77 * Makefile.in (INSTALL): Set to @INSTALL@.
78 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
79 (INSTALL_DATA): Set to @INSTALL_DATA@.
82 (CFLAGS): Set to @CFLAGS@.
83 (CC_FOR_BUILD): Set to @CC_FOR_BUILD@.
84 (@host_makefile_frag@): Remove.
85 (ALL_CFLAGS): Change $(HDEFINES) to @HDEFINES@. Move $(CFLAGS)
87 (config.status): Remove dependency upon @frags@.
88 * config/*.mh, config/README: Remove.
90 * config.bfd: Rewrite to incorporate the contents of the Makefile
91 fragments by setting shell variables, rather than merely returning
92 the name of a Makefile fragment.
93 * configure.in: Use shell variables set by config.bfd rather than
94 looking at the target Makefile fragment files. Don't substitute
95 target_makefile_frag. Do substitute TDEFINES.
97 * Makefile.in (@target_makefile_frag@): Remove.
98 (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@.
99 * config/*.mt: Remove.
103 * configure.in: Put changequote lines around "i[345]86" patterns
104 section of core file support.
108 * som.c (som_bfd_print_private_bfd_data): Define to use the
113 * peicode.h (coff_swap_aouthdr_in): Add ImageBase to
114 entry, text_start and data_start.
118 * Makefile.in (OFILES): Remove $(TDEPFILES).
119 * config/apollo.mt (TDEPFILES): Remove.
120 * config/README: Update.
122 * configure.in: For a native configuration, set COREFILE and
123 COREFLAG based on the canonical host name.
124 * configure: Rebuild.
125 * Makefile.in: Rebuild dependencies.
126 (ALL_CFLAGS): Add @COREFLAG@.
127 (OFILES): Replace $(HDEPFILES) with @COREFILE@.
128 * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file
129 support routines. Check LYNX_CORE rather than HOST_LYNX.
130 * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX.
131 * i386lynx.c: Likewise.
132 * m68klynx.c: Likewise.
133 * sparclynx.c: Likewise.
134 * rs6000-core.c: Check AIX_CORE rather than HOST_AIX.
135 * *-core.c: Comment changes.
136 * config/decstation.mh (HDEPFILES): Remove.
137 (HDEFINES): Remove -DTRAD_CORE.
138 * config/irix3.mh (RANLIB): Remove.
139 * config/irix4.mh (HDEPFILES, RANLIB): Remove.
140 (HDEFINES): Remove -DIRIX_CORE.
141 * config/riscos.mh (RANLIB, HDEPFILES): Remove.
142 (HDEFINES): Remove -DTRAD_CORE.
143 * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove.
144 * config/ultra3.mh (RANLIB): Remove.
145 * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove.
146 * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove.
147 * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove.
148 * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove.
149 * config/hppahpux.mh, config/hppaosf.mh: Remove.
150 * config/i386aix.mh, config/i386bsd.mh: Remove.
151 * config/i386linux.mh, config/i386mach3.mh: Remove.
152 * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove.
153 * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove.
154 * config/mipsmach3.mh, config/news-mips.mh: Remove.
155 * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove.
156 * config/rs600.mh, config/rs6000lynx.mh: Remove.
157 * config/solaris2.mh, config/stratus.mh: Remove.
158 * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove.
159 * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove.
163 * elflink.h (elf_bfd_final_link): Don't change a DT_INIT or
164 DT_FINI entry if the appropriate symbol is not in the hash table.
166 * libelf.h (struct elf_backend_data): Add create_program_headers
167 and want_hdr_in_seg fields.
168 * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not
170 (elf_backend_create_program_headers): Likewise.
171 (elfNN_bed): Initialize create_program_headers and
173 * elf.c (get_program_header_size): Call create_program_headers
175 (map_program_segments): Check want_hdr_in_seg backend field. Call
176 create_program_headers backend routine.
178 * elf.c (assign_file_positions_except_relocs): Align non allocated
179 sections when creating an executable.
181 * elfcode.h (elf_swap_phdr_in): Make non static.
182 (elf_swap_phdr_out): Make non static.
183 * libelf.h (bfd_elf32_swap_phdr_in): Declare.
184 (bfd_elf32_swap_phdr_out): Declare.
185 (bfd_elf64_swap_phdr_in): Declare.
186 (bfd_elf64_swap_phdr_out): Declare.
188 * ecofflink.c (ecoff_collect_shuffle): New static function.
189 (_bfd_ecoff_get_accumulated_pdr): New function.
190 (_bfd_ecoff_get_accumulated_sym): New function.
191 (_bfd_ecoff_get_accumulated_ss): New function.
192 * libbfd-in.h (_bfd_ecoff_get_accumulated_pdr): Declare.
193 (_bfd_ecoff_get_accumulated_sym): Declare.
194 (_bfd_ecoff_get_accumulated_ss): Declare.
199 * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): Fix typo.
201 * elflink.h (elf_link_add_object_symbols): Handle indirect and
202 warning symbols. If any section is named .gnu.warning.XXX, treat
203 the contents as a warning to be issued if the symbol XXX is
205 (elf_link_output_extsym): For an indirect or warning symbol, just
206 output the symbol it points to.
208 * linker.c (_bfd_link_hash_newfunc): Don't bother to set bfd_error
209 if bfd_hash_allocate fails, since it will already be set.
210 (generic_link_hash_newfunc): Likewise.
211 (archive_hash_newfunc): Likewise.
212 (hash_entry_bfd): New static function.
213 (_bfd_generic_link_add_one_symbol): Pass new arguments to warning
214 callback. Allocate a new warning using the hash table newfunc.
215 Use bfd_hash_replace to update the entry in the hash table, rather
216 than assuming we can copy the fields with structure assignment.
218 * hash.c (bfd_hash_replace): New function.
219 * bfd-in.h (bfd_hash_replace): Declare.
220 * bfd-in2.h: Rebuild.
224 * config.bfd: Add mips*vr4300-*-elf* target.
225 * config/mipsbvr4300.mt: Added.
234 version-control: never