* aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
[binutils-gdb.git] / bfd / ChangeLog
1 Tue Sep 5 19:35:28 1995 Ian Lance Taylor <ian@cygnus.com>
2
3 * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
4 * configure: Rebuild.
5
6 * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value of
7 a global symbol.
8
9 Tue Sep 5 12:48:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10
11 * config.bfd: i386pe_ve -> i386pe_vec.
12
13 Mon Sep 4 14:02:43 1995 Ian Lance Taylor <ian@cygnus.com>
14
15 * configure.host: Incorporate host Makefile fragments by setting
16 shell variables.
17 * configure.in: Call AC_PROG_CC. Substitute CFLAGS, HDEFINES and
18 AR. Call AC_PROG_INSTALL. Substitute CC_FOR_BUILD, choosing a
19 value based on whether the code is being compiled by a cross
20 compiler. Don't substitute host_makefile_frag or frags.
21 * aclocal.m4: New file to define local AC_PROG_CC.
22 * configure: Rebuild.
23 * Makefile.in (INSTALL): Set to @INSTALL@.
24 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
25 (INSTALL_DATA): Set to @INSTALL_DATA@.
26 (AR): Set to @AR@.
27 (CC): Define as @CC@.
28 (CFLAGS): Set to @CFLAGS@.
29 (CC_FOR_BUILD): Set to @CC_FOR_BUILD@.
30 (@host_makefile_frag@): Remove.
31 (ALL_CFLAGS): Change $(HDEFINES) to @HDEFINES@. Move $(CFLAGS)
32 after other options.
33 (config.status): Remove dependency upon @frags@.
34 * config/*.mh, config/README: Remove.
35
36 * config.bfd: Rewrite to incorporate the contents of the Makefile
37 fragments by setting shell variables, rather than merely returning
38 the name of a Makefile fragment.
39 * configure.in: Use shell variables set by config.bfd rather than
40 looking at the target Makefile fragment files. Don't substitute
41 target_makefile_frag. Do substitute TDEFINES.
42 * configure: Rebuild.
43 * Makefile.in (@target_makefile_frag@): Remove.
44 (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@.
45 * config/*.mt: Remove.
46
47 Mon Sep 4 03:13:28 1995 Ken Raeburn <raeburn@cygnus.com>
48
49 * configure.in: Put changequote lines around "i[345]86" patterns
50 section of core file support.
51
52 Sun Sep 3 11:31:58 1995 Jeff Law (law@snake.cs.utah.edu)
53
54 * som.c (som_bfd_print_private_bfd_data): Define to use the
55 generic version.
56
57 Fri Sep 1 17:08:40 1995 steve chamberlain <sac@slash.cygnus.com>
58
59 * peicode.h (coff_swap_aouthdr_in): Add ImageBase to
60 entry, text_start and data_start.
61
62 Fri Sep 1 18:06:28 1995 Ian Lance Taylor <ian@cygnus.com>
63
64 * Makefile.in (OFILES): Remove $(TDEPFILES).
65 * config/apollo.mt (TDEPFILES): Remove.
66 * config/README: Update.
67
68 * configure.in: For a native configuration, set COREFILE and
69 COREFLAG based on the canonical host name.
70 * configure: Rebuild.
71 * Makefile.in: Rebuild dependencies.
72 (ALL_CFLAGS): Add @COREFLAG@.
73 (OFILES): Replace $(HDEPFILES) with @COREFILE@.
74 * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file
75 support routines. Check LYNX_CORE rather than HOST_LYNX.
76 * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX.
77 * i386lynx.c: Likewise.
78 * m68klynx.c: Likewise.
79 * sparclynx.c: Likewise.
80 * rs6000-core.c: Check AIX_CORE rather than HOST_AIX.
81 * *-core.c: Comment changes.
82 * config/decstation.mh (HDEPFILES): Remove.
83 (HDEFINES): Remove -DTRAD_CORE.
84 * config/irix3.mh (RANLIB): Remove.
85 * config/irix4.mh (HDEPFILES, RANLIB): Remove.
86 (HDEFINES): Remove -DIRIX_CORE.
87 * config/riscos.mh (RANLIB, HDEPFILES): Remove.
88 (HDEFINES): Remove -DTRAD_CORE.
89 * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove.
90 * config/ultra3.mh (RANLIB): Remove.
91 * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove.
92 * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove.
93 * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove.
94 * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove.
95 * config/hppahpux.mh, config/hppaosf.mh: Remove.
96 * config/i386aix.mh, config/i386bsd.mh: Remove.
97 * config/i386linux.mh, config/i386mach3.mh: Remove.
98 * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove.
99 * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove.
100 * config/mipsmach3.mh, config/news-mips.mh: Remove.
101 * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove.
102 * config/rs600.mh, config/rs6000lynx.mh: Remove.
103 * config/solaris2.mh, config/stratus.mh: Remove.
104 * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove.
105 * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove.
106
107 Fri Sep 1 15:18:50 1995 Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>
108
109 * elflink.h (elf_bfd_final_link): Don't change a DT_INIT or
110 DT_FINI entry if the appropriate symbol is not in the hash table.
111
112 * libelf.h (struct elf_backend_data): Add create_program_headers
113 and want_hdr_in_seg fields.
114 * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not
115 defined.
116 (elf_backend_create_program_headers): Likewise.
117 (elfNN_bed): Initialize create_program_headers and
118 want_hdr_in_seg.
119 * elf.c (get_program_header_size): Call create_program_headers
120 backend routine.
121 (map_program_segments): Check want_hdr_in_seg backend field. Call
122 create_program_headers backend routine.
123
124 * elf.c (assign_file_positions_except_relocs): Align non allocated
125 sections when creating an executable.
126
127 * elfcode.h (elf_swap_phdr_in): Make non static.
128 (elf_swap_phdr_out): Make non static.
129 * libelf.h (bfd_elf32_swap_phdr_in): Declare.
130 (bfd_elf32_swap_phdr_out): Declare.
131 (bfd_elf64_swap_phdr_in): Declare.
132 (bfd_elf64_swap_phdr_out): Declare.
133
134 * ecofflink.c (ecoff_collect_shuffle): New static function.
135 (_bfd_ecoff_get_accumulated_pdr): New function.
136 (_bfd_ecoff_get_accumulated_sym): New function.
137 (_bfd_ecoff_get_accumulated_ss): New function.
138 * libbfd-in.h (_bfd_ecoff_get_accumulated_pdr): Declare.
139 (_bfd_ecoff_get_accumulated_sym): Declare.
140 (_bfd_ecoff_get_accumulated_ss): Declare.
141 * libbfd.h: Rebuild.
142
143 Fri Sep 1 13:20:25 1995 Ian Lance Taylor <ian@cygnus.com>
144
145 * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): Fix typo.
146
147 * elflink.h (elf_link_add_object_symbols): Handle indirect and
148 warning symbols. If any section is named .gnu.warning.XXX, treat
149 the contents as a warning to be issued if the symbol XXX is
150 referenced.
151 (elf_link_output_extsym): For an indirect or warning symbol, just
152 output the symbol it points to.
153
154 * linker.c (_bfd_link_hash_newfunc): Don't bother to set bfd_error
155 if bfd_hash_allocate fails, since it will already be set.
156 (generic_link_hash_newfunc): Likewise.
157 (archive_hash_newfunc): Likewise.
158 (hash_entry_bfd): New static function.
159 (_bfd_generic_link_add_one_symbol): Pass new arguments to warning
160 callback. Allocate a new warning using the hash table newfunc.
161 Use bfd_hash_replace to update the entry in the hash table, rather
162 than assuming we can copy the fields with structure assignment.
163
164 * hash.c (bfd_hash_replace): New function.
165 * bfd-in.h (bfd_hash_replace): Declare.
166 * bfd-in2.h: Rebuild.
167
168 Fri Sep 1 08:12:50 1995 James G. Smith <jsmith@beauty.cygnus.com>
169
170 * config.bfd: Add mips*vr4300-*-elf* target.
171 * config/mipsbvr4300.mt: Added.
172
173 See file ChangeLog.2
174
175 \f
176 Local Variables:
177 mode: indented-text
178 left-margin: 8
179 fill-column: 74
180 version-control: never
181 End: