Commit | Line | Data |
---|---|---|
019148e4 L |
1 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
2 | ||
3 | * readelf.c (get_dynamic_type): Change "AUXILARY" to | |
4 | "AUXILIARY". | |
5 | (process_dynamic_segment): Print out strings for DT_CONFIG, | |
6 | DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH. | |
7 | ||
b56f55ce NC |
8 | 2000-07-19 Mark Kettenis <kettenis@gnu.org> |
9 | ||
10 | * nm.c (usage): Change output of `nm --help' to include a | |
11 | description of the purpose of the program and a detailed | |
12 | description of the accepted options. | |
13 | ||
f7db6139 L |
14 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
15 | ||
16 | * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB | |
17 | to DF_1_NODEFLIB. | |
18 | ||
05107a46 L |
19 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
20 | ||
21 | * readelf.c (get_dynamic_type): Fix DT_CHECKSUM. | |
22 | ||
dcefbbbd L |
23 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
24 | ||
25 | * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to | |
26 | DT_FEATURE. | |
27 | (process_dynamic_segment): Likewise. | |
28 | ||
29 | * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT, | |
30 | DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM. | |
31 | (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB, | |
32 | DF_1_NODUMP and DF_1_CONLFAT. | |
33 | ||
6dbb55b6 NC |
34 | 2000-07-18 Nick Clifton <nickc@cygnus.com> |
35 | ||
36 | * binutils.texi (readelf): Fix spelling typo. | |
37 | ||
86d65c94 MK |
38 | 2000-07-11 Mark Kettenis <kettenis@gnu.org> |
39 | ||
40 | * objdump.c (usage): Make output of `objdump --help' more | |
41 | consistent with the rest of the GNU world. Add a line describing | |
42 | the purpose of the program. | |
43 | ||
3c9f43b1 AM |
44 | 2000-07-10 David Huggins-Daines <dhd@linuxcare.com> |
45 | ||
46 | * stabs.c (parse_stab_range_type): Cast to proper type to fix | |
47 | warning. | |
48 | ||
49 | 2000-07-10 Ryan Bradetich <rbradetich@uswest.net> | |
50 | ||
51 | * readelf.c (get_dynamic_data): Add casts and use unsigned chars | |
52 | to fix warnings. | |
53 | (process_symbol_table): Ditto. | |
54 | (procesS_extended_line_op): Ditto. | |
55 | (display_debug_lines): Ditto. | |
56 | (display_debug_pubnames): Ditto. | |
57 | (read_and_display_attr): Ditto. | |
58 | ||
3316ae25 NC |
59 | 2000-07-09 Nick Clifton <nickc@cygnus.com> |
60 | ||
61 | * MAINTAINERS: Add several more port specific maintainers. | |
62 | ||
68dcecab NC |
63 | 2000-07-05 Nick Clifton <nickc@cygnus.com> |
64 | ||
65 | * MAINTAINERS: Add blanket write privs for Michael Meissner. | |
66 | ||
302ab118 DD |
67 | 2000-06-05 DJ Delorie <dj@redhat.com> |
68 | ||
68dcecab | 69 | * MAINTAINERS: New. |
302ab118 | 70 | |
7f143ac1 DD |
71 | 2000-07-01 Eric Fifer <EFifer@sanwaint.com> |
72 | ||
73 | * dllwrap.c: Changed mistaken dyn_string_append() calls | |
74 | to dyn_string_append_cstr(). | |
75 | ||
944e5c61 AM |
76 | 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com> |
77 | ||
78 | * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils | |
79 | struct debug_type stores size in bytes. | |
80 | ||
0bdaf48b AM |
81 | 2000-07-01 Alan Modra <alan@linuxcare.com.au> |
82 | ||
83 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed | |
84 | (CLEANFILES): Add DEPA. | |
85 | * Makefile.in: Regenerate. | |
86 | ||
a0c0ddf7 AM |
87 | 2000-06-27 Alan Modra <alan@linuxcare.com.au> |
88 | ||
89 | * ar.c: Revert incorrect 2000-06-25 patch. | |
90 | * bucomm.c: Likewise. | |
91 | ||
05c58a7c NC |
92 | 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com> |
93 | ||
94 | * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external. | |
95 | (external_coff_symbol_p): New function. | |
96 | (parse_coff): Use it. | |
97 | ||
307ff1df NC |
98 | 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com> |
99 | ||
100 | * ar.c (normalize): Advance past both characters in a DOS based | |
101 | <letter>: filepath prefix. | |
102 | (main): Likewise. | |
103 | * bucomm.c (make_tempname): Likewise. | |
104 | ||
d1cdf501 NC |
105 | 2000-06-24 Nick Clifton <nickc@cygnus.com> |
106 | ||
107 | * objdump.c (usage): Fix description of --stabs switch. | |
108 | ||
6d5be915 AM |
109 | 2000-06-22 Alan Modra <alan@linuxcare.com.au> |
110 | ||
111 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we | |
112 | find one. | |
113 | * Makefile.in: Regenerate. | |
114 | ||
2ab47eed AM |
115 | 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com> |
116 | ||
117 | * ar.c (normalize): Correct pointer comparison when checking for | |
118 | backslashes. | |
119 | (main): Likewise. | |
120 | * bucomm.c (make_tempname): Likewise. | |
121 | ||
122 | * ieee.c (ieee_start_compilation_unit): Correct pointer comparison | |
123 | and search for backslashes in the original pathname. | |
124 | (ieee_add_bb11): Likewise. | |
125 | ||
58781cd0 NC |
126 | 2000-06-18 Nick Clifton <nickc@redhat.com> |
127 | ||
128 | * ar.c (print_contents): Improve verbose message. | |
129 | ||
0724d64b L |
130 | 2000-06-15 H.J. Lu <hjl@gnu.org> |
131 | ||
132 | * dyn-string.c: Removed. Not needed with dyn-string.c in | |
133 | libiberty. | |
134 | * dyn-string.h: Likewise. | |
135 | ||
136 | * Makefile.am: Remove references to dyn-string.c and | |
137 | dyn-string.h. Rebuild dependency. | |
138 | * Makefile.in: Rebuild. | |
139 | ||
ccd13d18 L |
140 | 2000-06-15 H.J. Lu <hjl@gnu.org> |
141 | ||
142 | * binutils.texi: Put a warning on copying relocatable object | |
143 | files between two different formats. | |
144 | ||
2104a50e DD |
145 | 2000-06-13 DJ Delorie <dj@cygnus.com> |
146 | ||
147 | * rcparse.y (control): ICON controls take an id as the first | |
148 | parameter, not an optional string. Also, call new convenience | |
149 | function that takes res_id's. | |
150 | * resrc.c (define_control): missing text means zero-length string, | |
151 | not zero ID. | |
152 | (define_icon_control): New. | |
153 | * windres.h: declare define_icon_control. | |
154 | ||
bcef29e6 L |
155 | 2000-06-13 H.J. Lu <hjl@gnu.org> |
156 | ||
157 | * configure: Regenerate. | |
158 | ||
946efd95 DB |
159 | 2000-06-08 David O'Brien <obrien@FreeBSD.org> |
160 | ||
161 | * configure.in (VERSION): Update to show this is the CVS mainline. | |
162 | ||
6b3bf560 DB |
163 | 2000-06-02 David O'Brien <obrien@FreeBSD.org> |
164 | ||
165 | * strings.c (isgraphic): Interpret <TAB> as a printable character, | |
166 | analogous to <SPACE>. | |
167 | ||
fb101ead AM |
168 | 2000-05-30 Alan Modra <alan@linuxcare.com.au> |
169 | ||
170 | * objdump.c (display_target_list): Use bfd_close_all_done, not | |
171 | bfd_close to fix crash caused by 2000-05-24 change. | |
172 | ||
3b35ec75 DD |
173 | 2000-05-25 DJ Delorie <dj@cygnus.com> |
174 | ||
175 | * resrc.c (close_input_stream): zero out cpp_pipe after closing it. | |
176 | ||
2114f57b AM |
177 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
178 | ||
179 | * Makefile.am: Update dependencies with "make dep-am" | |
180 | * Makefile.in: Regenerate. | |
181 | ||
5af11cab AM |
182 | 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> |
183 | ||
184 | * ar.c: Include filenames.h. | |
185 | (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes | |
186 | and drive letters in file names. | |
187 | (main): Support backslashes and drive letters in argv[0]. Drop | |
188 | the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use | |
189 | FILENAME_CMP instead of strcmp to compare file names. | |
190 | (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for | |
191 | DJGPP v2. | |
192 | (do_quick_append) [__GO32__]: Ditto. | |
193 | (get_pos_bfd, delete_members, move_members, replace_members): | |
194 | Compare file names with FILENAME_CMP. | |
195 | ||
196 | * bucomm.c: Include filenames.h. | |
197 | (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed | |
198 | forward/backward slashes and drive letters in file names. | |
199 | ||
200 | * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support | |
201 | mixed forward/backward slashes and drive letters in file names. | |
202 | ||
203 | * strings.c (O_BINARY, setmode, SET_BINARY): Define. | |
204 | (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary | |
205 | mode. | |
206 | ||
207 | * objcopy.c: Include filenames.h. | |
208 | (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix | |
209 | before comparing to "strip". | |
210 | Use FILENAME_CMP to compare file names. | |
211 | ||
212 | * arsup.c: Include filenames.h. | |
213 | (map_over_list, ar_delete, ar_replace, ar_extract): Use | |
214 | FILENAME_CMP to compare file names. | |
215 | (ar_open): Prepend "tmp-" instead of appending "-tmp", to create | |
216 | the temporary file name. | |
217 | ||
218 | * configure.in: Check for setmode. | |
219 | * configure: Regenerate. | |
220 | ||
f190c5c4 AM |
221 | 2000-05-24 Alan Modra <alan@linuxcare.com.au> |
222 | ||
223 | * objdump.c (display_target_list): Close the bfd. | |
224 | (display_info_table): Likewise. | |
225 | ||
d8121479 L |
226 | 2000-05-14 H.J. Lu (hjl@gnu.org) |
227 | ||
228 | * objcopy.c (filter_symbols): Don't strip global symbols in | |
229 | relocatable object files. | |
230 | ||
e3a69612 AM |
231 | 2000-05-14 Alan Modra <alan@linuxcare.com.au> |
232 | ||
233 | * size.c (usage): Associate short options with corresponding long | |
234 | option to give a clue as to their function. | |
235 | ||
236 | 2000-05-14 Philippe De Muyter <phdm@macqel.be> | |
237 | ||
238 | * size.c (main): Accept and ignore `-f' option. | |
239 | ||
897083bd AM |
240 | 2000-05-13 Alan Modra <alan@linuxcare.com.au> |
241 | ||
242 | * bucomm.h (gettext, dgettext, dcgettext, textdomain, | |
243 | bindtextdomain): Replace defines with those from intl/libgettext.h | |
244 | to quieten gcc warnings. | |
245 | ||
5ee1baa2 L |
246 | 2000-05-12 H.J. Lu <hjl@gnu.org> |
247 | ||
248 | * nlmconv.c (temp_filename): Removed. | |
249 | ||
250 | * nlmconv.c (link_inputs): Use make_temp_file () instead of | |
251 | choose_temp_base (). | |
252 | * objdump.c (display_target_list): Likewise. | |
253 | (display_info_table): Likewise. | |
254 | ||
1a89cc7d AM |
255 | 2000-05-08 Alan Modra <alan@linuxcare.com.au> |
256 | ||
257 | * objcopy.c (setup_section): Add const and gettext calls for err. | |
258 | ||
146243a7 L |
259 | 2000-05-02 H.J. Lu <hjl@gnu.org> |
260 | ||
261 | * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of | |
262 | ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD, | |
263 | ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX, | |
264 | ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO | |
265 | and ELFOSABI_OPENBSD. | |
266 | ||
0f371bb4 AM |
267 | 2000-05-02 Kazu Hirata <kazu@hxi.com> |
268 | ||
269 | * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate. | |
270 | * srconv.c: Likewise. | |
271 | * sysdump.c: Likewise. | |
272 | ||
dff14200 DC |
273 | Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru> |
274 | ||
275 | * readelf.c (guess_is_rela): AVR uses RELA relocations. | |
276 | (get_machine_name): machine name for EM_AVR added. | |
277 | ||
800eeca4 JW |
278 | Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com> |
279 | David Mosberger <davidm@hpl.hp.com> | |
280 | ||
281 | * Makefile.am (readelf.o): Add elf/ia64.h. | |
282 | * Makefile.in: Rebuild. | |
283 | * readelf.c: Include elf/ia64.h. | |
284 | (guess_is_rela, dump_relocations): Handle EM_IA_64. | |
285 | ||
ea584125 TW |
286 | 2000-04-17 Timothy Wall <twall@cygnus.com> |
287 | ||
288 | * objdump.c (disassemble_data): Set octets per byte *after* | |
289 | resolving arch/mach for binary files. | |
290 | ||
12ff5d56 AM |
291 | 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
292 | ||
293 | * arlex.l: Add directives to increase lex buffer size. | |
294 | ||
295 | * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are | |
296 | already included by bucomm.h. | |
297 | ||
50da7a9c NC |
298 | 2000-04-10 Philippe De Muyter <phdm@macqel.be> |
299 | ||
300 | * readelf (dynamic_segment_mips_val): Call `sprintf', not | |
301 | `strftime' since strftime is not available on all systems. | |
302 | (process_mips_specific): Ditto. | |
303 | ||
a2d91340 AC |
304 | Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com> |
305 | ||
306 | * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add | |
307 | --enable-build-warnings option. | |
308 | * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. | |
309 | * Makefile.in, configure: Re-generate. | |
310 | ||
37cc8ec1 AM |
311 | 2000-04-06 Alan Modra <alan@linuxcare.com.au> |
312 | ||
313 | * addr2line.c: Update copyright. | |
314 | * objcopy.1: Likewise, and title. | |
315 | * strings.1: Likewise. | |
316 | ||
317 | * version.c (print_version): Add 2000. | |
318 | ||
319 | * rddbg.c (read_section_stabs_debugging_info): Don't use | |
320 | bfd_size_type for strx to avoid printf problems if BFD64. | |
321 | ||
322 | * bucomm.c: (report): Remove `static'. | |
323 | Move inclusion of stdarg.h/vararg.h from here. | |
324 | * bucomm.h: To here. | |
325 | (CONST): Change all occurences to const. | |
326 | (report): Declare it. | |
327 | (bfd_fatal): Add ATTRIBUTE_NORETURN. | |
328 | (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN. | |
329 | (non_fatal): Add ATTRIBUTE_PRINTF_1. | |
330 | ||
331 | * ar.c (main): Use fatal or non_fatal instead of fprintf. | |
332 | Correct a typo in an error message. | |
333 | (do_quick_append): Use non_fatal instead of fprintf. | |
334 | (move_members): Use fatal instead of fprintf, exit. | |
335 | * coffdump.c (main): Same here. | |
336 | ||
337 | * dlltool.c (display): Delete. | |
338 | (warn): Delete. | |
339 | (inform): Use `report' instead of `display'. | |
340 | (rvaafter): Remove trailing \n from fatal error msg. | |
341 | (rvabefore): Ditto. | |
342 | (asm_prefix): Ditto. | |
343 | (yyerror): Replace `warn' with `non_fatal', and remove \n. | |
344 | (def_name): Likewise. | |
345 | (run): Likewise. | |
346 | (scan_all_symbols): Likewise. | |
347 | (gen_lib_file): Likewise. | |
348 | (def_library): Likewise. Remove extra program_name too. | |
349 | (run): Remove \n from inform strings. | |
350 | (scan_drectve_symbols): Likewise. | |
351 | (add_excludes): Likewise. | |
352 | (scan_open_obj_file): Likewise. | |
353 | (gen_exp_file): Likewise. | |
354 | (gen_lib_file): Likewise. | |
355 | (process_duplicates): Likewise. | |
356 | ||
357 | * Makefile.am (dllwrap_SOURCES): Add version.c. | |
358 | * dllwrap.c (program_version): Delete. | |
359 | (print_version): Delete. | |
360 | (display): Always print trailing \n. | |
361 | (warn): New. | |
362 | (delete_temp_files): Use warn instead of fprintf. Use gettext. | |
363 | (run): Here too. | |
364 | (main): And here. | |
365 | (usage): gettext'ify. | |
366 | (long_options): Add missing initialisers. | |
367 | ||
368 | * nlmconv.c (main): Use fatal/non_fatal instead of fprintf. | |
369 | (select_output_format): Likewise. | |
370 | (powerpc_mangle_relocs): Likewise. | |
371 | (link_inputs): Likewise. | |
372 | ||
373 | * nm.c (set_print_radix): Use fatal instead of fprintf, exit. | |
374 | (set_output_format): Likewise. | |
375 | (main): Use non_fatal instead of fprintf. | |
376 | (display_rel_file): Likewise. | |
377 | ||
378 | * objdump.c (slurp_symtab): Use non_fatal instead of fprintf. | |
379 | (slurp_dynamic_symtab): Same here. | |
380 | (disassemble_data): And here. | |
381 | (read_section_stabs): And here. | |
382 | (read_section_stabs): And here. | |
383 | (dump_bfd): And here. | |
384 | (main): And here. | |
385 | (objdump_sprintf): Use fatal instead of fprintf, exit. | |
386 | (disassemble_data): Same here. | |
387 | ||
388 | * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf. | |
389 | (parse_coff_struct_type): Same here. | |
390 | (parse_coff_enum_type): And here. | |
391 | (parse_coff): And here. | |
392 | * rddbg.c (read_debugging_info): And here. | |
393 | * size.c (main): And here. | |
394 | * windres.c (format_from_name): And here. | |
395 | * wrstabs.c (stab_write_symbol): Here too. | |
396 | (write_stabs_in_sections_debugging_info): And here. | |
397 | (stab_int_type): And here. | |
398 | (stab_struct_field): And here. | |
399 | (stab_typdef): And here. | |
400 | ||
401 | * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit. | |
402 | * srconv.c (main): Same here. | |
403 | * strings.c (main): And here. | |
404 | (integer_arg): And here. | |
405 | * sysdump.c (main): And here. | |
406 | ||
34cbe64e TW |
407 | 2000-04-06 Timothy Wall <twall@cygnus.com> |
408 | ||
409 | * objdump.c (dump_section_header): Print CLINK and BLOCK flags. | |
410 | ||
eb6bd4d3 JM |
411 | 2000-04-06 Jason Merrill <jason@yorick.cygnus.com> |
412 | ||
413 | * readelf.c (decode_location_expression): Loop through multiple | |
414 | operations. | |
415 | (read_and_display_attr): Pass in length. | |
1fa37306 JM |
416 | |
417 | * readelf.c (read_and_display_attr): Add CU offset to references. | |
418 | (display_debug_info): Pass it in. | |
419 | ||
f3485b74 NC |
420 | 2000-04-06 Nick Clifton <nickc@cygnus.com> |
421 | ||
422 | * readelf.c (decode_ARM_machine_flags): New function. | |
423 | (get_machine_flags): Call decode_ARM_machine_flags for ARM | |
424 | targets. | |
5f8a9d91 NC |
425 | |
426 | (get_machine_name): Catch EM_AVR | |
f3485b74 | 427 | |
57938635 AM |
428 | 2000-04-05 Alan Modra <alan@linuxcare.com.au> |
429 | ||
430 | * binutils.texi: Remove optional `=' from long options that have | |
431 | an `=' in the argument. | |
432 | * objcopy.1: Here too. Remove extra space on discard-all. | |
433 | ||
434 | * binutils.texi (objcopy): Mention --redefine-sym. | |
435 | * objcopy.1: Here too. | |
436 | * NEWS: And here. | |
437 | ||
438 | * objcopy.c (parse_flags): Split off flag names from error message | |
439 | gettext as they are not translated. | |
440 | (copy_main): Similarly split off option name for --add-section, | |
441 | --set-section-flags, --change-section-vma, --change-section-lma | |
442 | error messages. | |
443 | Some white space changes. | |
444 | ||
445 | from Matthew Benjamin <matt@linuxbox.nu> | |
446 | * objcopy.c (struct redefine_node): New. | |
447 | (redefine_sym_list): New. | |
448 | (redefine_list_append): New. | |
449 | (lookup_sym_redefinition): New. | |
450 | (OPTION_REDEFINE_SYM): New. | |
451 | (copy_options): Add --redefine-sym option. | |
452 | (copy_usage): Mention it. | |
453 | (filter_symbols): Rename symbols on redefine_sym_list. | |
454 | (copy_object): Call filter_symbols if redefine_sym_list != NULL. | |
455 | (copy_main): Handle OPTION_REDEFINE_SYM. | |
456 | ||
dd27201e L |
457 | 2000-04-04 H.J. Lu <hjl@gnu.org> |
458 | ||
459 | * readelf.c (process_symbol_table): Correctly read in symbol | |
460 | versioning information. | |
461 | ||
41b49281 AM |
462 | 2000-04-04 Alan Modra <alan@linuxcare.com.au> |
463 | ||
8ad3436c AM |
464 | * po/binutils.pot: Regenerate. |
465 | ||
466 | * addr2line.c (usage): Restore translated part of bug string. | |
467 | * ar.c (usage): Likewise. | |
468 | * nlmconv.c (show_usage): Likewise. | |
469 | * nm.c (usage): Likewise. | |
470 | * objcopy.c (copy_usage): Likewise. | |
471 | (strip_usage): Likewise. | |
472 | * objdump.c (usage): Likewise. | |
473 | * readelf.c (usage): Likewise. | |
474 | * size.c (usage): Likewise. | |
475 | * strings.c (usage): Likewise. | |
476 | * windres.c (usage): Likewise. | |
477 | ||
41b49281 AM |
478 | * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. |
479 | (DEP): Quote when passing vars to sub-make. Add warning | |
480 | message to end. | |
481 | (DEP1): Rewrite for "gcc -MM". | |
482 | (CLEANFILES): Add DEP2. | |
483 | Update dependencies. | |
484 | * Makefile.in: Regenerate. | |
485 | ||
486 | 2000-04-04 H.J. Lu <hjl@gnu.org> | |
487 | ||
488 | * Makefile.am (GENERATED_HFILES): Add rcparse.h | |
489 | (arparse.h): Depend on arparse.c | |
490 | (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly. | |
491 | ||
a9273d78 L |
492 | 2000-04-03 H.J. Lu (hjl@gnu.org) |
493 | ||
494 | * size.c (usage): Use REPORT_BUGS_TO. | |
495 | ||
c20f4f8c AM |
496 | 2000-04-03 Alan Modra <alan@linuxcare.com.au> |
497 | ||
498 | * bucomm.h: #include "bin-bugs.h" | |
499 | * addr2line.c (usage): Use REPORT_BUGS_TO. | |
500 | * ar.c (usage): Likewise. | |
501 | * nlmconv.c (show_usage): Likewise. | |
502 | * nm.c (usage): Likewise. | |
503 | (OPTION_TARGET): Define. | |
504 | (long_options): Use OPTION_TARGET rather than 200. | |
505 | (main): Likewise. | |
506 | ||
41b49281 | 507 | * objcopy.c (copy_usage): Use REPORT_BUGS_TO. |
c20f4f8c AM |
508 | (strip_usage): Likewise. |
509 | * objdump.c (usage): Likewise. | |
510 | * readelf.c (usage): Likewise. | |
511 | * strings.c (usage): Likewise. | |
512 | * windres.c (usage): Likewise. | |
513 | ||
00ed88bd AM |
514 | 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
515 | ||
516 | * readelf.c: Include sys/types.h before sys/stat.h for ultrix. | |
517 | ||
3b7aaf81 NC |
518 | 2000-03-27 Nick Clifton <nickc@cygnus.com> |
519 | ||
520 | * rddbg.c (read_section_stabs_debugging_info): Catch out of range | |
521 | string offsets in corrupt stabs entries. | |
522 | ||
c20f4f8c | 523 | 2000-03-27 Alan Modra <alan@linuxcare.com.au> |
adde6300 AM |
524 | |
525 | * readelf.c: Include elf/avr.h | |
526 | (dump_relocations): Add EM_AVR case. | |
527 | ||
fd5ccd47 PB |
528 | 2000-03-09 Tim Waugh <twaugh@redhat.com> |
529 | ||
530 | * strings.1: Correct '-bytes' to '--bytes'. | |
531 | ||
9c28aef3 L |
532 | 2000-03-08 H.J. Lu <hjl@gnu.org> |
533 | ||
534 | * Makefile.am (install-exec-local): Depend on | |
535 | install-binPROGRAMS for parallel make. | |
536 | * Makefile.in: Regenerated. | |
537 | ||
e699b9ff ILT |
538 | 2000-02-27 Ian Lance Taylor <ian@zembu.com> |
539 | ||
540 | From Brad Lucier <lucier@math.purdue.edu>: | |
541 | * readelf.c (process_dynamic_segment): Add cast to make sure | |
542 | argument to %* is int. | |
543 | ||
2f79b725 L |
544 | 2000-02-25 H.J. Lu <hjl@gnu.org> |
545 | ||
07735828 | 546 | * configure.in (AC_SEARCH_LIBS): Pass m, not -lm. |
2f79b725 | 547 | |
8a0e0f38 NC |
548 | 2000-02-24 Nick Clifton <nickc@cygnus.com> |
549 | ||
550 | * configure.in: Add arm-wince, mips-pe and sh-pe targets. | |
551 | * configure: Regenerate. | |
552 | ||
553 | * dlltoolc.: Add support for sh-pe and mips-pe targets. | |
554 | * rescoff.c: Add support for sh-pe and mips-pe targets. | |
555 | ||
1ce6cb43 AM |
556 | 2000-02-23 H.J. Lu <hjl@gnu.org> |
557 | ||
558 | * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX. | |
559 | ||
ca47b30c NC |
560 | 2000-02-22 Nick Clifton <nickc@cygnus.com> |
561 | ||
562 | * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER. | |
563 | ||
16062207 ILT |
564 | 2000-02-22 Ian Lance Taylor <ian@zembu.com> |
565 | ||
566 | From Brad Lucier <lucier@math.purdue.edu>: | |
567 | * readelf.c (process_version_sections): Add casts to make sure | |
568 | argument to %* is an int. | |
569 | (process_mips_specific): Add casts to make printf arguments match | |
570 | format. | |
571 | ||
f6af82bd AM |
572 | 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> |
573 | ||
574 | * objdump.c (dump_section_header): Change `opb' to unsigned. | |
575 | (find_symbol_for_address): Same here. | |
576 | (disassemble_data): And here. Change `addr_offset', | |
577 | `stop_offset', `nextstop_offset' to unsigned long. | |
578 | (dump_data): Change opb to unsigned. | |
579 | ||
278d4456 FCE |
580 | 2000-02-18 Frank Ch. Eigler <fche@redhat.com> |
581 | ||
582 | * resrc.c: Remove unmatched #if for cygwin. | |
583 | ||
0fff8110 FN |
584 | 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com> |
585 | ||
586 | * binutils.texi: Document the change of flavor name from atpcs-special | |
587 | to special-atpcs to prevent name conflict in gdb. | |
588 | ||
f1563258 TW |
589 | 2000-02-08 Timothy Wall <twall@redhat.com> |
590 | ||
591 | * objdump.c (show_line): Fix bug preventing printing of the very | |
592 | first line (line zero) of a file when interlisting source and | |
593 | assembly. Added option to print entire context from start of file | |
594 | when the first line from that file is encountered. | |
595 | ||
940b2b78 TW |
596 | 2000-02-03 Timothy Wall <twall@redhat.com> |
597 | ||
598 | * binutils/objdump.c (dump_section_header, find_symbol_for_address, | |
599 | show_line, disassemble_bytes, disassemble_data, dump_data): | |
600 | distinguish between octets and bytes. | |
601 | ||
5cae921e | 602 | 2000-01-27 Thomas de Lellis <tdel@windriver.com> |
fad6fcbb NC |
603 | |
604 | * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to | |
605 | check to unresolved symbols. | |
606 | (print_symbol_info_sysv): Ditto. | |
607 | (print_symbol_info_posix): Ditto. | |
608 | ||
609 | * binutils.texi: Document new 'V' symclass flag for nm. | |
610 | ||
94470b23 NC |
611 | 2000-01-27 Nick Clifton <nickc@redhat.com> |
612 | ||
58efb6c0 NC |
613 | * binutils.texi (objdump): Document new ARM specific |
614 | disassembler options. | |
615 | ||
94470b23 NC |
616 | * objdump.c (usage): Call disassembler_usage(). |
617 | ||
305c7206 AM |
618 | 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> |
619 | ||
620 | * readelf.c (get_dynamic_flags): Return buff. | |
621 | (process_dynamic_segment): Don't pass error strings to printf | |
622 | as format arg. | |
623 | (read_and_display_attr): Use lx and ld to print longs. | |
624 | (process_corefile_note_segment): Cast bfd_vma to unsigned long | |
625 | before printing. | |
626 | Update copyright. | |
627 | ||
67a95c88 NC |
628 | 2000-01-17 Nick Clifton <nickc@cygnus.com> |
629 | ||
630 | * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM. | |
631 | ||
3dceb55b AM |
632 | 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au> |
633 | ||
634 | * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than | |
635 | false. | |
636 | (debug_tag_type): Here too. | |
637 | * ieee.c (ieee_builtin_type): And here. | |
638 | * stabs.c (parse_stab_type, parse_stab_array_type): And here. | |
639 | ||
a7c8f90e NC |
640 | 2000-01-13 Nick Clifton <nickc@cygnus.com> |
641 | ||
642 | * readelf.c (get_machine_name): Change EM_S370 to return "IBM | |
643 | System/370". | |
644 | ||
2d0e6f43 NC |
645 | 2000-01-11 Nick Clifton <nickc@cygnus.com> |
646 | ||
647 | * readelf.c (get_dynamic_type): Remove DT_ENCODING. | |
648 | ||
7bea2f73 NC |
649 | 2000-01-10 Nick Clifton <nickc@cygnus.com> |
650 | ||
651 | * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes. | |
652 | ||
5a298d2d NC |
653 | 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu> |
654 | ||
655 | * windres.c (long_options): Add --use-temp-file and | |
656 | --no-use-temp-file options. | |
657 | (usage): Document. | |
658 | (main): Handle. | |
659 | ||
660 | * windres.h: Update read_rc_file prototype. | |
661 | ||
662 | * resrc.c (cpp_temp_file): New static variable. | |
663 | (istream_type): New static variable. | |
664 | (close_pipe): Delete function. | |
665 | (run_cmd): New static function. | |
666 | (open_input_stream): New static function. | |
667 | (close_input_stream): New static function. | |
668 | (look_for_default): Handle DOS directory separator. Use | |
669 | open_input_stream instead of popen. | |
670 | (read_rc_file): Likewise. | |
671 | ||
672 | * binutils.texi: Document --use-temp-file, --no-use-temp-file | |
673 | options. | |
674 | ||
5f0f29c3 NC |
675 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
676 | ||
677 | * dlltool.c (create_compat_implib): New variable. | |
678 | (gen_exp_file): Use. | |
679 | (make_one_lib_file): Use. | |
680 | (long_options): Add --compat-implib option. | |
681 | (usage): Handle. | |
682 | (main): Handle. | |
683 | ||
087f88b2 NC |
684 | * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET. |
685 | (main): Use. Don't look for "32" in cygwin and mingw target names. | |
686 | ||
8f915f68 NC |
687 | 2000-01-03 Nick Clifton <nickc@cygnus.com> |
688 | ||
689 | * binutils.texi: Document new, ARM specific disassembler | |
690 | command line switch "-M force-thumb". | |
691 | ||
d1133906 NC |
692 | 1999-12-28 Nick Clifton <nickc@cygnus.com> |
693 | ||
694 | * readelf.c: Update with new constants added by Oct 4, 1999 | |
695 | ELF ABI draft. | |
696 | (guess_is_rela): Add new machine codes, but leave | |
697 | rel type undetermined. | |
698 | (get_machine_name): Add new machine codes. | |
699 | (get_section_type_name): Add new section types. | |
590a2450 | 700 | (get_elf_section_flags): New function: Decode section flags. |
d1133906 NC |
701 | (process_section_headers): Call get_elf_section_flags() in |
702 | order to decode flags in section header. | |
703 | (get_dynamic_flags): New function: Decode dynamic section | |
704 | flags. | |
705 | (process_dynamic_section): Display flags (if present). | |
706 | (get_symbol_type): Add STT_COMMON. | |
707 | (get_symbol_visibility): New function: Decode a symbol's | |
708 | visibility. | |
709 | (process_symbol_table): Call get_symbol_visibility(). | |
710 | (get_note_type): Add NT_PRXFPREGS. | |
711 | ||
221f77a9 ILT |
712 | 1999-12-26 Ian Lance Taylor <ian@zembu.com> |
713 | ||
714 | * strings.c (main): Correct handling of numeric argument. | |
715 | ||
893addd8 AH |
716 | 1999-12-23 Andrew Haley <aph@cygnus.com> |
717 | ||
718 | * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the | |
719 | jtab; was 8. | |
720 | ||
5ea695ed NC |
721 | 1999-12-17 Nick Clifton <nickc@cygnus.com> |
722 | ||
723 | * dlltool.c (mtable): Stop compile time warnings about missing | |
724 | initialisers. | |
725 | (yyerror): Stop compile time warnings about unused paramater. | |
726 | (INIT_SEC_DATA): New macro: initialise an entry in the secdata | |
727 | array. | |
728 | (secdata): Stop ccompile time warnings about uninitialised | |
729 | fields. | |
730 | (dtab): Stop compile time warnings about unused parameter. | |
731 | (long_options): Stop compile time warning about missing | |
732 | initialiser. | |
733 | ||
2f528887 NC |
734 | 1999-12-10 Nick Clifton <nickc@cygnus.com> |
735 | ||
736 | * readelf.c (print_vma): Support native 64bit ELF systems. | |
737 | ||
a2186dfe NC |
738 | 1999-12-09 Nick Clifton <nickc@cygnus.com> |
739 | ||
740 | * dlltool.c (mtable): Add epoc-arm specific entry. | |
741 | Make default arm entry pass -mpacs-26 to assembler. | |
742 | (flush_page): Do not mangle null entries. | |
743 | ||
5e220199 NC |
744 | 1999-12-07 H . J . Lu hjl@valinux.com |
745 | ||
746 | * readelf.c: Fix compile time warnings. Support more than 999 | |
747 | symbols. | |
748 | ||
f7a99963 NC |
749 | 1999-12-03 Nick Clifton <nickc@cygnus.com> |
750 | ||
751 | * readelf.c (enum print_mode): New type. | |
752 | (print_vma): New function. | |
753 | (dump_relocations): Use print_vma to display bfd_vma values. | |
754 | (process_file_header): Use print_vma to display bfd_vma values. | |
755 | (process_program_headers): Use print_vma to display bfd_vma values. | |
756 | (process_section_headers): Use print_vma to display bfd_vma values. | |
757 | (dynamic_segment_parisc_val): Use print_vma to display bfd_vma values. | |
758 | (process_dynamic_segment): Use print_vma to display bfd_vma values. | |
759 | (process_symbol_table): Use print_vma to display bfd_vma values. | |
760 | (process_mips_specific): Use print_vma to display bfd_vma values. | |
761 | ||
6d118b09 NC |
762 | 1999-11-25 Fred Fish <fnf@cygnus.com> |
763 | ||
764 | * readelf.c (process_note): Change arg from Elf_External_Note | |
765 | to Elf32_Internal_Note, which also turns the function body | |
766 | into little more than a call to printf. | |
767 | (process_corefile_note_segment): Substantially rewritten | |
768 | to properly handle case where target and host are different | |
769 | endianness, handle note sections with padding, and add some | |
770 | cruft to handle notes with unterminated name data. | |
771 | ||
d5bcb29d NC |
772 | 1999-11-22 Nick Clifton <nickc@cygnus.com> |
773 | ||
774 | * objcopy.c (copy_usage): Reformat. | |
775 | (strip_usage): Reformat. | |
776 | ||
1dada9c5 NC |
777 | 1999-11-21 Nick Clifton <nickc@cygnus.com> |
778 | ||
779 | * objdump.c (usage): Overhaul output: One line per switch. | |
780 | Textual description of each switch. Distinguish between | |
781 | optional switches and required switches. | |
782 | (long_options): Add 'g', 'G' and 'z' short options. | |
783 | (main): Distinguish between optional switches and required | |
784 | switches. | |
785 | ||
786 | * binutils.texi: Add -g -G and -z short options for | |
787 | --debugging, --stabs and --disassemble-zeroes. | |
788 | ||
f932f8e1 NC |
789 | 1999-11-03 Nick Clifton <nickc@cygnus.com> |
790 | ||
791 | * dlltool.c (flush_page): Clip short values to prevent warnings | |
792 | from the assembler. | |
7e301c9c NC |
793 | Change default mcore machine name to 'mcore-le' and rename |
794 | big-endian version to 'mcore-be'. | |
f932f8e1 | 795 | |
d24de309 ILT |
796 | 1999-10-27 Fred Fish <fnf@cygnus.com> |
797 | ||
798 | * objdump.c (display_bfd): Break into two functions. The | |
799 | actual dumping code moves to dump_bfd. If bfd is not | |
800 | unambiguously recognized as a bfd_object, attempt to dump | |
801 | it as a bfd_core. | |
802 | (dump_bfd): New function. | |
803 | ||
96925346 NC |
804 | 1999-10-26 Nick Clifton <nickc@cygnus.com> |
805 | ||
806 | * dlltool.c (assemble_file): Remove spurious test of exp_name. | |
807 | ||
49c24507 NC |
808 | 1999-10-22 Nick Clifton <nickc@cygnus.com> |
809 | ||
810 | * dlltool.c (struct mac): Add new field 'how_default_as_switches'. | |
811 | (mtable): Initialise new field. Some machines have a non empty | |
812 | string for this field. | |
813 | (HOW_BFD_TARGET): Undefine and replace with... | |
814 | (HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a | |
815 | file for reading. This is set to 0 so that any recognisable bfd | |
816 | format can be read. | |
817 | (HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening | |
818 | a file for writing. This is set to the target machine type. | |
819 | (ASM_SWITCHES): New macro: default switches to use when assembling | |
820 | a file. | |
821 | (assemble_file): New function: Assemble a source file into a | |
822 | destination object file. | |
823 | (gen_exp_file): Use assemble_file to create the exp file. | |
824 | (make_one_lib_file): Use assemble_file to create the lib file. | |
825 | Open output file use HOW_BFD_WRITE_TARGET and input files using | |
826 | HOW_BFD_READ_TARGET. | |
827 | (make_head): Use assemble_file to create the head file. | |
828 | (make_tail): Use assemble_file to create the tail file. | |
829 | (gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET. | |
830 | ||
b059661e ILT |
831 | 1999-10-15 Ian Lance Taylor <ian@zembu.com> |
832 | ||
833 | * ar.c (normalize): Fix full_pathname code. | |
834 | ||
f20a759a ILT |
835 | 1999-10-08 Ben Elliston <bje@cygnus.com> |
836 | ||
837 | * binutils.texi: Some rewording and clarifications. | |
838 | ||
103f02d3 UD |
839 | 1999-09-15 Ulrich Drepper <drepper@cygnus.com> |
840 | ||
841 | * readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if | |
842 | the value is zero. | |
843 | (process_symbol_table): Don't print histogram if hash table is empty. | |
844 | ||
845 | 1999-09-15 Ulrich Drepper <drepper@cygnus.com> | |
846 | ||
847 | * readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values. | |
848 | ||
849 | 1999-09-02 Ulrich Drepper <drepper@cygnus.com> | |
850 | ||
851 | * readelf.c (get_symbol_type): Add support for HPUX and PARISC | |
852 | specific symbol types. | |
853 | ||
854 | * readelf.c: Add HPUX and PARISC extensions to dynamic and program | |
855 | header table printing. | |
856 | ||
857 | * readelf.c (get_machine_flags): Add handling of PARISC. | |
858 | ||
ce195b42 DD |
859 | 1999-09-29 Mumit Khan <khan@xraylith.wisc.edu> |
860 | ||
103f02d3 UD |
861 | * dlltool.c (scan_drectve_symbols): Handle type tags in exported |
862 | symbols. | |
863 | (scan_filtered_symbols): Likewise. | |
ce195b42 | 864 | |
34ca6cf8 ILT |
865 | 1999-09-19 Ian Lance Taylor <ian@zembu.com> |
866 | ||
867 | * resrc.c (write_rc_rcdata): Fix local variable shadowing | |
868 | problem. If RCDATA_BUFFER data can be read as strings, modify | |
869 | code to print the strings as comments. | |
870 | * resres.c: Add casts to avoid warnings. | |
871 | (write_res_data, read_res_data): Don't put the program name in the | |
872 | error message; fatal already puts it there. | |
873 | ||
6d83c84b MM |
874 | 1999-09-14 Michael Meissner <meissner@cygnus.com> |
875 | ||
876 | * configure.in (Canonicalization of target names): Remove adding | |
877 | ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 | |
878 | generates $ac_config_sub with a ${CONFIG_SHELL} already. | |
879 | * configure: Regenerate. | |
880 | ||
a20a10a6 ILT |
881 | 1999-09-12 Ian Lance Taylor <ian@zembu.com> |
882 | ||
883 | * ar.c (main): Clear output_file if we don't change the archive. | |
884 | (delete_members, replace_members): Likewise. | |
885 | ||
c8446de5 ILT |
886 | 1999-09-12 Donn Terry <donn@interix.com> |
887 | ||
8bea4d5c ILT |
888 | * objdump.c (dump_headers): If wide_output, print Flags header. |
889 | ||
deecf979 ILT |
890 | * objdump.c (dump_section_header): Print any comdat information. |
891 | ||
3994e2c6 ILT |
892 | * objcopy.c (parse_flags): Handle "noload", "debug", and "share". |
893 | * binutils.texi, objcopy.1: Document new flags. | |
894 | ||
3de39064 ILT |
895 | * ar.c (counted_name_mode): New static variable. |
896 | (counted_name_counter): New static variable. | |
897 | (map_over_members): Handle counted mode. | |
898 | (usage): Mention N modifier. | |
899 | (main): Handle N modifier. | |
900 | (delete_members): Handle counted mode. | |
901 | * binutils.texi, ar.1: Document N modifier. | |
902 | ||
946d15ca ILT |
903 | * ar.c (print_contents): Change printing of member name for |
904 | POSIX.2 conformance. | |
905 | ||
c8446de5 ILT |
906 | * ar.c (output_filename): Make const. |
907 | (open_inarch): If creating a new empty archive, set | |
908 | output_filename. | |
909 | ||
fe84ea5d ILT |
910 | 1999-09-12 Ian Lance Taylor <ian@zembu.com> |
911 | ||
912 | * ar.c (full_pathname): New static variable. | |
913 | (map_over_members): Call normalize on command line parameter. | |
914 | (usage): Mention P modifier. | |
915 | (normalize): If full_pathname is true, don't do anything. | |
916 | (main): Accept P modifier. | |
3de39064 | 917 | (delete_members): Call normalize on command line parameter. |
fe84ea5d ILT |
918 | * binutils.texi, ar.1: Document P modifier. |
919 | ||
ad0481cd AS |
920 | 1999-09-09 Andreas Schwab <schwab@suse.de> |
921 | ||
922 | * binutils.texi: Add info dir entries for all programs described | |
923 | here. Fix arguments of @var to not contain punctuation. | |
924 | ||
1865dcb8 ILT |
925 | 1999-09-06 Donn Terry <donn@interix.com> |
926 | ||
927 | * nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'. | |
928 | (print_symbol_info_sysv): Likewise. | |
929 | (print_symbol_info_posix): Likewise. | |
930 | ||
7d466069 ILT |
931 | 1999-09-04 Steve Chamberlain <sac@pobox.com> |
932 | ||
933 | * readelf.c: Include "elf/pj.h". | |
934 | (dump_relocations): Handle EM_PJ. | |
935 | (get_machine_name): Likewise. | |
936 | (get_machine_flags): Likewise. | |
937 | ||
779fe533 NC |
938 | 1999-08-31 Scott Bambrough <scottb@netwinder.org> |
939 | ||
940 | * readelf.c (get_note_type): New function: Decode the e_type | |
941 | value of a note. | |
942 | (process_note): New function: Display the contents of a core note. | |
943 | (process_corefile_note_segment): New function. | |
944 | (process_corefile_note_segments): New function. | |
945 | (process_corefile_contents): New function. | |
21461bfd | 946 | (process_file): Add call to process_corefile_contents. |
779fe533 NC |
947 | (parse_args): Add parsing of -n/--notes command line switch. |
948 | (usage): Document new command line switch. | |
949 | ||
0ac38480 NC |
950 | * binutils.texi: Documemnt new command line switch to readelf. |
951 | ||
757acbc5 ILT |
952 | 1999-08-31 Ian Lance Taylor <ian@zembu.com> |
953 | ||
954 | * binutils.texi (Bug Reporting): Clarify that large files should | |
955 | not be sent to bug-gnu-utils. | |
956 | ||
3590ea00 NC |
957 | 1999-08-28 Stephane Carrez <stcarrez@worldnet.fr> |
958 | ||
959 | * readelf.c (process_extended_line_op): New parameter pointer_size, | |
960 | read the address according to pointer_size. | |
961 | (debug_line_pointer_size): New global to indicate the | |
962 | size of address in .debug_line section. | |
963 | (debug_displays, prescan_debug_info): Prescan the .debug_info section | |
964 | to record the size of address in `debug_line_pointer_size'. | |
965 | (process_section_contents): Before dumping any section, execute | |
966 | the pre-scan operation defined for some debug sections. | |
967 | ||
7a4b7442 NC |
968 | 1999-08-27 Jim Wilson <wilson@cygnus.com> |
969 | ||
970 | * readelf.c (display_debug_lines): Use i-1 not i in standard_opcodes | |
971 | access. | |
972 | (display_debug_aranges): New local excess. Use for calculating padding | |
973 | and add that into ranges. Break from loop only if length is also 0. | |
974 | ||
2366453a NC |
975 | 1999-08-27 Jim Wilson <wilson@cygnus.com> |
976 | ||
977 | * readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply | |
103f02d3 | 978 | adv by info.li_min_insn_length. |
2366453a | 979 | |
9a097730 RH |
980 | 1999-08-26 Jakub Jelinek <jj@ultra.linux.cz> |
981 | ||
982 | * readelf.c (get_sparc64_dynamic_type): New function. | |
983 | (get_dynamic_type): Use it. | |
984 | ||
75d74c48 NC |
985 | 1999-08-26 Jim Wilson <wilson@cygnus.com> |
986 | ||
987 | * readelf.c (display_debug_lines, case default): Change second line | |
988 | setting adv to use = not +=. | |
989 | ||
aff05906 NC |
990 | 1999-08-19 Nick Clifton <nickc@cygnus.com> |
991 | ||
992 | * dlltool.c: Added more examples to the comment at the start. | |
993 | ||
6e7d8205 NC |
994 | 1999-08-18 Nick Clifton <nickc@cygnus.com> |
995 | ||
996 | * dlltool.c (make_head): Only emit interworking directive if | |
103f02d3 | 997 | necessary. |
6e7d8205 | 998 | |
a3f779db NC |
999 | Thu Jul 15 22:44:21 1999 Hans-Peter Nilsson <hp@bitrange.com> |
1000 | ||
1001 | * readelf.c (process_abbrev_section): Handle standard-conforming | |
1002 | single zero at the end of the section. | |
1003 | ||
75cd796a ILT |
1004 | 1999-08-09 Ian Lance Taylor <ian@zembu.com> |
1005 | ||
1006 | * objdump.c (exit_status): New static variable. | |
1007 | (nonfatal): New static function. | |
1008 | (disassemble_data): Set exit_status on error. | |
1009 | (read_section_stabs): Likewise. | |
1010 | (display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal. | |
1011 | (display_file): Call nonfatal rather than bfd_nonfatal. | |
1012 | (display_target_list, display_info_table): Likewise. | |
1013 | (main): Return exit_status rather than 0. | |
1014 | ||
c278c150 ILT |
1015 | 1999-08-08 Ian Lance Taylor <ian@zembu.com> |
1016 | ||
24c411ed ILT |
1017 | * objdump.c (dump_section_header): Update for renaming of |
1018 | SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag. | |
1019 | ||
9d51cc66 ILT |
1020 | From Eli Zaretskii <eliz@gnu.org>: |
1021 | * binutils.texi: Document cxxfilt as MS-DOS name for c++filt. | |
1022 | ||
8a965946 ILT |
1023 | * configure.in: Define and substitute DEMANGLER_NAME. |
1024 | * Makefile.am (DEMANGLER_PROG): Set to cxxfilt. | |
1025 | (man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG. | |
1026 | (bin_PROGRAMS): Remove $(DEMANGLER_PROG). | |
1027 | (noinst_PROGRAMS): Add $(DEMANGLER_PROG). | |
1028 | (cxxfilt_SOURCES): Rename from c__filt_SOURCES. | |
1029 | (cxxfilt_LDADD): Rename from c__filt_LDADD. | |
1030 | ($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use | |
1031 | DEMANGLER_NAME rather than DEMANGLER_PROG in substitution. | |
1032 | (MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than | |
1033 | DEMANGLER_PROG. | |
1034 | (install-exec-local): When installing noinst_PROGRAMS, change | |
1035 | cxxfilt to $(DEMANGLER_NAME). | |
1036 | * configure, Makefile.in: Rebuild. | |
1037 | ||
c278c150 ILT |
1038 | * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to |
1039 | MKDEP. | |
1040 | * Makefile.in: Rebuild. | |
1041 | ||
7a7b06ef ILT |
1042 | 1999-08-05 Donn Terry <donn@interix.com> |
1043 | ||
1044 | * Makefile.am (YACC): If bison is not in the source tree, use | |
1045 | @YACC@ rather than bison -y. | |
1046 | (LEX): If flex is not in the source tree, use @LEX@ rather than | |
1047 | flex. | |
1048 | * configure.in: Build dlltool for i[3-6]86-*-interix. | |
1049 | * Makefile.in, configure: Rebuild. | |
1050 | ||
980e4bf7 ILT |
1051 | 1999-07-21 Ian Lance Taylor <ian@zembu.com> |
1052 | ||
1053 | From Mark Elbrecht: | |
1054 | * configure.bat: Remove; obsolete. | |
1055 | ||
d07faca2 RH |
1056 | 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> |
1057 | ||
1058 | * readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3. | |
1059 | ||
2844ed43 ILT |
1060 | 1999-07-15 Ian Lance Taylor <ian@zembu.com> |
1061 | ||
1062 | * configure.in: Bump version number to 2.9.5. | |
1063 | * configure: Rebuild. | |
1064 | ||
c235b8f8 RH |
1065 | 1999-07-14 Richard Henderson <rth@cygnus.com> |
1066 | ||
1067 | * objdump.c (dump_section_header): Print SEC_SHORT. | |
1068 | ||
b4c96d0d ILT |
1069 | 1999-07-11 Ian Lance Taylor <ian@zembu.com> |
1070 | ||
1071 | * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED | |
1072 | as appropriate. Add variable initializations. Add casts. | |
1073 | * objdump.c (disassemble_bytes): Change j to bfd_vma. | |
1074 | * readelf.c (process_syminfo): Change i to unsigned int. | |
1075 | (display_debug_info): Change abbrev_number to unsigned long. | |
1076 | (process_mips_specific): Change fcnt to size_t. | |
1077 | ||
a952a375 NC |
1078 | 1999-07-09 Nick Clifton <nickc@cygnus.com> |
1079 | ||
1080 | * readelf.c: Only support decoding 64bit ELF files if the compiler | |
1081 | supports a 64 bit data type. | |
1082 | Add -I equivalent for --histogram. | |
1083 | Add -A command-line option to display architecture specific information. | |
1084 | ||
351b4b40 RH |
1085 | 1999-07-08 Jakub Jelinek <jj@ultra.linux.cz> |
1086 | ||
1087 | * readelf.c (guess_is_rela): Sparcv9 and v8plus use rela. | |
1088 | (dump_relocations): Use ELF64_R_TYPE_ID for Sparc, for R_SPARC_OLO10 | |
1089 | print the secondary addend. | |
1090 | (get_machine_flags): Print Sparc machine flags. | |
1091 | (get_symbol_type): Print STT_REGISTER. | |
1092 | ||
c602a165 ILT |
1093 | 1999-07-08 Ian Lance Taylor <ian@zembu.com> |
1094 | ||
1095 | * stabs.c (parse_stab_type): Fix handling of template names with | |
1096 | template parameters containing `::'. | |
1097 | (stab_demangle_type): Handle a qualified name in a pointer to | |
1098 | member. | |
1099 | ||
83d765b3 ILT |
1100 | 1999-06-23 Ian Lance Taylor <ian@zembu.com> |
1101 | ||
1102 | * Makefile.am (dlltool_SOURCES): Add dyn-string.c. | |
1103 | * Makefile.in: Rebuild. | |
1104 | ||
2481e6a2 ILT |
1105 | 1999-06-23 Mumit Khan <khan@xraylith.wisc.edu> |
1106 | ||
1107 | * configure.in (HAVE_EXECUTABLE_SUFFIX): Define. | |
1108 | * dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX. | |
1109 | * dllwrap.c (look_for_prog): Likewise. | |
1110 | * resrc.c (look_for_default): Likewise. | |
1111 | * configure, config.in: Rebuild. | |
1112 | ||
bb0cb4db ILT |
1113 | 1999-06-22 Ian Lance Taylor <ian@zembu.com> |
1114 | ||
1115 | Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>: | |
1116 | * configure.in: Define EXECUTABLE_SUFFIX. | |
1117 | * dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on | |
1118 | ANSI_PROTOTYPES, not __STDC__. | |
1119 | (outfile): Remove. | |
1120 | (gen_exp_file): Change uses of outfile to use alloca. | |
1121 | (make_one_lib_file, make_head, make_tail): Likewise. | |
1122 | (gen_lib_file): Likewise. | |
1123 | (look_for_prog): New static function. | |
1124 | (deduce_name): Rewrite to use look_for_prog. | |
1125 | (mcore_elf_gen_out_file): Use dyn_string_t rather than outfile. | |
1126 | * dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>, | |
1127 | <stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either | |
1128 | <stdarg.h> or <varargs.h>. | |
1129 | (driver_name): Initialize to NULL, not "gcc". | |
1130 | (dlltool_name): Initialize to NULL, not "dlltool". | |
1131 | (display, inform, look_for_prog, deduce_name): New static | |
1132 | functions. | |
1133 | (usage): Mention -mno-cygwin. | |
1134 | (OPTION_MNO_CYGWIN): Define. | |
1135 | (main): Handle -mno-cygwin. Deduce driver_name and dlltool_name. | |
1136 | * resrc.c (look_for_default): Make static. Remove unused local | |
1137 | path. Check using EXECUTABLE_SUFFIX. | |
1138 | (read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX. | |
1139 | * Makefile.am: Rebuild dependencies. | |
1140 | (dllwrap_LDADD): Add $(INTLLIBS). | |
1141 | * configure, Makefile.in, config.in: Rebuild. | |
1142 | ||
6202000d JL |
1143 | Mon Jun 21 16:49:11 1999 Jeffrey A Law (law@cygnus.com) |
1144 | ||
1145 | * readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of | |
1146 | elf32_hppa_reloc_type. | |
1147 | ||
74479bd3 NC |
1148 | 1999-06-17 Nick Clifton <nickc@cygnus.com> |
1149 | ||
1150 | * dlltool.c (mcore_elf_gen_out_file): Link object files with the | |
1151 | .exp file, not the .lib file. | |
1152 | ||
aab32795 DD |
1153 | Fri Jun 18 20:17:51 1999 Mumit Khan <khan@xraylith.wisc.edu> |
1154 | ||
1155 | * deflex.l: Accept single-character symbol names. | |
1156 | ||
df75f1af NC |
1157 | 1999-06-16 Nick Clifton <nickc@cygnus.com> |
1158 | ||
1159 | * readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb | |
103f02d3 | 1160 | functions. |
df75f1af | 1161 | |
dd92f639 NC |
1162 | 1999-06-14 Nick Clifton <nickc@cygnus.com> |
1163 | ||
1164 | * objdump.c (disassembler_options): New variable. | |
1165 | (usage): Document new -M/--disassembler-options option. | |
1166 | (long_options): Add --disassembler-options. | |
1167 | (disassemble_data): Initialise disassembler_options field of | |
1168 | disassembler_info structure. | |
1169 | (main): Add parsing of -M option. | |
103f02d3 | 1170 | |
dd92f639 NC |
1171 | * binutils.texi: Document new command line switch to objdump. |
1172 | ||
1173 | * NEWS: Describe new command line switch to objdump. | |
1174 | ||
1175 | ||
c89746f6 AS |
1176 | Mon Jun 14 10:27:54 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
1177 | ||
1178 | * binutils.texi: Fix typos. | |
1179 | ||
d7ec8102 ILT |
1180 | 1999-06-13 Ian Lance Taylor <ian@zembu.com> |
1181 | ||
e07bf1ac ILT |
1182 | * objdump.c (disassemble_bytes): If the disassembler returns an |
1183 | error, print out anything it may have printed to the buffer. From | |
1184 | H.J. Lu <hjl@gnu.org>. | |
1185 | ||
d7ec8102 ILT |
1186 | * defparse.y (explist): Remove separate expline to eliminate |
1187 | shift/reduce conflict. | |
1188 | ||
1189 | From Kai-Uwe Rommel <rommel@ars.de>: | |
1190 | * defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE, | |
1191 | INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL. | |
1192 | (command): Add option_list after LIBRARY. | |
1193 | (attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE. | |
1194 | (option_list, option): New nonterminals. | |
1195 | * deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE, | |
1196 | INITGLOBAL, TERMINSTANCE, and TERMGLOBAL. | |
1197 | ||
789be9f7 ILT |
1198 | 1999-06-12 Ian Lance Taylor <ian@zembu.com> |
1199 | ||
d84feeac ILT |
1200 | * ar.c (O_BINARY): Define as 0 if not defined. |
1201 | (ranlib_touch): Open file with O_BINARY. | |
1202 | ||
18226413 ILT |
1203 | * rename.c (O_BINARY): Define as 0 if not defined. |
1204 | (simple_copy): Open files with O_BINARY. | |
1205 | ||
f91ea849 ILT |
1206 | Based on patch from H. Peter Anvin <hpa@transmeta.com>: |
1207 | * objcopy.c (struct section_list): Add copy field. | |
1208 | (sections_copied): New static variable. | |
1209 | (copy_options): Add "only-section". | |
1210 | (copy_usage): Mention -j and --only-section. | |
1211 | (find_section_list): Initialize copy field. | |
1212 | (is_strip_section): Check for copying sections. | |
1213 | (copy_object): Check sections_copied when calling filter_symbols. | |
1214 | (setup_section): Check for copying sections. | |
1215 | (copy_section): Likewise. | |
1216 | (copy_main): Handle -j/--only-section. | |
1217 | * binutils.texi, objcopy.1: Document -j/--only-section. | |
1218 | ||
f353eb8a ILT |
1219 | * configure.in: If frexp is not available, check in -lm. |
1220 | * configure: Rebuild. | |
1221 | ||
789be9f7 ILT |
1222 | * readelf.c (get_elf_class): Use correct printf format for type. |
1223 | (get_data_encoding): Likewise. | |
1224 | (get_osabi_name): Likewise. | |
1225 | (process_file_header): Don't pass an extra argument to printf. | |
1226 | (process_dynamic_segment): Cast dynamic_size to long before | |
1227 | printing. | |
1228 | (decode_location_expression): Cast byte_get to long before | |
1229 | printing. | |
1230 | ||
148d3c43 AS |
1231 | Wed Jun 9 11:40:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
1232 | ||
1233 | * readelf.c (dump_section): Cast values from byte_get to | |
1234 | [unsigned] long for printing, in case it is wider than long. | |
1235 | (display_block): Likewise. | |
1236 | (read_and_display_attr): Likewise. | |
1237 | (decode_location_expression): Likewise. Don't depend on | |
1238 | evaluation order. | |
1239 | ||
32a5c94a AS |
1240 | Mon Jun 7 12:14:57 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
1241 | ||
1242 | * windres.c (usage): Fix typo. | |
1243 | ||
19936277 NC |
1244 | 1999-06-04 Nick Clifton <nickc@cygnus.com> |
1245 | ||
1246 | * readelf.c: Use 64bit wide fields in internal strcutures even if | |
1247 | targetting a 32bit architecture. | |
1248 | (dump_relocations): Take a new parameter - the number of symbols | |
1249 | in the symbol table. | |
1250 | ||
9ea033b2 NC |
1251 | 1999-06-04 Nick Clifton <nickc@cygnus.com> |
1252 | ||
1253 | * readelf.c: Add support for 64bit ELF files. | |
1254 | ||
762100ed NC |
1255 | 1999-06-03 Nick Clifton <nickc@cygnus.com> |
1256 | ||
1257 | * dlltool.c (mcore_elf_gen_out_file): Use constants for temporary | |
103f02d3 | 1258 | file names. |
762100ed | 1259 | |
d8bcc1ac RH |
1260 | Wed Jun 2 12:34:36 1999 Richard Henderson <rth@cygnus.com> |
1261 | ||
1262 | * dlltool.c (gen_exp_file): Revert 19990411 change. | |
1263 | ||
aa903cfb AS |
1264 | Mon May 31 09:56:22 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
1265 | ||
1266 | * readelf.c (process_relocs): Determine type of reloc from | |
1267 | DT_PLTREL and from section type. | |
1268 | ||
ab5e7794 NC |
1269 | 1999-05-29 Nick Clifton <nickc@cygnus.com> |
1270 | ||
1271 | * readelf.c (get_elf_class): Display unknown class number. | |
1272 | (get_data_encoding): Display unknown encoding number. | |
1273 | (get_osabi_name): Display unknown ABI number. | |
1274 | (process_file_header): Display unknown version number. | |
1275 | ||
ccf04c82 NC |
1276 | 1999-05-29 Nick Clifton <nickc@cygnus.com> |
1277 | ||
1278 | * readelf.c (dump_relocations): Fix typo. | |
1279 | ||
9c19a809 NC |
1280 | 1999-05-28 Nick Clifton <nickc@cygnus.com> |
1281 | ||
1282 | * readelf.c (dump_relocations): Add extra parameter: is_rela to | |
1283 | specify the kind of relocations to be dumped. Call guess_is_rela | |
1284 | if this parameter has a value of UNKNOWN. | |
1285 | (guess_is_rela): New function: Guess the kind of reloc being used | |
1286 | baced on the machine number. | |
1287 | (process_relocs): Determine type of reloc before calling | |
1288 | dump_relocations. | |
1289 | ||
63fcb9e9 ILT |
1290 | 1999-05-28 Ian Lance Taylor <ian@zembu.com> |
1291 | ||
1292 | * readelf.c: Include "elf/i960.h". | |
1293 | (dump_relocations): Handle EM_960. | |
1294 | ||
1b228002 AS |
1295 | Thu May 27 11:58:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> |
1296 | ||
8066d1a2 AS |
1297 | * objcopy.c (copy_archive): Preserve dates of archive members if |
1298 | requested. | |
1299 | ||
1b228002 AS |
1300 | * readelf.c (dump_relocations): Always print the addend on RELA |
1301 | systems even if there is no symbol. | |
1302 | (process_program_headers): Reset dynamic_size before looping | |
1303 | through the program headers. | |
1304 | (process_version_sections): Cast sh_offset to unsigned long for | |
1305 | printing in case bfd_vma is wider. | |
1306 | (process_symbol_table): Use get_symbol_index_type when printing | |
1307 | st_shndx. | |
1308 | ||
751d21b5 DD |
1309 | 1999-05-17 DJ Delorie <dj@cygnus.com> |
1310 | ||
1311 | * windres.c: add verbose option | |
1312 | (main): process verbose option | |
1313 | * resrc.c (look_for_default): new. Look for the default | |
1314 | preprocessor in a given location. | |
1315 | (read_rc_file): for foo/bar-windres, look for foo/bar-gcc, | |
1316 | foo/gcc (in case of foo/windres), and then gcc (the old default). | |
1317 | ||
49e315b1 NC |
1318 | 1999-05-16 Nick Clifton <nickc@cygnus.com> |
1319 | ||
1320 | * dlltool.c (deduce_name): New function: Deduce name of program to | |
1321 | run. | |
1322 | (mcore_elf_out_file): New variable: Name of mcore-elf output file. | |
1323 | (mcore_elf_linker): New variable: Name of linker to use. | |
1324 | (mcore_elf_linker_flags): New variable: Linker flags to pass. | |
1325 | (scan_obj_file): Cache filenames if necessary. | |
1326 | (usage): Document new command line options. | |
1327 | (main): Support new command line options: -M (generate an | |
1328 | mcore-elf output file) -L (name of linker to use) -F (flags to | |
103f02d3 | 1329 | pass to linker). |
49e315b1 NC |
1330 | (mcore_elf_cache_filename): Store a filename in a cache. |
1331 | (mcore_elf_gen_out_file): New function: Generate an output file | |
1332 | per the mcore-elf spec. | |
1333 | ||
661016bb NC |
1334 | 1999-05-15 Nick Clifton <nickc@cygnus.com> |
1335 | ||
1336 | * configure.in (BUILD_MISC): Build dlltool for mcore | |
1337 | * configure: Regenerate. | |
1338 | * dlltool.c: Update example in comment. | |
1339 | (DLLTOOL_MCORE): Define. | |
1340 | (DLLTOOL_MCORE_ELF): Define. | |
1341 | (DRECTVE_SECTION_NAME): Define. | |
1342 | (mcore_be_jtab, mcore_le_jtab): Binary for performing an mcore | |
1343 | jump to address. | |
1344 | (mtable): Add entries for mcore variants. | |
1345 | (rvaafter, rvabefore, asm_prefix): Add mcore suppport. | |
1346 | (scan_drectve_symbols): Use DRECTVE_SECTION_NAME. | |
1347 | (make_head, make_tail): Cope if file cannot be created. | |
1348 | (usage): Improve layout. | |
103f02d3 | 1349 | |
1a624788 DD |
1350 | 1999-05-13 DJ Delorie <dj@cygnus.com> |
1351 | ||
1352 | * rclex.l: add code to suppress certain output from cpp, replace | |
1353 | all returns with MAYBE_RETURN | |
1354 | (MAYBE_RETURN): new, implement the suppression by returning | |
1355 | IGNORED_TOKEN as needed. | |
1356 | (cpp_line): remember which file we're in, mark data from included | |
1357 | *.h files for suppression. | |
1358 | * rcparse.y (input): allow IGNORED_TOKEN outside of known constructs | |
1359 | ||
09cda596 DD |
1360 | 1999-05-10 DJ Delorie <dj@cygnus.com> |
1361 | ||
1362 | * windres.c (quot): Quote shell metacharacters in a string | |
1363 | (main): quote parameters to cpp that might have metacharacters in | |
1364 | them. Allow -D as an alias for --define to allow for sharing make | |
1365 | macros with gcc. | |
1366 | ||
1367 | * objdump.c (dump_reloc_set): don't core if howto->name is NULL | |
1368 | ||
1369 | * Makefile.am: Give rescoff.c a cpu-specific -D so it can set | |
1370 | the correct BFD. | |
1371 | * Makefile.in: ditto | |
1372 | * rescoff.c (write_coff_file): Set the correct BFD | |
1373 | ||
82716b78 ILT |
1374 | 1999-05-06 Ian Lance Taylor <ian@zembu.com> |
1375 | ||
1376 | * rename.c (smart_rename): Fix test of whether file exists. | |
1377 | ||
a8a9050d NC |
1378 | 1999-05-06 Nick Clifton <nickc@cygnus.com> |
1379 | ||
1380 | * objdump.c (disassemble_data): Set display_endian based on target | |
1381 | endianism. | |
1382 | ||
b890a735 CM |
1383 | 1999-05-05 Catherine Moore <clm@cygnus.com> |
1384 | ||
1385 | * dlltool.c (interwork): Remove. | |
1386 | (arm_interwork_jtab): Use bx insn. | |
1387 | (thumb_jtab): Likewise. | |
1388 | (MARM_INTERWORK): New machine type. | |
1389 | (rvaafter): Handle it. | |
1390 | (rvabefore) Likewise. | |
1391 | (asm_prefix): Likewise. | |
1392 | (gen_exp_type): Check machine type instead of | |
1393 | interwork flag. | |
1394 | (make_one_lib_file): Likewise. | |
1395 | (make_head): Likewise. | |
1396 | (make_tail): Likewise. | |
1397 | (usage): Update machine types. | |
1398 | (main): Remove -interwork support. | |
1399 | ||
33c63f9d | 1400 | 1999-05-05 Catherine Moore <clm@cygnus.com> |
103f02d3 | 1401 | |
33c63f9d CM |
1402 | * readelf.c (get_machine_flags): Check for EF_CPU32. |
1403 | (get_data_encoding): Fix typo. | |
103f02d3 | 1404 | |
252b5132 RH |
1405 | 1999-04-26 Tom Tromey <tromey@cygnus.com> |
1406 | ||
1407 | * aclocal.m4, configure: Updated for new version of libtool. | |
1408 | ||
1409 | 1999-04-18 Ian Lance Taylor <ian@zembu.com> | |
1410 | ||
1411 | * stabs.c (parse_stab_range_type): Correct parenthesization in | |
1412 | BFD64 case. | |
1413 | ||
1414 | * readelf.c (get_section_type_name): Use correct types in printf | |
1415 | formats. | |
1416 | (process_relocs): Likewise. | |
1417 | (process_dynamic_segment): Likewise. | |
1418 | (process_symbol_table): Likewise. | |
1419 | (process_mips_specific): Likewise. | |
1420 | ||
1421 | Tue Apr 13 21:22:00 1999 Catherine Moore <clm@cygnus.com> | |
1422 | ||
1423 | * dlltool.c (make_one_lib_file): Mark thumb functions as | |
1424 | C_THUMBEXTFUNC. | |
1425 | ||
1426 | 1999-04-11 Richard Henderson <rth@cygnus.com> | |
1427 | ||
1428 | * bucomm.h (environ): Declare it, if needed. | |
1429 | (alloca) [C_ALLOCA]: Don't use gcc's builtin or <alloca.h>. | |
1430 | * configure.in (environ): Detect declaration. | |
1431 | * nm.c (main): Don't declare environ. | |
1432 | * configure, config.in: Rebuild. | |
1433 | ||
1434 | * dlltool.c (gen_exp_file): Pad out the .reloc section to a | |
1435 | 32-byte boundary with dummy relocations, to make the BeOS loader | |
1436 | happy. Patch from Bob Manson <manson@charmed.cygnus.com>. | |
1437 | ||
1438 | 1999-04-08 Tom Tromey <tromey@cygnus.com> | |
1439 | ||
1440 | * binutils.texi (c++filt): Updated for -j/--java, and hp/edg | |
1441 | formats. | |
1442 | ||
1443 | 1999-04-08 Nick Clifton <nickc@cygnus.com> | |
1444 | ||
1445 | * readelf.c: Add ability to decode new constants found in April 25 | |
1446 | 1998 Draft of System V ABI spec. | |
1447 | ||
1448 | 1999-04-06 Ian Lance Taylor <ian@zembu.com> | |
1449 | ||
1450 | * bucomm.h (LC_MESSAGES): Never define. | |
1451 | * addr2line.c (main): Don't pass LC_MESSAGES to setlocale if the | |
1452 | system does not define it. | |
1453 | * ar.c (main): Likewise. | |
1454 | * coffdump.c (main): Likewise. | |
1455 | * dlltool.c (main): Likewise. | |
1456 | * nlmconv.c (main): Likewise. | |
1457 | * nm.c (main): Likewise. | |
1458 | * objcopy.c (main): Likewise. | |
1459 | * objdump.c (main): Likewise. | |
1460 | * size.c (main): Likewise. | |
1461 | * srconv.c (main): Likewise. | |
1462 | * strings.c (main): Likewise. | |
1463 | * sysdump.c (main): Likewise. | |
1464 | * windres.c (main): Likewise. | |
1465 | * readelf.c (main): Call locale setting functions. | |
1466 | ||
1467 | 1999-04-05 Nick Clifton <nickc@cygnus.com> | |
1468 | ||
1469 | * readelf.c (decode_location_expression): Fix DW_OP_const8{s|u} | |
103f02d3 | 1470 | decodes. |
252b5132 RH |
1471 | |
1472 | 1999-04-04 Ian Lance Taylor <ian@zembu.com> | |
1473 | ||
1474 | * rename.c: New file, copied out of objcopy.c with a few changes. | |
1475 | * bucomm.h (set_times, smart_rename): Declare. | |
1476 | * ar.c: Don't include <utime.h>. | |
1477 | (extract_file): Call set_times rather than utime. | |
1478 | (write_archive): Call smart_rename rather than unlink and rename. | |
1479 | * objcopy.c: Don't include <utime.h>. | |
1480 | (simple_copy, smart_rename, set_times): Move to rename.c. | |
1481 | (strip_main): Update smart_rename call for new parameter. | |
1482 | (copy_main): Likewise. | |
1483 | * Makefile.am: Rebuild dependencies. | |
1484 | (CFILES): Add rename.c. | |
1485 | (objcopy_SOURCES, strip_new_SOURCES): Add rename.c. | |
1486 | (ar_SOURCES, ranlib_SOURCES): Add rename.c. | |
1487 | * Makefile.in: Rebuild. | |
1488 | ||
1489 | * Makefile.am: Rebuild dependencies. | |
1490 | (EXTRA_PROGRAMS): Remove backslash which troubles current version | |
1491 | of automake. | |
1492 | * Makefile.in: Rebuild. | |
1493 | ||
1494 | * dllwrap.c (main): Expect correct type in format string. | |
1495 | * resres.c: Include "bfd.h", "bucomm.h", "libiberty.h", and | |
1496 | <time.h>. Don't include <stdio.h> and <errno.h>. | |
1497 | (write_res_file): Remove unused locals e and i. | |
1498 | (read_resource_entry): Remove unused locals rtype and n. | |
1499 | (read_unistring): Remove unused local n. | |
1500 | ||
1501 | 1999-04-03 Ian Lance Taylor <ian@zembu.com> | |
1502 | ||
1503 | * arparse.y: Declare yylex. | |
1504 | * objdump.c (disassemble_bytes): Initialize bytes. Add comment | |
1505 | for incorrect use of bytes. | |
1506 | * readelf.c: Change many formats to avoid warnings. | |
1507 | ||
1508 | 1999-04-01 Nick Clifton <nickc@cygnus.com> | |
1509 | ||
1510 | * readelf.c (reset_state_machine): New function. Resets the | |
1511 | registers of the source line number state machine. | |
1512 | (process_extended_line_op): Use state machine. | |
1513 | (display_debug_lines): Use state machine. Handle multiple line | |
1514 | number blocks within the same section. | |
1515 | ||
1516 | 1999-03-29 Jason Merrill <jason@yorick.cygnus.com> | |
1517 | ||
1518 | * readelf.c (process_extended_line_op): end_sequence also resets | |
1519 | the line number. | |
1520 | (display_debug_lines): advance_line takes a signed operand. | |
1521 | (read_and_display_attr): Print refs as <%x>, addresses as %#x, | |
1522 | others as %d. Handle other location expression attributes. | |
1523 | (display_debug_info): Handle nesting. Always print the offset. | |
1524 | ||
1525 | 1999-03-23 Ian Lance Taylor <ian@zembu.com> | |
1526 | ||
1527 | * objcopy.c (filter_symbols): When checking whether to keep a | |
1528 | symbol, check the BFD section symbol for a symbol with | |
1529 | BSF_SECTION_SYM set. | |
1530 | ||
1531 | 1999-03-10 Ulrich Drepper <drepper@cygnus.com> | |
1532 | ||
1533 | * readelf.c (process_dynamic_segment): Print new Solaris dynamic | |
1534 | section entries. Correct printing of DT_POSFLAG_1 and DT_FLAGS_1. | |
1535 | ||
1536 | 1999-03-10 Nick Clifton <nickc@cygnus.com> | |
1537 | ||
1538 | * readelf.c (request_dump): New function. | |
1539 | Removed arbitary limit on the number of sections that can be | |
1540 | dumped. | |
1541 | ||
1542 | Wed Mar 10 15:10:14 1999 Stan Cox <scox@cygnus.com> | |
1543 | ||
1544 | * dlltool.c (make_one_lib_file): Use %05d to output the stub name so | |
1545 | order in the import library is preserved. | |
1546 | ||
1547 | 1999-02-19 Nick Clifton <nickc@cygnus.com> | |
1548 | ||
1549 | * readelf.c: Fix compile time warings. | |
1550 | ||
1551 | 1999-02-17 DJ Delorie <dj@cygnus.com> | |
1552 | ||
1553 | * resbin.c (res_to_bin_versioninfo): Instead of entering a value | |
1554 | length of zero in a version info string, enter the appropriate | |
1555 | length. | |
1556 | ||
1557 | Tue Feb 16 16:00:33 1999 Ian Lance Taylor <ian@cygnus.com> | |
1558 | ||
1559 | * configure.in: Require autoconf 2.13. Change AM_PROG_INSTALL to | |
1560 | AC_PROG_INSTALL. Add comments for AC_DEFINE calls. | |
1561 | * acconfig.h: Remove. | |
1562 | * aclocal.m4: Rebuild. | |
1563 | * configure: Rebuild. | |
1564 | * Makefile.in: Rebuild. | |
1565 | * config.in: Rebuild. | |
1566 | ||
1567 | 1999-02-02 Nick Clifton <nickc@cygnus.com> | |
1568 | ||
1569 | * readelf.c (read_and_display_attr): Add display of basic type | |
1570 | encodings. | |
1571 | (display_debug_aranges): New function: Display the contents of a | |
1572 | .debug_aranges section. | |
1573 | (display_debug_info): Dump tags found after compunit entry. | |
1574 | ||
1575 | * binutils.texi: Fixed bug in readelf documentation. | |
1576 | ||
1577 | Mon Feb 1 12:38:01 1999 Catherine Moore <clm@cygnus.com> | |
1578 | ||
1579 | * readelf.c (dump_relocations): Handle EM_ARM as REL. | |
1580 | ||
1581 | 1999-01-29 Nick Clifton <nickc@cygnus.com> | |
1582 | ||
1583 | * readelf.c (process_symbol_table): Do not produce a histogram of | |
1584 | bucket chains if none were found. | |
1585 | ||
1586 | 1999-01-27 Nick Clifton <nickc@cygnus.com> | |
1587 | ||
1588 | * version.c: Add 1999 copyright. | |
1589 | ||
1590 | * binutils.texi (readelf): Document new command line options | |
1591 | --debug-dump and --histogram. | |
1592 | ||
1593 | * readelf.c: Add ability to display contents of some or all of the | |
1594 | Dwarf2 debug sections. {Work only partially completed}. | |
1595 | (display_debug_section): New function. | |
1596 | (display_debug_info): New function. | |
1597 | (display_debug_not_supported): New function. | |
1598 | (display_debug_line): New function. | |
1599 | (display_debug_abbrev): New function. | |
1600 | (process_abbrev_section): New function. | |
1601 | (read_leb128): New function. | |
1602 | (process_extended_line_op): New function. | |
1603 | (get_TAG_name): New function. | |
1604 | (get_AT_name): New function. | |
1605 | (get_FORM_name): New function. | |
1606 | (free_abbrevs): New function. | |
1607 | (add_abbrev): New function. | |
1608 | (add_abbrev_attr): New function. | |
1609 | (read_and_display_attr): New function. | |
1610 | (display_block): New function. | |
1611 | ||
1612 | Thu Jan 14 23:36:11 1999 Jeffrey A Law (law@cygnus.com) | |
1613 | ||
1614 | * coffdump.c (xcalloc): Remove, in libiberty now. | |
1615 | * srconv.c (xcalloc): Likewise. | |
1616 | * sysdump.c (xcalloc): Likewise. | |
1617 | ||
1618 | 1999-01-14 Nick Clifton <nickc@cygnus.com> | |
1619 | ||
1620 | * readelf.c (process_section_headers): Omit trailing space at end | |
1621 | of section header contents line. | |
1622 | ||
1623 | Wed Dec 16 17:20:05 1998 Doug Evans <devans@canuck.cygnus.com> | |
1624 | ||
1625 | * aclocal.m4: Regenerate. | |
1626 | ||
1627 | Mon Dec 14 12:55:36 1998 Jim Wilson <wilson@cygnus.com> | |
1628 | ||
1629 | * dllwrap.c: Include bfd.h and bucomm.h. Move getopt.h include | |
1630 | after libiberty.h include. | |
1631 | ||
1632 | Tue Dec 8 16:29:43 1998 Ian Lance Taylor <ian@cygnus.com> | |
1633 | ||
1634 | * objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka | |
1635 | <hnokubi@yyy.or.jp>. | |
1636 | ||
1637 | Sun Dec 6 13:28:09 1998 Ian Lance Taylor <ian@cygnus.com> | |
1638 | ||
1639 | * objdump.c (SFILE): Add size field. | |
1640 | (objdump_sprintf): Merge both versions into one. Increase buffer | |
1641 | size as needed to avoid overflow. | |
1642 | (disassemble_bytes): Change buf from 1000 bytes to 50. Change | |
1643 | initialization and use of sfile to match changes to | |
1644 | objdump_sprintf. | |
1645 | ||
1646 | * strip.1: Fix typo (-V to -v). From Issei Hirayama | |
1647 | <iss@mail.wbs.or.jp>. | |
1648 | ||
1649 | 1998-12-03 Ulrich Drepper <drepper@cygnus.com> | |
1650 | ||
1651 | * readelf.c (process_dynamic_segment): Improve output format for | |
1652 | various DT_* values. | |
1653 | ||
1654 | 1998-12-02 Ulrich Drepper <drepper@cygnus.com> | |
1655 | ||
1656 | * readelf.c (process_mips_specific): Print .conflict section | |
1657 | content. | |
1658 | ||
1659 | * readelf.c (process_mips_specific): Print l_flags in liblist in | |
1660 | textual form. | |
1661 | ||
1662 | 1998-11-30 Nick Clifton <nickc@cygnus.com> | |
1663 | ||
1664 | * ar.c (extract_file): Add some paranoia checks for negatively | |
1665 | sized files. | |
1666 | ||
1667 | Tue Nov 24 09:39:24 1998 Nick Clifton <nickc@cygnus.com> | |
1668 | ||
1669 | * stabs.c (DIR_SEPARATOR): Define as '\\' if WIN32 is defined. | |
1670 | ||
1671 | Tue Nov 17 10:25:26 1998 Nick Clifton <nickc@cygnus.com> | |
1672 | ||
1673 | * Makefile.in: Regenerate. | |
1674 | ||
1675 | Mon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com> | |
1676 | ||
1677 | * po/binutils.pot: Regenerate. | |
1678 | ||
1679 | Mon Nov 16 10:18:53 1998 Nick Clifton <nickc@cygnus.com> | |
1680 | ||
1681 | * Makefile.am: Regernated dependencies. | |
1682 | * aclocal.m4: Regenerated. | |
1683 | * configure: Regenerated. | |
1684 | ||
1685 | Sat Nov 14 14:50:56 1998 Ian Lance Taylor <ian@cygnus.com> | |
1686 | ||
1687 | * debug.c (debug_name_type): Correct return type from false to | |
1688 | DEBUG_TYPE_NULL. | |
1689 | ||
1690 | Sat Nov 14 14:48:21 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
1691 | ||
1692 | * objdump.c (disassemble_data): Skip over relocs below start | |
1693 | address. | |
1694 | ||
1695 | Tue Nov 10 15:31:52 1998 Nick Clifton <nickc@cygnus.com> | |
1696 | ||
1697 | * Makefile.am: Add dependency of readelf.c on elf/fr30.h | |
1698 | * Makefile.in: Regenerate. | |
1699 | ||
1700 | Wed Nov 4 16:25:55 1998 Nick Clifton <nickc@cygnus.com> | |
1701 | ||
1702 | * readelf.c: Add support for the FR30. | |
1703 | ||
1704 | Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com> | |
1705 | ||
1706 | * configure.in: detect cygwin* instead of cygwin32* | |
1707 | * configure: regenerate | |
1708 | ||
1709 | Fri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com> | |
1710 | ||
1711 | * dllwrap.c: change all references to cygwin32_ to cygwin_, | |
1712 | change Cygwin target def to CYGWIN. | |
1713 | ||
1714 | Wed Oct 28 10:31:19 1998 Nick Clifton <nickc@cygnus.com> | |
1715 | ||
1716 | * objdump.c (disassemble_data): Replace 'unsigned long' with | |
1717 | 'bfd_vma'. | |
1718 | ||
1719 | Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com> | |
1720 | ||
1721 | * objdump.c (disassemble_bytes): Applied this patch from Philip | |
1722 | Blundell <pb@nexus.co.uk>: Make address variables unsigned to | |
1723 | avoid problems when disassembling code at high-bit-set addresses. | |
1724 | ||
1725 | Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> | |
1726 | ||
1727 | * dllwrap.c (strhash): New function. | |
1728 | (main): Use it to supply image base if not supplied by user. | |
1729 | (program_version): Up to 0.2.4. | |
1730 | ||
1731 | Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> | |
1732 | ||
1733 | * dlltool.c (add_stdcall_alias): New global. | |
1734 | (long_options): Add --add-stdcall-alias option. | |
1735 | (main): Handle it. | |
1736 | (scan_drectve_symbols): Add alias if --add-stdcall-alias is | |
1737 | specified. | |
1738 | (scan_filtered_symbols): Likewise. | |
1739 | (gen_def_file): Output alias for stdcall syms if appropriate. | |
1740 | ||
1741 | * binutils.texi (dlltool): Document --add-stdcall-alias option. | |
1742 | ||
1743 | * dllwrap.c (long_options): Add --add-stdcall-alias option. | |
1744 | (main): Handle it. | |
1745 | ||
1746 | * defparse.y (opt_name): Allow "." in name. | |
1747 | * dlltool.c (def_name): Set dll_name from NAME entry in def file. | |
1748 | (def_library): Set dll_name from LIBRARY entry in def file. | |
1749 | ||
1750 | Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> | |
1751 | ||
1752 | * dllwrap.c (long_options): --implib synonym for --output-lib. | |
1753 | (main): Pass --export-all to dlltool only if specified. | |
1754 | (program_version): Up to 0.2.3. | |
1755 | ||
1756 | Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> | |
1757 | ||
1758 | * dllwrap.c (mybasename): New function. | |
1759 | (main): Run dlltool to create export definition file and import | |
1760 | library file if necessary. | |
1761 | Change exp_file_name so that it's based on the dll name. | |
1762 | ||
1763 | Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu> | |
1764 | ||
1765 | * dlltool.c (scan_all_symbols): Fix patch error. | |
1766 | ||
1767 | Fri Oct 16 22:56:20 1998 Felix Lee <flee@cygnus.com> | |
1768 | ||
1769 | * nm.c (display_rel_file): fix "no symbols" messages. | |
1770 | * objdump.c (slurp_symtab): ditto. | |
1771 | * po/POTFILES.in, po/binutils.pot: rebuilt | |
1772 | ||
1773 | Mon Oct 12 14:28:03 1998 Nick Clifton <nickc@cygnus.com> | |
1774 | ||
1775 | * readelf.c (dump_relocations): Rename field from Value to Info to | |
1776 | match name of field in ELF structures. | |
1777 | ||
1778 | Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> | |
1779 | ||
1780 | * configure.in: call AC_EXEEXT instead of AM_EXEEXT and | |
1781 | AM_CYGWIN32. | |
1782 | * aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros. | |
1783 | * configure: regenerate | |
1784 | ||
1785 | Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> | |
1786 | ||
1787 | From Mumit Khan <khan@xraylith.wisc.edu>: | |
1788 | * dlltool.c (scan_all_symbols): Don't re-export symbols exported | |
1789 | by other DLLs. | |
1790 | ||
1791 | Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> | |
1792 | ||
1793 | * Makefile.am (BUILD_DLLWRAP): Add. | |
1794 | (BUILD_DLLWRAP, DLLWRAP_PROG): Add. | |
1795 | (bin_PROGRAMS): Add dllwrap. | |
1796 | * Makefile.in: regenerate with automake | |
1797 | ||
1798 | From Mumit Khan <khan@xraylith.wisc.edu>: | |
1799 | * dllwrap.c: New file from dllhelpers v0.2.1. | |
1800 | (print_version): New function. | |
1801 | (long_options): Add --version. | |
1802 | (main): Handle. | |
1803 | * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc. | |
1804 | * configure.in (BUILD_DLLWRAP): Add. | |
1805 | * configure: Regenerate. | |
1806 | ||
1807 | Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com> | |
1808 | ||
1809 | * Makefile.am (windres_SOURCES): Add resres.c. | |
1810 | (windres_OBJECTS): Add resres.o. | |
1811 | * Makefile.in: regenerate with automake | |
1812 | ||
1813 | From Anders Norlander <anorland@hem2.passagen.se>. | |
1814 | * resres.c: New file. Implementation of read_res_file and | |
1815 | write_res_file functions for windres. | |
1816 | * rcparse.y: Handle CONTROL's with named classes. | |
1817 | * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog | |
1818 | when dialog is extended: The version and signature fields should | |
1819 | be reversed (despite what the docs say). Id is 32 bits long in | |
1820 | extended dialogs. | |
1821 | * resrc.c (write_rc_dialog): properly print controls with named | |
1822 | classes. | |
1823 | * windres.c (read_res_file, write_res_file): Remove stubs. | |
1824 | * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR. | |
1825 | ||
1826 | Sun Oct 4 20:34:42 1998 Ian Lance Taylor <ian@cygnus.com> | |
1827 | ||
1828 | From Nokubi Hirotaka <hnokubi@yyy.or.jp>: | |
1829 | * objcopy.1: Fix typo in --remove-leading-char docs. | |
1830 | * objdump.1: Fix formatting in --stabs docs. | |
1831 | ||
1832 | Sat Sep 19 23:33:56 1998 Ian Lance Taylor <ian@cygnus.com> | |
1833 | ||
1834 | * rcparse.y (memflags_move): Correct recursion. | |
1835 | ||
1836 | 1998-09-10 Ulrich Drepper <drepper@cygnus.com> | |
1837 | ||
1838 | * readelf.c (process_symbol_table): Print in histogram how many | |
1839 | symbols are covered by the current chain length. | |
1840 | ||
1841 | Sun Sep 6 16:15:47 1998 Nick Clifton <nickc@cygnus.com> | |
1842 | ||
1843 | * readelf.c (process_section_contents): Do not try to dump empty | |
1844 | sections. | |
1845 | ||
1846 | Sat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu> | |
1847 | ||
1848 | * dlltool.c (scan_all_symbols): Don't re-export symbols exported | |
1849 | by other DLLs. | |
1850 | ||
1851 | 1998-09-02 14:50 Ulrich Drepper <drepper@cygnus.com> | |
1852 | ||
1853 | * readelf.c (process_dynamic_segment): Print DT_* value only if | |
1854 | do_dynamic. | |
1855 | (do_histogram): New variable. | |
1856 | (options): New long option histogram. Set do_histogram if this | |
1857 | option is used. | |
1858 | (usage): Document --histogram. | |
1859 | (parse_args): Handle 0 return value from getopt_long. Enable | |
1860 | do_histogram for -a. | |
1861 | (process_symbol_table): Read hash table also if only do_histogram. | |
1862 | Add code to print hash table histogram. | |
1863 | ||
1864 | 1998-08-25 16:45 Ulrich Drepper <drepper@cygnus.com> | |
1865 | ||
1866 | * readelf.c (process_dynamic_segment): Read syminfo section if | |
1867 | available. | |
1868 | (process_syminfo): New function. Print syminfo information. | |
1869 | (process_file): Call process_syminfo and free syminfo data at the end. | |
1870 | ||
1871 | Wed Aug 19 16:19:51 1998 Ian Lance Taylor <ian@cygnus.com> | |
1872 | ||
1873 | * dlltool.c (usage): Add file parameter. Change all callers. | |
1874 | (main): Don't treat '?' as a special case in getopt return. | |
1875 | ||
1876 | * binutils.texi (dlltool): Document new options. Add some uses of | |
1877 | @var. | |
1878 | ||
1879 | Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu> | |
1880 | ||
1881 | * dlltool.c (gen_def_file): Plug memory leak. Don't print | |
1882 | demangled name if it is NULL. | |
1883 | ||
1884 | Support for exporting all symbols to an output export def file: | |
1885 | * dlltool.c ({export_all_symbols, no_default_excludes, | |
1886 | no_default_excludes, excludes}): New file static variables. | |
1887 | (struct string_list): Type to hold list of symbols to exclude. | |
1888 | (scan_drectve_symbols): Renamed from scan_open_obj_file. | |
1889 | (scan_filtered_symbols): New static function. | |
1890 | (add_excludes): New static function. | |
1891 | (match_exclude): New static function. | |
1892 | (set_default_excludes): New static function. | |
1893 | (filter_symbols): New static function. | |
1894 | (scan_all_symbols): New static function. | |
1895 | (scan_open_obj_file): New static function. | |
1896 | (usage): Document new options. | |
1897 | (long_options): Add new options. | |
1898 | (main): Handle new options. | |
1899 | ||
1900 | 1998-07-31 21:24 Ulrich Drepper <drepper@cygnus.com> | |
1901 | ||
1902 | * readelf.c (process_program_headers): Print p_offset value with | |
1903 | six hex digits. | |
1904 | (dynamic_segment_mips_val): Add support for DT_MIPS_FLAGS, | |
1905 | DT_MIPS_IVERSION, and DT_MIPS_TIME_STAMP. | |
1906 | (process_mips_specific): Also print seconds of time stamp. | |
1907 | ||
1908 | Fri Jul 31 10:04:23 1998 Catherine Moore <clm@cygnus.com> | |
1909 | ||
1910 | * readelf.c (dump_relocations): EM_ARM uses rela relocs. | |
1911 | ||
1912 | 1998-07-30 16:25 Ulrich Drepper <drepper@cygnus.com> | |
1913 | ||
1914 | * readelf.c (get_dynamic_type): Don't used gettext on the names. | |
1915 | Add new DT_* values from Solaris. Don't print nuemric value in | |
1916 | case of an unknown entry. | |
1917 | (process_dynamic_segment): Handle new DT_* entries. Print numeric | |
1918 | values in decimal, not hex. | |
1919 | ||
1920 | Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com> | |
1921 | ||
1922 | * readelf.c (get_dynamic_type): Remove empty default from switch | |
1923 | statement. | |
1924 | ||
1925 | Fri Jul 24 16:28:12 1998 Ian Lance Taylor <ian@cygnus.com> | |
1926 | ||
1927 | * Makefile.am (install-exec-local): Don't remove the file before | |
1928 | checking whether $(bindir) == $(tooldir)/bin. From Maciej | |
1929 | W. Rozycki <macro@ds2.pg.gda.pl>. | |
1930 | * Makefile.in: Rebuild. | |
1931 | ||
1932 | Fri Jul 24 09:38:59 1998 Nick Clifton <nickc@cygnus.com> | |
1933 | ||
1934 | * objcopy.c: Removed spurious inclusion of elf/internal.h and | |
1935 | elf-bfd.h. | |
1936 | ||
1937 | 1998-07-22 Ulrich Drepper <drepper@cygnus.com> | |
1938 | ||
1939 | * readelf.c: Consistantly use elf_ prefix for *_reloc_type | |
1940 | functions. | |
1941 | ||
1942 | Wed Jul 22 16:29:12 1998 Nick Clifton <nickc@cygnus.com> | |
1943 | ||
1944 | * readelf.c (dump_relocations): Add dumps of HPPA and ARC | |
1945 | relocations. | |
1946 | ||
1947 | (process_relocs): Do not abort if no string table can be found. | |
1948 | ||
1949 | 1998-07-22 14:58 Ulrich Drepper <drepper@cygnus.com> | |
1950 | ||
1951 | * readelf.c: Remove definition of functions to return relocation | |
1952 | symbol strings. They now get implicitly defined when include the | |
1953 | system specific ELF header. | |
1954 | ||
1955 | 1998-07-22 13:51 Ulrich Drepper <drepper@cygnus.com> | |
1956 | ||
1957 | * readelf.c: Before include system specific ELF header define | |
1958 | START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. For now | |
1959 | used for ppc, mips, and mn10300. | |
1960 | ||
1961 | Wed Jul 22 10:26:32 1998 Nick Clifton <nickc@cygnus.com> | |
1962 | ||
1963 | * readelf.c (dump_relocations): Display number of unrecognised | |
1964 | relocations. | |
1965 | ||
1966 | 1998-07-21 13:13 Ulrich Drepper <drepper@cygnus.com> | |
1967 | ||
1968 | * readelf.c: Use symbolic names of relocation entries for the various | |
1969 | architectures. Correct more layout details. | |
1970 | Print names of MIPS specific section types. Print Alpha, ARM, and | |
1971 | MIPS relocation type names. | |
1972 | ||
1973 | 1998-07-20 Vladimir N. Makarov <vmakarov@cygnus.com> | |
1974 | ||
1975 | * objcopy.c (filter_symbols): Add code for strip all symbols case. | |
1976 | (copy_objects): Strip all case is now processed also through | |
1977 | filter_symbols. No marking symbols used in relocations when strip | |
1978 | all symbols case. | |
1979 | (copy_section): When strip all symbols case, remove relocations | |
1980 | which are not in keep strip specific list. | |
1981 | (strip_main): Remove guard `strip_specific_list == NULL' for | |
1982 | setting up strip all symbols by default. | |
1983 | ||
1984 | Mon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
1985 | ||
1986 | * addr2line.c (find_address_in_section): Only consider a section | |
1987 | if the pc value is completely contained within it. | |
1988 | (translate_addresses): Don't crash if functionname or filename are | |
1989 | null. | |
1990 | ||
1991 | 1998-07-20 07:45 Ulrich Drepper <drepper@cygnus.com> | |
1992 | ||
1993 | * readelf.c (process_symbol_table): Fix little alignment problem | |
1994 | in printed table header. | |
1995 | ||
1996 | 1998-07-20 07:14 Ulrich Drepper <drepper@cygnus.com> | |
1997 | ||
1998 | * readelf.c: Correct reading of .dynamic section. | |
1999 | (dynamic_section): Now a global variable. | |
2000 | (process_mips_fpe_exception, process_mips_specific, | |
2001 | process_arch_specific): New functions. | |
2002 | (get_file_header): Call process_arch_specific. | |
2003 | ||
2004 | 1998-07-19 15:15 Ulrich Drepper <drepper@cygnus.com> | |
2005 | ||
2006 | * readelf.c: Fix several versioning related bugs. Produce nicer | |
2007 | output. | |
2008 | Add support for processor specific information on MIPS. | |
2009 | ||
2010 | Fri Jul 10 15:57:58 1998 Nick Clifton <nickc@cygnus.com> | |
2011 | ||
2012 | * readelf.c: Switch prototypes from unsigned short to unsigned | |
2013 | int. | |
2014 | ||
2015 | Fri Jul 10 16:17:50 1998 Ian Lance Taylor <ian@cygnus.com> | |
2016 | ||
2017 | From Christian Holland <CHolland@de.lucent.com>: | |
2018 | * ieee.c (parse_ieee): Initialize info.global_vars and | |
2019 | info.global_types. | |
2020 | (parse_ieee_atn): Ignore register lifetime information reportedly | |
2021 | emitted by MRI compiler. | |
2022 | ||
2023 | Thu Jul 9 13:08:01 1998 Ian Lance Taylor <ian@cygnus.com> | |
2024 | ||
2025 | * Makefile.am (MAINTAINERCLEANFILES): Define. | |
2026 | * Makefile.in: Rebuild. | |
2027 | ||
2028 | Tue Jul 7 21:48:54 1998 Jeffrey A Law (law@cygnus.com) | |
2029 | ||
2030 | * readelf.c (byte_get): Use PARAMS in prototype. | |
2031 | (error): Make it work with non-ANSI compilers. | |
2032 | (warn): Likewise. | |
2033 | (get_ver_flags): Don't use an ANSI prototype in the definition. | |
2034 | ||
2035 | Tue Jul 7 13:26:13 1998 Ian Lance Taylor <ian@cygnus.com> | |
2036 | ||
2037 | * objcopy.c (filter_bytes): Set size correctly if the size of the | |
2038 | section is not an even multiple of the interleave. Based on patch | |
2039 | from Brion Stone <Brion.Stone@attws.com>. | |
2040 | ||
2041 | Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de> | |
2042 | ||
2043 | * configure.com: Add vax/vms support. | |
2044 | * makefile.vms-in: Renamed from makefile.vms. Add substitutions | |
2045 | now done by configure.com. | |
2046 | ||
2047 | Wed Jul 1 20:43:52 1998 Ian Lance Taylor <ian@cygnus.com> | |
2048 | ||
2049 | * stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed | |
2050 | integers with real upper bounds. Handle a lower bound one larger | |
2051 | than the upper bound as a signed integer. Handle 8 byte signed | |
2052 | integers. | |
2053 | (stab_demangle_template): Optionally return the demangled name of | |
2054 | the template. | |
2055 | (stab_demangle_qualified): Treat a template name as a tagged | |
2056 | type. | |
2057 | (stab_demangle_fund_type): Likewise. | |
2058 | ||
2059 | Wed Jul 1 16:29:50 1998 Nick Clifton <nickc@cygnus.com> | |
2060 | ||
2061 | * objcopy.c: Minor formatting improvements. | |
2062 | * readelf.c: Minor output formatting improvement. | |
2063 | ||
2064 | Wed Jul 1 14:23:48 1998 Ian Lance Taylor <ian@cygnus.com> | |
2065 | ||
2066 | * rclex.l: Add casts and change types to avoid warnings. | |
2067 | * rcparse.y: Likewise. | |
2068 | * resbin.c: Likewise. | |
2069 | * rescoff.c: Likewise. | |
2070 | * resrc.c: Likewise. | |
2071 | ||
2072 | * Makefile.am: Rebuild dependencies. | |
2073 | (HFILES): Remove readelf.h. | |
2074 | * Makefile.in: Rebuild. | |
2075 | ||
2076 | Based on patches from Andrew Kozin | |
2077 | <Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>: | |
2078 | * winduni.h: New file, from windres.h. | |
2079 | * winduni.c: New file, from windres.c. | |
2080 | * windres.c: Move Unicode functions into winduni.c. | |
2081 | * windres.h: Move Unicode declarations into winduni.h. Include | |
2082 | winduni.h. | |
2083 | (RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows | |
2084 | macro. Change all uses. | |
2085 | (RT_PLUGPLAY, RT_VXD): Correct values. | |
2086 | * Makefile.am (HFILES): Add windres.h. | |
2087 | (CFILES): Add winduni.c. | |
2088 | (windres_SOURCES): Add winduni.c. | |
2089 | ||
2090 | Mon Jun 29 17:01:21 1998 Nick Clifton <nickc@cygnus.com> | |
2091 | ||
2092 | * readelf.c: Use BFD Internal and External Elf structures. | |
2093 | * readelf.h: Removed - no longer needed. | |
2094 | * Makefile.in: Remove readelf.c's dependency upon readelf.h. | |
2095 | ||
2096 | 1998-06-26 Vladimir N. Makarov <vmakarov@cygnus.com> | |
2097 | ||
2098 | * objcopy.c (strip_main): keep_specific_list == NULL as additional | |
2099 | condition to set up strip all symbols by default. | |
2100 | (copy_archive): don't change archive when error in object files of | |
2101 | the archive. | |
2102 | ||
2103 | Wed Jun 24 17:53:47 1998 Ian Lance Taylor <ian@cygnus.com> | |
2104 | ||
2105 | * stabs.c (parse_number): Sign extend negative values correctly if | |
2106 | bfd_vma is larger than unsigned long. | |
2107 | ||
2108 | Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com> | |
2109 | ||
2110 | * Makefile.am (install-exec-local): Don't let EXEEXT interfere | |
2111 | with the program transform name. | |
2112 | * Makefile.in: Rebuild. | |
2113 | ||
2114 | Tue Jun 23 11:08:53 1998 Nick Clifton <nickc@cygnus.com> | |
2115 | ||
2116 | * readelf.c: Rewrite to use fopen/fread ratehr than mmap. | |
2117 | ||
2118 | Add --section-headers command line switch, which is an alias for | |
2119 | --sections. | |
2120 | ||
2121 | Incorporate improvemnts made by Andreas Schwab | |
2122 | <schwab@issan.informatik.uni-dortmund.de> including output | |
2123 | formatting and version info display. | |
2124 | ||
2125 | * binutils.texi: Document --section-headers switch to readelf. | |
2126 | ||
2127 | Mon Jun 22 18:28:19 1998 Ian Lance Taylor <ian@cygnus.com> | |
2128 | ||
2129 | * readelf.c: Include bfd.h and bucomm.h before system header | |
2130 | files. | |
2131 | (parse_args): Change type of c from char to int. | |
2132 | ||
2133 | Sun Jun 14 14:26:28 1998 Nick Clifton <nickc@cygnus.com> | |
2134 | ||
2135 | * readelf.c (usage): Write to stdout, not stderr. | |
2136 | ||
2137 | Fri Jun 12 13:33:51 1998 Tom Tromey <tromey@cygnus.com> | |
2138 | ||
2139 | * po/Make-in (all-yes): Depend on .pot file if maintainer mode | |
2140 | enabled. | |
2141 | ($(PACKAGE).pot): Unconditionally depend on POTFILES. | |
2142 | ||
2143 | Fri Jun 12 16:06:15 1998 Michael Meissner <meissner@cygnus.com> | |
2144 | ||
2145 | * readelf.c (get_ppc_rel_type): New PowerPC support. | |
2146 | (dump_relocations): PowerPC uses RELA relocations. | |
2147 | (get_machine_name): Spell PowerPC correctly. | |
2148 | (get_file_type): Change unsigned short parameter to unsigned. | |
2149 | (get_machine_name): Ditto. | |
2150 | (get_machine_data): Return whether big endian or little endian. | |
2151 | (get_machine_flags): Interpret PowerPC, M32R, and MIPS flags. | |
2152 | (process_elf_header): Print endian-ess. Convert all numeric | |
2153 | formats to long or unsigned long. Print out machine specific flag | |
2154 | bits. | |
2155 | (process_section_headers): Increase name by 3 columns and decrease | |
2156 | type by the same so that .gcc_except_table fits in the space. | |
2157 | ||
2158 | * readelf.h: Include elf/ppc.h, elf/mips.h, and elf/m32r.h to get | |
2159 | machine specific flag bits. | |
2160 | ||
2161 | Thu Jun 11 17:54:26 1998 Nick Clifton <nickc@cygnus.com> | |
2162 | ||
2163 | * readelf.c: Remove extraneous #includes. Fix warnings produced | |
2164 | by -Wall when compiling under Linux. | |
2165 | ||
2166 | * Makefile.am (readelf_LDADD): Add $(LIBIBERTY). | |
2167 | ||
2168 | Thu Jun 11 18:30:20 1998 Ian Lance Taylor <ian@cygnus.com> | |
2169 | ||
2170 | * stabs.c (struct stab_handle): Add self_crossref field. | |
2171 | (parse_stab_string): If a tag is a cross reference to itself, | |
2172 | don't define it in the tags list. | |
2173 | (parse_stab_type): Set info->self_crossref. | |
2174 | ||
2175 | * debug.c (struct debug_type_real_list): Define. | |
2176 | (debug_get_real_type): Add list parameter. Change all callers. | |
2177 | Check for circularity to avoid crashing when it occurs. | |
2178 | ||
2179 | Thu Jun 11 14:48:32 1998 Nick Clifton <nickc@cygnus.com> | |
2180 | ||
2181 | * readelf.c: New file: Display contents of ELF format file. | |
2182 | * readelf.h: New file: Header file for readelf.c | |
2183 | * Makefile.am: Add rules to build readelf. | |
2184 | * Makefile.in: Rebuilt. | |
2185 | * binutils.texi: Document readelf. | |
2186 | * NEWS: Mention inclusion of readelf into binutils. | |
2187 | * po/POTFILES.in; Rebuilt. | |
2188 | ||
2189 | Fri Jun 5 18:43:40 1998 Ian Lance Taylor <ian@cygnus.com> | |
2190 | ||
2191 | * objcopy.c (setup_section): Adjust the section size if copy_byte | |
2192 | is >= 0. | |
2193 | (copy_section): Do not call bfd_set_section_size. | |
2194 | ||
2195 | Thu Jun 4 09:12:27 1998 Nick Clifton <nickc@cygnus.com> | |
2196 | ||
2197 | * objcopy.c (copy_usage): Add missing \n\ from help description. | |
2198 | ||
2199 | Wed Jun 3 19:31:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
2200 | ||
2201 | * Makefile.am (YACC): Correct bison -L option. | |
2202 | * Makefile.in: Rebuild. | |
2203 | ||
2204 | * binutils.texi, objdump.1: Document -p/--private-headers. | |
2205 | ||
2206 | Wed Jun 3 12:09:40 1998 Nick Clifton <nickc@cygnus.com> | |
2207 | ||
2208 | * objcopy.c: Add new command line options: --change-section-lma | |
2209 | and --change-section-vma. Rename old command line option | |
2210 | --adjust-section-vma to --change-section-address. Rename | |
2211 | --adjust-vma to --change-addresses and --adjust-start to | |
2212 | --change-start. Provide aliases to support the old versions of | |
2213 | these command line options. | |
2214 | ||
2215 | Change the names of macros and enum elements to upper case to | |
2216 | match the GNU coding standard. | |
2217 | ||
2218 | Replace calls to fprintf (stderr,...) with calls to fatal () or | |
2219 | non_fatal () as appropriate. | |
2220 | ||
2221 | * objcopy.1: Document command line option changes. | |
2222 | * binutils.texi: Document command line option changes. | |
2223 | ||
2224 | * bucomm.h: New exported funtion from bucomm.c: non_fatal(). | |
2225 | * bucomm.c (non_fatal): New exported function. Just like fatal() | |
2226 | except that it returns rather than calling xexit(). | |
2227 | ||
2228 | (bfd_check_format_matches): Call fatal() rather than bfd_fatal(). | |
2229 | ||
2230 | (check_matching_formats): Fix C formating. | |
2231 | ||
2232 | (parse_vma): Call fatal(). | |
2233 | ||
2234 | Mon Jun 1 18:26:40 1998 Ian Lance Taylor <ian@cygnus.com> | |
2235 | ||
2236 | From Yuli Barcohen <yuli.barcohen@telrad.co.il>: | |
2237 | * debug.c (debug_type_samep): Avoid endless loops comparing | |
2238 | function and method parameter types. | |
2239 | ||
2240 | Fri May 22 14:02:42 1998 Ian Lance Taylor <ian@cygnus.com> | |
2241 | ||
2242 | * dlltool.c (dump_iat): Comment out; not used. | |
2243 | (display): Rename from tell. Change all callers. | |
2244 | ||
2245 | Thu May 14 14:00:56 1998 Nick Clifton <nickc@cygnus.com> | |
2246 | ||
2247 | * dlltool.c: Add support for Thumb DLLs. Add support for | |
2248 | interworking between ARM and Thumb programs and DLLs. Tidy the | |
2249 | code. | |
2250 | ||
2251 | * binutils.texi: Document dlltool. | |
2252 | ||
2253 | * configure: Build dlltool for thumb-pe targets. | |
2254 | ||
2255 | * version.c (print_version): Include 1998 in copyright strings. | |
2256 | ||
2257 | * stabs.c (parse_stab): Support Win32 style directory separators. | |
2258 | ||
2259 | Sun May 10 22:34:44 1998 Jeffrey A Law (law@cygnus.com) | |
2260 | ||
2261 | * po/Make-in (install-info): New target. | |
2262 | ||
2263 | Fri May 8 10:33:13 1998 Nick Clifton <nickc@cygnus.com> | |
2264 | ||
2265 | * ar.c (usage): Extend information provided about command line | |
2266 | options. | |
2267 | ||
2268 | Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de> | |
2269 | ||
2270 | * makefile.vms: Run dec c with /nodebug. Pass CC value when | |
2271 | calling make. | |
2272 | ||
2273 | Tue May 5 15:19:00 1998 Nick Clifton <nickc@cygnus.com> | |
2274 | ||
2275 | * configure: Build dlltool for thumb-pe target. | |
2276 | * configure.in: Build dlltool for thumb-pe target. | |
2277 | ||
2278 | Sun May 3 22:04:49 1998 Ian Lance Taylor <ian@cygnus.com> | |
2279 | ||
2280 | * Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf | |
2281 | sysdump coffdump to avoid extra $(EXEEXT). | |
2282 | * Makefile.in: Rebuild. | |
2283 | ||
2284 | Wed Apr 29 22:22:55 1998 Geoffrey Noer <noer@cygnus.com> | |
2285 | ||
2286 | * configure.in: Stop appending EXEEXT to the end of | |
2287 | SRCONV_PROG (wrong because that variable may contain multiple | |
2288 | programs) | |
2289 | * Makefile.am: instead, add EXEEXTs to each SRCONV_PROG | |
2290 | program | |
2291 | * Makefile.in: regenerate | |
2292 | * configure: regenerate | |
2293 | ||
2294 | Tue Apr 28 19:14:34 1998 Tom Tromey <tromey@cygnus.com> | |
2295 | ||
2296 | * addr2line.c (main): Conditionally call setlocale. | |
2297 | * windres.c (main): Likewise. | |
2298 | * sysdump.c (main): Likewise. | |
2299 | * strings.c (main): Likewise. | |
2300 | * srconv.c (main): Likewise. | |
2301 | * size.c (main): Likewise. | |
2302 | * objdump.c (main): Likewise. | |
2303 | * objcopy.c (main): Likewise. | |
2304 | * nm.c (main): Likewise. | |
2305 | * nlmconv.c (main): Likewise. | |
2306 | * dlltool.c (main): Likewise. | |
2307 | * coffdump.c (main): Likewise. | |
2308 | * ar.c (main): Likewise. | |
2309 | * bucomm.h: Include <locale.h> if HAVE_LOCALE_H. | |
2310 | (LC_MESSAGES): Now can be defined even when ENABLE_NLS. | |
2311 | ||
2312 | Tue Apr 28 10:33:07 1998 Bill Moyer <ttk@cygnus.com> | |
2313 | ||
2314 | Add support for IMPORTS: | |
2315 | * defparse.y (impline): Add IMPORTS syntaxes. | |
2316 | * dlltool.c (ifunctype, iheadtype): New typedefs. | |
2317 | (import_list): New static variable. | |
2318 | (append_import): New static function. | |
2319 | (def_import): Add an entry to import_list. | |
2320 | (generate_idata_ofile): New static function. | |
2321 | (gen_exp_file): Call generate_idata_ofile. | |
2322 | * dlltool.h (def_import): Update declaration. | |
2323 | ||
2324 | Mon Apr 27 16:39:22 1998 Ian Lance Taylor <ian@cygnus.com> | |
2325 | ||
2326 | * configure.in: Change version number to 2.9.4 | |
2327 | * configure: Rebuild. | |
2328 | ||
2329 | Wed Apr 22 16:00:35 1998 Tom Tromey <tromey@cygnus.com> | |
2330 | ||
2331 | * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). | |
2332 | ||
2333 | Wed Apr 22 00:33:56 1998 Tom Tromey <tromey@scribbles.cygnus.com> | |
2334 | ||
2335 | * Makefile.am (INCLUDES): Search intl dirs for headers; define | |
2336 | LOCALEDIR. | |
2337 | * addr2line.c (main): Call setlocale, bindtextdomain, textdomain. | |
2338 | * ar.c (main): Likewise. | |
2339 | * coffdump.c (main): Likewise. | |
2340 | * dlltool.c (main): Likewise. | |
2341 | * nlmconv.c (main): Likewise. | |
2342 | * nm.c (main): Likewise. | |
2343 | * objcopy.c (main): Likewise. | |
2344 | * objdump.c (main): Likewise. | |
2345 | * size.c (main): Likewise. | |
2346 | * srconv.c (main): Likewise. | |
2347 | * strings.c (main): Likewise. | |
2348 | * sysdump.c (main): Likewise. | |
2349 | * windres.c (main): Likewise. | |
2350 | ||
2351 | Tue Apr 21 22:13:08 1998 Tom Tromey <tromey@scribbles.cygnus.com> | |
2352 | ||
2353 | * Many files: Added gettext invocations around user-visible | |
2354 | strings. | |
2355 | * bucomm.h: Added gettext-related includes and defines. | |
2356 | * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, | |
2357 | HAVE_LC_MESSAGES): Define. | |
2358 | * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and | |
2359 | po/Makefile. Use AM_PROG_LEX. | |
2360 | * Makefile.am (SUBDIRS): New macro. | |
2361 | (POTFILES): Likewise. | |
2362 | (po/POTFILES.in): New target. | |
2363 | (LDADD): Added INTLLIBS. | |
2364 | (objdump_LDADD): Likewise. | |
2365 | (c__filt_LDADD): Likewise. | |
2366 | (ar_LDADD): Likewise. | |
2367 | (ranlib_LDADD): Likewise. | |
2368 | (dlltool_LDADD): Likewise. | |
2369 | (windres_LDADD): Likewise. | |
2370 | * po/Make-in, po/POTFILES.in, po/binutils.pot: New files. | |
2371 | ||
2372 | Tue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz> | |
2373 | ||
2374 | * objcopy.c (preserve_dates): New file static variable. | |
2375 | (smart_rename): If preserve_dates, call set_times when copying. | |
2376 | (strip_main): Remove preserve_dates local variable. | |
2377 | (copy_main): Likewise. | |
2378 | ||
2379 | Tue Apr 7 15:41:15 1998 Ian Lance Taylor <ian@cygnus.com> | |
2380 | ||
2381 | * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c, | |
2382 | rcparse.h, and rcparse.c | |
2383 | * Makefile.in: Rebuild. | |
2384 | ||
2385 | Mon Apr 6 16:24:35 1998 Ian Lance Taylor <ian@cygnus.com> | |
2386 | ||
2387 | * Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that | |
2388 | Makefile.in doesn't have an empty continuation line. | |
2389 | (bin_PROGRAMS): Likewise. | |
2390 | * Makefile.in: Rebuild. | |
2391 | ||
2392 | Fri Apr 3 14:48:42 1998 Ian Lance Taylor <ian@cygnus.com> | |
2393 | ||
2394 | * Makefile.am (DISTCLEANFILES): Add site.exp and site.bak. | |
2395 | (MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*. | |
2396 | (mostlyclean-local): New target. | |
2397 | * Makefile.in: Rebuild. | |
2398 | ||
2399 | Wed Apr 1 15:54:16 1998 Ian Lance Taylor <ian@cygnus.com> | |
2400 | ||
2401 | From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu | |
2402 | <hjl@gnu.org>: | |
2403 | * ar.c (usage): Mention S modifier. | |
2404 | (main): Add S modifier. | |
2405 | * ar.1, binutils.texi: Document S modifier. | |
2406 | ||
2407 | Wed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
2408 | ||
2409 | * binutils.texi: Use @itemx for a secondary item in a table. | |
2410 | ||
2411 | Tue Mar 31 18:44:13 1998 Ian Lance Taylor <ian@cygnus.com> | |
2412 | ||
2413 | * dep-in.sed: Add rule to remove @OBJDIR@. | |
2414 | * Makefile.am (dep.sed): Substitute for @OBJDIR@. | |
2415 | * Makefile.in: Rebuild. | |
2416 | ||
2417 | Mon Mar 30 12:47:18 1998 Ian Lance Taylor <ian@cygnus.com> | |
2418 | ||
2419 | * configure.in: Set version to 2.9.1. | |
2420 | * configure: Rebuild. | |
2421 | ||
2422 | * Branched binutils 2.9. | |
2423 | ||
2424 | * Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h, | |
2425 | rcparse.h, and nlmheader.h. | |
2426 | * Makefile.in: Rebuild. | |
2427 | ||
2428 | Sat Mar 28 17:39:27 1998 Ian Lance Taylor <ian@cygnus.com> | |
2429 | ||
2430 | * Makefile.am (MOSTLYCLEANFILES): Define. | |
2431 | * Makefile.in: Rebuild. | |
2432 | ||
2433 | Fix some gcc -Wall warnings: | |
2434 | * nlmconv.c (main): Add casts to avoid warnings. | |
2435 | (alpha_mangle_relocs): Likewise. | |
2436 | * objdump.c (dump_section_stabs): Likewise. | |
2437 | * size.c (print_sysv_format): Likewise. | |
2438 | * srcconv.c (wr_ob): Likewise. | |
2439 | * wrstabs.c (stab_modify_type): Likewise. | |
2440 | (stab_variable): Likewise. | |
2441 | * nlmconv.c (main): Initialize variables to avoid warnings. | |
2442 | * nm.c (sort_symbols_by_size): Likewise. | |
2443 | * objdump.c (disassemble_bytes): Likewise. | |
2444 | * wrstabs.c (stab_end_class_type): Likewise. | |
2445 | * coffgrok.c (do_sections_p2): Change j to unsigned int. | |
2446 | (do_lines): Change l to unsigned int. | |
2447 | * nlmheader.y (yylex): Change i to unsigned int. | |
2448 | * nm.c (print_symbol): Change j to long. | |
2449 | * size.c (lprint_number): Comment out. | |
2450 | * srconv.c (wr_ob): Change i to bfd_size_type. | |
2451 | * sysdump.c (unit_info_list): Comment out. | |
2452 | (object_body_list, program_structure, debug_list): Likewise. | |
2453 | * sysinfo.y (yyerror): Return value. | |
2454 | ||
2455 | Thu Mar 26 17:06:51 1998 Richard Henderson <rth@cygnus.com> | |
2456 | ||
2457 | * defparse.y (explist): Allow epsilon. | |
2458 | Suggestion from Jonathan-Harris@psion.com. | |
2459 | ||
2460 | Thu Mar 26 16:59:09 1998 Richard Henderson <rth@cygnus.com> | |
2461 | ||
2462 | * coffgrok.c (do_sections_p1): Use the section's lma instead of vma | |
2463 | for the benefit of prom loaders. | |
2464 | ||
2465 | Wed Mar 25 13:05:39 1998 Ian Lance Taylor <ian@cygnus.com> | |
2466 | ||
2467 | Based on patch from H.J. Lu <hjl@gnu.org>: | |
2468 | * Makefile.am (DISTSTUFF): New variable. | |
2469 | (diststuff): New target. | |
2470 | (DISTCLEANFILES): New variable. | |
2471 | * Makefile.in: Rebuild. | |
2472 | ||
2473 | Tue Mar 24 19:33:08 1998 Ian Lance Taylor <ian@cygnus.com> | |
2474 | ||
2475 | * rclex.l: Accept { and } as synonyms for BEGIN and END. | |
2476 | ||
2477 | Fri Mar 20 19:18:08 1998 Ian Lance Taylor <ian@cygnus.com> | |
2478 | ||
2479 | * aclocal.m4, configure: Rebuild with libtool 1.2. | |
2480 | ||
2481 | Tue Feb 24 13:07:50 1998 Doug Evans <devans@canuck.cygnus.com> | |
2482 | ||
2483 | * objdump.c (disassemble_data): Delete "++place" after call to | |
2484 | find_symbol_for_address. Set disasm_info.symbols to array of | |
2485 | symbols at the current address. | |
2486 | ||
2487 | Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com> | |
2488 | ||
2489 | * Makefile.am (install-exec-local): Install properly when ln | |
2490 | fails or tooldir == prefix. | |
2491 | ||
2492 | Tue Feb 17 18:40:55 1998 Richard Henderson <rth@cygnus.com> | |
2493 | ||
2494 | * objcopy.c (compare_section_lma): Rename from _vma. | |
2495 | (copy_object): Gap fill based on LMA not VMA. | |
2496 | * binutils.texi: Update and clarify. | |
2497 | * objcopy.1: Likewise. | |
2498 | ||
2499 | Tue Feb 17 20:34:11 1998 Ian Lance Taylor <ian@cygnus.com> | |
2500 | ||
2501 | * dlltool.c (gen_exp_file): Generate _imp__%s as well as __imp_%s, | |
2502 | for Microsoft compatibility. | |
2503 | (make_one_lib_file): Likewise. | |
2504 | ||
2505 | * dlltool.c (make_one_lib_file): Don't add 1 to hint. | |
2506 | ||
2507 | Fri Feb 13 16:37:44 1998 Ian Lance Taylor <ian@cygnus.com> | |
2508 | ||
2509 | * Makefile.am (AUTOMAKE_OPTIONS): Define. | |
2510 | * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. | |
2511 | ||
2512 | Thu Feb 12 14:13:46 1998 Ian Lance Taylor <ian@cygnus.com> | |
2513 | ||
2514 | * deflex.l: Accept '?' in symbol names, for VC++ mangled names. | |
2515 | From Mikey <jeffdb@netzone.com>. | |
2516 | ||
2517 | * addr2line.c (usage): Update bug-gnu-utils address. | |
2518 | * ar.c (usage): Likewise. | |
2519 | * nlmconv.c (show_usage): Likewise. | |
2520 | * nm.c (usage): Likewise. | |
2521 | * objcopy.c (copy_usage): Likewise. | |
2522 | (strip_usage): Likewise. | |
2523 | * objdump.c (usage): Likewise. | |
2524 | * size.c (usage): Likewise. | |
2525 | * strings.c (usage): Likewise. | |
2526 | * windres.c (usage): Likewise. | |
2527 | * binutils.texi (Bug Reporting): Likewise. | |
2528 | ||
2529 | Sat Feb 7 15:36:24 1998 Ian Lance Taylor <ian@cygnus.com> | |
2530 | ||
2531 | * configure, aclocal.m4: Rebuild with new libtool. | |
2532 | ||
2533 | Thu Feb 5 12:21:13 1998 Ian Lance Taylor <ian@cygnus.com> | |
2534 | ||
2535 | * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. | |
2536 | ||
2537 | Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com> | |
2538 | ||
2539 | * Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name | |
2540 | to transform. | |
2541 | * Makefile.in: Regenerate. | |
2542 | ||
2543 | Thu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu> | |
2544 | ||
2545 | * dlltool.c: Define exit status macros for _WIN32 but not | |
2546 | __CYGWIN32__. | |
2547 | (gen_lib_file): Check for exit status of unlink. | |
2548 | * resrc.c: Define popen and pclose if _WIN32 but not | |
2549 | __CYGWIN32__. | |
2550 | ||
2551 | Wed Jan 28 17:45:46 1998 Ian Lance Taylor <ian@cygnus.com> | |
2552 | ||
2553 | * configure.in: Remove vfork check. | |
2554 | * nlmconv.c: Never include vfork.h. | |
2555 | * aclocal.m4, configure, Makefile.in, config.in: Rebuild. | |
2556 | ||
2557 | Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> | |
2558 | ||
2559 | * objcopy.c (copy_archive): Only pass one argument to mkdir if | |
2560 | _WIN32 but not __CYGWIN32__. | |
2561 | (smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope | |
2562 | with different rename behaviour and lack of chown. | |
2563 | ||
2564 | * configure.in: Check for mingw32 when deciding whether to build | |
2565 | dlltool. | |
2566 | * dlltool.c: Never include vfork.h. | |
2567 | (run): Use pexecute rather than vfork. | |
2568 | (gen_lib_file): Check for errors from bfd_set_archive_head and | |
2569 | bfd_close. Close all the BFDs in the archive before deleting the | |
2570 | temporary files. | |
2571 | ||
2572 | Thu Jan 22 16:22:55 1998 Fred Fish <fnf@cygnus.com> | |
2573 | ||
2574 | * objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell | |
2575 | disassembly function there is a reloc on this line. | |
2576 | ||
2577 | Wed Jan 14 15:29:43 1998 Richard Henderson <rth@cygnus.com> | |
2578 | ||
2579 | * srconv.c (sh, h8300): Delete variables. | |
2580 | (addrsize, toolname, rnames): New variables. | |
2581 | (writeINT): Use addrsize. | |
2582 | (wr_un): Use toolname. | |
2583 | (wr_hd): Set up addrsize et al properly for h8300[hs]. | |
2584 | (walk_tree_symbol): Zero dsy. Use rnames. | |
2585 | (wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros. | |
2586 | * sysdump.c (sh, h8300): Delete variables. | |
2587 | (addrsize): New variable. | |
2588 | (getINT): Use it. | |
2589 | (getone): Initialize it. | |
2590 | (getBITS): Range check on MAX. | |
2591 | ||
2592 | Mon Dec 29 16:58:05 1997 Ian Lance Taylor <ian@cygnus.com> | |
2593 | ||
2594 | From Matthew Bellantoni <matthew@chrysalis.com>: | |
2595 | * ar.c (get_pos_bfd): Add default_posname parameter. Change all | |
2596 | callers. | |
2597 | (replace_members): Default to replacing in the same position. | |
2598 | ||
2599 | Mon Dec 22 11:27:22 1997 Ian Lance Taylor <ian@cygnus.com> | |
2600 | ||
2601 | * rclex.l: Don't permit a comma in a STRING. | |
2602 | * rcparse.y (acc_entry): Warn if an inappropriate modifier is used | |
2603 | with a non VIRTKEY. | |
2604 | (acc_event): For a control character, set VIRTKEY, and force the | |
2605 | character to uppercase. | |
2606 | (acc_options): Don't require a comma separator. | |
2607 | ||
2608 | Tue Dec 9 13:25:42 1997 Michael Meissner <meissner@cygnus.com> | |
2609 | ||
2610 | * size.c (size_number): New function to provide size of field. | |
2611 | ({l,r}print_number): For octal and hex fields, print field using | |
2612 | '0' and '0x' suffixes. Do not include following tab. | |
2613 | (sysv_internal_sizer): Size section name, section size, and vma | |
2614 | address fields. | |
2615 | (sysv_internal_printer): Use calculated sizes for the columns. | |
2616 | (print_sysv_format): Size columns before printing. | |
2617 | (print_berkeley_format): Print tabs between numbers now that | |
2618 | {l,r}print_number doesn't. Print fields right justified. | |
2619 | ||
2620 | Mon Dec 8 11:22:04 1997 Nick Clifton <nickc@cygnus.com> | |
2621 | ||
2622 | * objdump.c (objdump_print_addr_with_sym): Remove call to | |
2623 | disasm_symaddr() as this function no longer exists. | |
2624 | ||
2625 | Tue Dec 2 10:23:50 1997 Nick Clifton <nickc@cygnus.com> | |
2626 | ||
2627 | * objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr() | |
2628 | to allow backend to know which symbol has just been displayed. | |
2629 | ||
2630 | Tue Dec 2 13:06:46 1997 Ian Lance Taylor <ian@cygnus.com> | |
2631 | ||
2632 | * windres.h (ESCAPE_*): Define standard escape sequences. | |
2633 | * rclex.l (handle_quotes): Handle standard escape sequences. Warn | |
2634 | about an unrecognized escape character. | |
2635 | * windres.c (unicode_print): Print standard escape sequences. | |
2636 | * rcparse.y (acc_event): Initialize $$.next. | |
2637 | * resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or | |
2638 | MENUITEM_ENDMENU in the menu item flags. | |
2639 | (bin_to_res_accelerators): Allocate a structure (the old code | |
2640 | never worked). | |
2641 | (res_to_bin_accelerator): Correct the test for setting ACC_LAST. | |
2642 | (res_to_bin_dialog): Save the extended style rather than saving | |
2643 | the style twice. Remove useless shadowing length variable. Set | |
2644 | the length of control data correctly. | |
2645 | * resrc.c (write_rc_dialog): Don't print the class or menu if the | |
2646 | string length is zero. | |
2647 | ||
2648 | Mon Nov 24 18:52:43 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
2649 | ||
2650 | * stabs.c (parse_stab_argtypes): Don't try to parse the name of a | |
2651 | destructor as mangled argument types. | |
2652 | ||
2653 | Mon Nov 10 17:51:41 1997 Gavin Koch <gavin@cygnus.com> | |
2654 | ||
2655 | * addr2line.c (translate_addresses): Use bfd_scan_vma rather | |
2656 | than strtol to scan addresses. | |
2657 | ||
2658 | Sun Nov 9 11:01:31 1997 Jeffrey A Law (law@cygnus.com) | |
2659 | ||
2660 | * Makefile.am (bin_PROGRAMS): Don't use line continuations here. | |
2661 | ||
2662 | Tue Nov 4 11:56:14 1997 Ian Lance Taylor <ian@cygnus.com> | |
2663 | ||
2664 | * objcopy.c (copy_section): Don't crash if there is no particular | |
2665 | information for a section. | |
2666 | ||
2667 | Mon Nov 3 12:36:19 1997 Ian Lance Taylor <ian@cygnus.com> | |
2668 | ||
2669 | * objcopy.c (parse_flags): Make flag check case insensitive. | |
2670 | Check for `contents' flag. Give an error for unrecognized flags. | |
2671 | (copy_section): If the contents flag was set for a section that | |
2672 | had no contents, zero out the new contents. | |
2673 | * binutils.texi (objcopy): Document contents section flag. | |
2674 | ||
2675 | Sun Nov 2 14:49:56 1997 Ian Lance Taylor <ian@cygnus.com> | |
2676 | ||
2677 | * objcopy.c: Move new struct and variable definitions to top of | |
2678 | file. Remove obsolete add_strip_symbol and is_strip_symbol | |
2679 | declarations. Add prototype declarations for add_specific_symbol | |
2680 | and is_specified_symbol. | |
2681 | ||
2682 | Mon Oct 20 15:31:43 1997 Klaus K"ampf <kkaempf@progis.de> | |
2683 | ||
2684 | * configure.com (HAVE_SBRK): Undefine. | |
2685 | ||
2686 | Tue Oct 14 16:14:35 1997 Nick Clifton <nickc@cygnus.com> | |
2687 | ||
2688 | * objdump.c (objdump_symbol_at_address): New function. Returns | |
2689 | true if a symbol can be found at the address passed in. | |
2690 | (disassemble_data): Set the symbol_at_address_func field to point | |
2691 | to objdump_symbol_at_address. | |
2692 | ||
2693 | Fri Oct 10 14:13:09 1997 Richard Henderson <rth@cygnus.com> | |
2694 | ||
2695 | * objcopy.c, objcopy.1, binutils.texi: "localize" is a better name | |
2696 | than "privatize". Update all references. | |
2697 | ||
2698 | Thu Oct 9 15:57:29 1997 Ian Lance Taylor <ian@cygnus.com> | |
2699 | ||
2700 | * binutils.texi (strip): Remove duplicate --target. From Marty | |
2701 | Leisner <leisner@sdsp.mc.xerox.com>. | |
2702 | ||
2703 | * nm.c (lineno_cache_bfd): New file static variable. | |
2704 | (lineno_cache_rel_bfd): New file static variable. | |
2705 | (display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd | |
2706 | when closing a BFD. | |
2707 | (display_file): Likewise. | |
2708 | (print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd | |
2709 | instead of cache_bfd and cache_rel_bfd. Make seccount static, and | |
2710 | only set it when setting relocs. | |
2711 | ||
2712 | Wed Oct 8 21:19:11 1997 Richard Henderson <rth@cygnus.com> | |
2713 | ||
2714 | * objcopy.c (keep_specific_list, privatize_specific_list, | |
2715 | weaken_specific_list): New variables. | |
2716 | (keep_symbols): Removed. | |
2717 | (add_specific_symbol): New function from the carcas of | |
2718 | add_strip_symbol. Takes a list as an argument. | |
2719 | (is_specified_symbol): Likewise from is_strip_symbol. | |
2720 | (filter_symbols): Honor the new privatize and weaken lists. | |
2721 | Optimize bfd_asymbol_name handling. | |
2722 | (copy_object, copy_options, copy_usage): Add privatize-symbol & | |
2723 | weaken-symbol options. | |
2724 | ||
2725 | * objcopy.1, binutils.texi: Update docs. | |
2726 | ||
2727 | Sun Oct 5 09:05:44 1997 Frank Ch. Eigler <fche@cygnus.com> | |
2728 | ||
2729 | * objdump.c (disassemble_data): Make "--prefix-addresses" | |
2730 | disassembly adjust to mixed-length instructions. | |
2731 | (objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal | |
2732 | symbol-offsets in disassembly. | |
2733 | ||
2734 | Fri Oct 3 12:04:25 1997 Ian Lance Taylor <ian@cygnus.com> | |
2735 | ||
2736 | * objcopy.c (set_times): New static function, replacing | |
2737 | make_same_dates. | |
2738 | (strip_main): If preserve_dates, stat the input file before | |
2739 | copying it, and call set_times afterward. | |
2740 | (copy_main): Likewise. | |
2741 | ||
2742 | * wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to | |
2743 | char * when calling strcpy and strlen. | |
2744 | ||
2745 | Wed Sep 24 11:34:05 1997 Ian Lance Taylor <ian@cygnus.com> | |
2746 | ||
2747 | * binutils.texi (ar cmdline): Document that q now works like r. | |
2748 | From Marty Leisner <leisner@sdsp.mc.xerox.com>. | |
2749 | ||
2750 | * binutils.texi (size): The object file argument is optional. | |
2751 | From Marty Leisner <leisner@sdsp.mc.xerox.com>. | |
2752 | ||
2753 | * aclocal.m4: Rebuild with new libtool. | |
2754 | * configure: Rebuild. | |
2755 | ||
2756 | Tue Aug 26 17:48:34 1997 Ian Lance Taylor <ian@cygnus.com> | |
2757 | ||
2758 | * Makefile.am (EXEEXT_FOR_BUILD): New variable. Use it in all | |
2759 | references to the sysinfo program. | |
2760 | * configure.in: Rebuild with new bfd/acinclude.m4. | |
2761 | * Makefile.in: Rebuild. | |
2762 | ||
2763 | Fri Aug 8 15:32:49 1997 Ian Lance Taylor <ian@cygnus.com> | |
2764 | ||
2765 | * windres.c: Include <time.h>. | |
2766 | (define_resource): Set a timestamp for the resource. | |
2767 | ||
2768 | Wed Aug 6 13:37:58 1997 Ian Lance Taylor <ian@cygnus.com> | |
2769 | ||
2770 | * configure.in: Define TARGET in header file. | |
2771 | * acconfig.h (TARGET): Add #undef. | |
2772 | * Makefile.am (version.o, bucomm.o): Remove special targets. | |
2773 | * bucomm.c (target): Remove. | |
2774 | * nm.c (program_name): Don't declare. | |
2775 | (target): Make static. | |
2776 | * size.c (target): Make static. | |
2777 | * configure, config.in, Makefile.in: Rebuild. | |
2778 | ||
2779 | Tue Aug 5 00:01:41 1997 Ian Lance Taylor <ian@cygnus.com> | |
2780 | ||
2781 | * Makefile.am (check-DEJAGNU): Export r. | |
2782 | (.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS). | |
2783 | * Makefile.in: Rebuild. | |
2784 | ||
2785 | * nlmheader.y: Use VERSIONK rather than VERSION. | |
2786 | ||
2787 | * Makefile.am (STRIP_PROG): Change from strip.new to strip-new. | |
2788 | (NM_PROG): Change from nm.new to nm-new. | |
2789 | (TOOL_PROGS, install-exec-local): Adjust accordingly. | |
2790 | * Makefile.in: Rebuild. | |
2791 | ||
2792 | Mon Aug 4 11:47:31 1997 Ian Lance Taylor <ian@cygnus.com> | |
2793 | ||
2794 | * configure.in: Remove AC_ARG_PROGRAM; it's invoked by | |
2795 | AM_INIT_AUTOMAKE. | |
2796 | * configure: Rebuild. | |
2797 | ||
2798 | * Makefile.am (install-exec-local): Create $(tooldir)/bin before | |
2799 | trying to install anything into it. | |
2800 | * Makefile.in: Rebuild. | |
2801 | ||
2802 | * Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT). | |
2803 | (install-exec-local): When handling $(noinst_PROGRAMS), only use | |
2804 | $(EXEEXT) on the installed file. When handling $(TOOL_PROGS), | |
2805 | handle $(EXEEXT) correctly. | |
2806 | * configure.in: Add an explicit $(EXEEXT) when substituting for | |
2807 | the name of a program to build. | |
2808 | * Makefile.in, configure: Rebuild. | |
2809 | ||
2810 | * aclocal.m4, configure, Makefile.in: Rebuild with new automake | |
2811 | patches. | |
2812 | ||
2813 | * deflex.l, defparse.y: Use VERSIONK rather than VERSION. | |
2814 | * rclex.l, rcparse.y: Likewise. | |
2815 | * Makefile.am (windres_SOURCES): Add $(BULIBS). | |
2816 | * Makefile.in: Rebuild. | |
2817 | ||
2818 | Fri Aug 1 13:08:39 1997 Ian Lance Taylor <ian@cygnus.com> | |
2819 | ||
2820 | * acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4. | |
2821 | * aclocal.m4, configure: Rebuild with new libtool. | |
2822 | ||
2823 | Thu Jul 31 11:51:35 1997 Ian Lance Taylor <ian@cygnus.com> | |
2824 | ||
2825 | * Makefile.am: New file, based on old Makefile.in. | |
2826 | * acinclude.m4: New file, from old aclocal.m4. | |
2827 | * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove | |
2828 | shared library handling; now handled by libtool. Replace | |
2829 | AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, | |
2830 | AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and | |
2831 | AM_EXEEXT. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. Remove | |
2832 | stamp-h handling in AC_OUTPUT. | |
2833 | * acconfig.h: Mention PACKAGE and VERSION. | |
2834 | * stamp-h.in: New file. | |
2835 | * Makefile.in: Now built with automake. | |
2836 | * aclocal.m4: Now built with aclocal. | |
2837 | * config.in, configure: Rebuild. | |
2838 | ||
2839 | From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>: | |
2840 | * rcparse.y (dialog): Default menu and class to be named. | |
2841 | (styles): If FONT is seen, set DS_SETFONT in dialog style. | |
2842 | * resbin.c (res_to_bin_dialog): Correct computation of font | |
2843 | information length. | |
2844 | ||
2845 | Wed Jul 30 11:21:06 1997 Ian Lance Taylor <ian@cygnus.com> | |
2846 | ||
2847 | From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>: | |
2848 | * resbin.c (res_to_bin_menu): Correct computation of menu | |
2849 | vs. menuex length. | |
2850 | * resrc.c (define_stringtable): Add 1 to resource ID. | |
2851 | ||
2852 | Tue Jul 29 11:06:03 1997 Ian Lance Taylor <ian@cygnus.com> | |
2853 | ||
2854 | * resbin.c (bin_to_res_string): Correct adjustment of data and | |
2855 | length. From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>. | |
2856 | ||
2857 | Tue Jul 22 18:01:23 1997 Ian Lance Taylor <ian@cygnus.com> | |
2858 | ||
2859 | * nlmconv.c (link_inputs): Call libiberty pexecute function. | |
2860 | (pexecute) [multiple versions]: Remove. | |
2861 | ||
2862 | Tue Jul 22 16:19:34 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> | |
2863 | ||
2864 | * bucomm.c (make_tempname): If we might be using a DOS filesystem, | |
2865 | check for a backslash as well as a slash. | |
2866 | ||
2867 | Thu Jun 26 13:53:17 1997 Ian Lance Taylor <ian@cygnus.com> | |
2868 | ||
2869 | * windres.c (main): Quit if we didn't get any resources. | |
2870 | (usage): Fix --yydebug usage message. | |
2871 | * rescoff.c (write_coff_file): Don't free the relocation array | |
2872 | until after we've closed the BFD. | |
2873 | (read_coff_rsrc): Quit rather than try to read standard input. | |
2874 | (write_coff_file): Quit rather than try to write to standard | |
2875 | output. | |
2876 | * rcparse.y: Add a couple of missing semicolons (accepted by bison | |
2877 | but not byacc). | |
2878 | * binutils.texi: Document windres. | |
2879 | ||
2880 | Wed Jun 25 20:57:06 1997 Ian Lance Taylor <ian@cygnus.com> | |
2881 | ||
2882 | * resbin.c: New file. | |
2883 | * rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h: | |
2884 | Numerous fixes and improvements. | |
2885 | * Makefile.in: Rebuild dependencies. | |
2886 | (CFILES): Add resbin.c. | |
2887 | (WINDRES_OBJS): Add resbin.o. | |
2888 | ||
2889 | Sun Jun 22 17:29:41 1997 Ian Lance Taylor <ian@cygnus.com> | |
2890 | ||
2891 | First stab at Windows resource compiler: | |
2892 | * windres.h: New file. | |
2893 | * windres.c: New file. | |
2894 | * resrc.c: New file. | |
2895 | * rcparse.y: New file. | |
2896 | * rclex.l: New file. | |
2897 | * rescoff.c: New file. | |
2898 | * configure.in: Define and substitute BUILD_WINDRES. | |
2899 | * configure: Rebuild. | |
2900 | * Makefile.in: Rebuild dependencies. | |
2901 | (WINDRES_PROG): New variable. | |
2902 | (PROGS): Add @BUILD_WINDRES@. | |
2903 | (HFILES): Add dlltool.h and windres.h. | |
2904 | (CFILES): Add windres.c and resrc.c. | |
2905 | (GENERATED_CFILES): Add rcparse.c and rclex.c. | |
2906 | (WINDRES_OBJS): New variable. | |
2907 | $(WINDRES_PROG): New target. | |
2908 | (rcparse.c, rcparse.h, rclex.c): New targets. | |
2909 | ||
2910 | Thu Jun 12 12:27:51 1997 Ian Lance Taylor <ian@cygnus.com> | |
2911 | ||
2912 | * dlltool.c (export_type): Add data field. | |
2913 | (def_exports): Add data parameter. Change all callers. | |
2914 | (dump_def_info): Print data field. | |
2915 | (gen_def_file): Likewise. | |
2916 | (make_one_lib_file): Handle data field by not emitting simple | |
2917 | label and not emitting anything in SEC_TEXT. | |
2918 | (dtab): Print data field. | |
2919 | (process_duplicates): Merge data field. | |
2920 | * dlltool.h (def_exports): Update declaration. | |
2921 | * defparse.y (expline): Accept opt_DATA. Pass it to def_exports. | |
2922 | (opt_DATA): New non-terminal. | |
2923 | ||
2924 | Wed Jun 11 17:15:47 1997 Ian Lance Taylor <ian@cygnus.com> | |
2925 | ||
2926 | * dlltool.h: New file. | |
2927 | * deflex.l: Include dlltool.h and libiberty.h. Don't declare | |
2928 | strdup. Use xstrdup rather than strdup. | |
2929 | * defparse.y: Include bfd.h, bucomm.h, and dlltool.h. | |
2930 | * dlltool.c: Include dlltool.h and time.h. Make a lot of | |
2931 | variables and functions static. Make a lot of char * variables | |
2932 | and parameters const. Add declarations for static functions. Do | |
2933 | some reindenting. Hide more PowerPC stuff inside DLLTOOL_PPC. | |
2934 | ||
2935 | Wed Jun 11 12:05:52 1997 H.J. Lu <hjl@gnu.ai.mit.edu> | |
2936 | ||
2937 | * ar.c (bfd_special_undocumented_glue): Add const. | |
2938 | ||
2939 | Mon May 12 22:09:35 1997 Bob Manson <manson@charmed.cygnus.com> | |
2940 | ||
2941 | * Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET | |
2942 | to runtest. | |
2943 | ||
2944 | Mon May 12 13:14:22 1997 Ian Lance Taylor <ian@cygnus.com> | |
2945 | ||
2946 | * configure.in: Don't clear OPCODES when --enable-commonbfdlib is | |
2947 | used on HP/UX. | |
2948 | * configure: Rebuild. | |
2949 | ||
2950 | Fri Apr 25 14:22:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu> | |
2951 | ||
2952 | * Makefile.in (maintainer-clean realclean): Change *.info* | |
2953 | to binutils.info* to save sysroff.info. | |
2954 | ||
2955 | Tue Apr 15 13:42:22 1997 Ian Lance Taylor <ian@cygnus.com> | |
2956 | ||
2957 | * Makefile.in (INSTALL): Set to @INSTALL@. | |
2958 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. | |
2959 | (install): Depend upon installdirs. Use $(program_transform_name) | |
2960 | directly, rather than using $(INSTALL_XFORM) and | |
2961 | $(INSTALL_XFORM1). | |
2962 | (installdirs): New target. | |
2963 | (install-info): Run mkinstalldirs. | |
2964 | ||
2965 | Mon Apr 14 11:52:39 1997 Ian Lance Taylor <ian@cygnus.com> | |
2966 | ||
2967 | * Makefile.in (INSTALL): Change install.sh to install-sh. | |
2968 | ||
2969 | From Thomas Graichen <graichen@rzpd.de>: | |
2970 | * Makefile.in: Always use $(SHELL) when running move-if-change. | |
2971 | * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. | |
2972 | * configure: Rebuild. | |
2973 | ||
2974 | Fri Apr 4 13:28:02 1997 Ian Lance Taylor <ian@cygnus.com> | |
2975 | ||
2976 | * configure.in: Add AC_FUNC_ALLOCA. | |
2977 | * configure, config.in: Rebuild. | |
2978 | * bucomm.h: Add alloca handling, copied from gas/as.h. | |
2979 | * dlltool.c: Add #pragma alloca for AIX to start of file. | |
2980 | * nlmconv.c: Likewise. | |
2981 | ||
2982 | * Makefile.in (distclean): Remove site.exp and site.bak. Remove | |
2983 | everything that clean removes. | |
2984 | ||
2985 | Thu Apr 3 13:18:39 1997 Ian Lance Taylor <ian@cygnus.com> | |
2986 | ||
2987 | * Makefile.in (VERSION): Set to 2.8.1. | |
2988 | ||
2989 | * Branched binutils 2.8. | |
2990 | ||
2991 | Tue Apr 1 16:21:44 1997 Klaus Kaempf <kkaempf@progis.de> | |
2992 | ||
2993 | * configure.com: New file. | |
2994 | * config.h-vms: Remove file. | |
2995 | * makefile.vms: Update for new configure scheme. | |
2996 | ||
2997 | Mon Mar 31 15:30:43 1997 Philippe De Muyter <phdm@info.ucl.ac.be> | |
2998 | ||
2999 | * objcopy.c (make_same_dates): Use statbuf, not buf, if not | |
3000 | HAVE_GOOD_UTIME_H. | |
3001 | ||
3002 | Fri Mar 28 17:57:53 1997 Alan Modra <alan@spri.levels.unisa.edu.au> | |
3003 | ||
3004 | * Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice. | |
3005 | * configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set, | |
3006 | set OPCODES to empty. | |
3007 | * configure: Rebuild. | |
3008 | ||
3009 | Thu Mar 27 16:03:02 1997 Ian Lance Taylor <ian@cygnus.com> | |
3010 | ||
3011 | Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>: | |
3012 | * objcopy.c: Include <utime.h> or <sys/time.h>. | |
3013 | (strip_options): Add "preserve-dates". | |
3014 | (copy_options): Likewise. | |
3015 | (copy_usage): Mention -p and --preserve-dates. | |
3016 | (strip_usage): Likewise. | |
3017 | (make_same_dates): New static function. | |
3018 | (strip_main): Handle -p. | |
3019 | (copy_main): Likewise. | |
3020 | * binutils.texi, strip.1, objcopy.1: Document new option. | |
3021 | ||
3022 | addr2line.c contributed by Ulrich Lauther | |
3023 | <Ulrich.Lauther@zfe.siemens.de>: | |
3024 | * addr2line.c: New file. | |
3025 | * Makefile.in: Rebuild dependencies. | |
3026 | (ADDR2LINE_PROG): New variable. | |
3027 | (MANPAGES): Add addr2line. | |
3028 | (PROGS): Add $(ADDR2LINE_PROG). | |
3029 | (CFILES): Add addr2line.c. | |
3030 | ($(ADDR2LINE_PROG)): New target. | |
3031 | * binutils.texi: Document addr2line. | |
3032 | * addr2line.1: New file. | |
3033 | ||
3034 | * version.c (print_version): Update copyright date. | |
3035 | ||
3036 | Mon Mar 24 10:52:45 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
3037 | ||
3038 | * objdump.c (disassemble_data): Don't exit if a file cannot be | |
3039 | disassembled, instead just return. | |
3040 | ||
3041 | Thu Mar 20 21:16:51 1997 Jeffrey A Law (law@cygnus.com) | |
3042 | ||
3043 | * size.c (usage): Make definition match its prototype. | |
3044 | (display_bfd, lprint_number, rprint_number): Likewise. | |
3045 | (print_berkeley_format, sysv_internal_printer): Likewise. | |
3046 | (print_sysv_format): Likewise. | |
3047 | * nm.c (set_print_radix, set_output_format): Likewise. | |
3048 | * objcopy.c (filter_bytes): Likewise. | |
3049 | ||
3050 | Tue Mar 18 16:39:55 1997 H.J. Lu <hjl@lucon.org> | |
3051 | ||
3052 | * Many files: Add function prototypes. | |
3053 | * ar.c (mri_emul, get_pos_bfd): Make static. | |
3054 | * arlex.l: Include "libiberty.h". Don't declare strdup. Use | |
3055 | xstrdup rather than strdup. | |
3056 | * arparse.y (yyerror): Make argument const. Correct typo. | |
3057 | * arsup.c (strdup): Don't declare. | |
3058 | (ar_save): Use xstrdup rather than strdup. | |
3059 | * filemode.c: Include "bucomm.h". | |
3060 | * nm.c (usage): Make static. | |
3061 | (print_symname): Make format and name const. | |
3062 | * objcopy.c (cat): Remove. | |
3063 | (copy_archive): Make output_target const. Use concat, not cat. | |
3064 | (copy_file, simple_copy, smart_rename): Make arguments const. | |
3065 | * objdump.c (read_section_stabs): Likewise. | |
3066 | (print_section_stabs): Likewise. | |
3067 | (display_target_tables): Don't declare getenv. | |
3068 | * strings.c (strings_object_file): Change file to const. | |
3069 | (print_strings): Change filename to const. | |
3070 | * Makefile.in: Rebuild dependencies. | |
3071 | ||
3072 | Tue Mar 18 11:37:24 1997 Ian Lance Taylor <ian@cygnus.com> | |
3073 | ||
3074 | * configure.in: Add BFD_NEED_DECLARATION(getenv). | |
3075 | * acconfig.h: Add NEED_DECLARATION_GETENV. | |
3076 | * bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV. | |
3077 | * configure, config.in: Rebuild. | |
3078 | * nlmconv.c (getenv): Don't declare. | |
3079 | ||
3080 | * Makefile.in: Rebuild dependencies. | |
3081 | ||
3082 | Sat Mar 15 15:35:56 1997 Ian Lance Taylor <ian@cygnus.com> | |
3083 | ||
3084 | Based on patches from Jamie Lokier <jamie@rebellion.co.uk>: | |
3085 | * objdump.c: Include "demangle.h". | |
3086 | (do_demangle): New static variable. | |
3087 | (usage): Mention -C/--demangle. | |
3088 | (long_options): Add "demangle". | |
3089 | (objdump_print_symname): New static function. | |
3090 | (objdump_print_addr_with_sym): Use objdump_print_symname. | |
3091 | (disassemble_bytes): Likewise. | |
3092 | (dump_reloc_set): Likewise. | |
3093 | (dump_symbols): Demangle symbol name. | |
3094 | (main): Handle -C. | |
3095 | * binutils.texi, objdump.1: Document -C/--demangle. | |
3096 | ||
3097 | * objdump.c (usage): Mention --no-show-raw-insn. | |
3098 | (long_options): Add "no-show-raw-insn". | |
3099 | (disassemble_bytes): Handle --no-show-raw-insn. | |
3100 | * binutils.texi, objdump.1: Document --no-show-raw-insn. | |
3101 | ||
3102 | Wed Mar 12 11:42:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
3103 | ||
3104 | * rddbg.c (free_saved_stabs): Set the strings to NULL after being | |
3105 | freed. | |
3106 | ||
3107 | Fri Feb 28 17:18:45 1997 Ian Lance Taylor <ian@cygnus.com> | |
3108 | ||
3109 | * bucomm.c (set_default_bfd_target): New function. | |
3110 | * bucomm.h (set_default_bfd_target): Declare. | |
3111 | * ar.c (main): Call set_default_bfd_target. | |
3112 | * nlmconv.c (main): Likewise. | |
3113 | * nm.c (main): Likewise. | |
3114 | * objcopy.c (main): Likewise. | |
3115 | * objdump.c (main): Likewise. | |
3116 | * size.c (main): Likewise. | |
3117 | * strings.c (main): Likewise. | |
3118 | * Makefile.in (bucomm.o): New target, to define TARGET. | |
3119 | ||
3120 | Tue Feb 25 21:28:38 1997 Ian Lance Taylor <ian@cygnus.com> | |
3121 | ||
3122 | * objdump.c (adjust_section_vma): New static variable. | |
3123 | (usage): Mention --adjust-section-vma. | |
3124 | (OPTION_ADJUST_VMA): Define. | |
3125 | (long_options): Add "addjust-vma". | |
3126 | (display_bfd): If adjust_section_vma is not 0, add it to all the | |
3127 | section addresses. | |
3128 | (main): Handle OPTION_ADJUST_VMA. | |
3129 | * binutils.texi, objdump.1: Document --adjust-vma. | |
3130 | ||
3131 | Fri Feb 14 18:46:47 1997 Ian Lance Taylor <ian@cygnus.com> | |
3132 | ||
3133 | * nm.c (print_symbol): Cache the BFD as well as the symbols and | |
3134 | relocs, and don't try to use the symbols or relocs with a | |
3135 | different BFD. | |
3136 | ||
3137 | Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf@progis.de) | |
3138 | ||
3139 | * config.h-vms: sbrk() is provided on openVMS/Alpha. | |
3140 | * makefile.vms: allow compiling with current gcc snapshot. | |
3141 | ||
3142 | Thu Feb 13 20:14:40 1997 Ian Lance Taylor <ian@cygnus.com> | |
3143 | ||
3144 | * arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather | |
3145 | than malloc. | |
3146 | ||
3147 | Wed Feb 12 16:12:02 1997 Ian Lance Taylor <ian@cygnus.com> | |
3148 | ||
3149 | * objdump.c (disassemble_data): Correct VMA argument to | |
3150 | find_symbol_for_address. Improve handling of code with no symbol | |
3151 | followed by code with a symbol. | |
3152 | ||
3153 | Wed Feb 12 12:16:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
3154 | ||
3155 | * objdump.c (disassemble_bytes): Make output of raw instructions | |
3156 | work better for non-standard values of bytes_per_chunk and | |
3157 | bytes_per_line. | |
3158 | ||
3159 | Thu Feb 6 14:14:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com> | |
3160 | ||
3161 | * objdump.c (disassemble_bytes): Added code to allow some control | |
3162 | over the way raw instructions are displayed. | |
3163 | ||
3164 | Thu Feb 6 12:36:03 1997 Ian Lance Taylor <ian@cygnus.com> | |
3165 | ||
3166 | * stabs.c (struct bincl_file): Add next_stack field. | |
3167 | (push_bincl): Put the new file on both bincl_list and | |
3168 | bincl_stack. Clear the file_types field. | |
3169 | (pop_bincl): Use the next_stack field when popping the stack. | |
3170 | Don't put the file on bincl_list. | |
3171 | (find_excl): Include the file name when warning about an unfound | |
3172 | N_EXCL. | |
3173 | ||
3174 | * debug.c (debug_type_samep): Don't crash if we are passed NULL. | |
3175 | ||
3176 | Thu Feb 6 11:54:24 1997 Alan Modra <alan@spri.levels.unisa.edu.au> | |
3177 | ||
3178 | * objcopy.1: Add missing space after .B. | |
3179 | ||
3180 | Fri Jan 31 10:33:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
3181 | ||
3182 | * objdump.c (disassemble_data): Initialize `aux.require_sec'. | |
3183 | ||
3184 | Wed Jan 29 13:21:21 1997 Ian Lance Taylor <ian@cygnus.com> | |
3185 | ||
3186 | * objdump.c (objdump_print_value): Add skip_zeroes parameter. | |
3187 | Change all callers. | |
3188 | (objdump_print_addr_with_sym): Likewise. Call objdump_print_value | |
3189 | to print address. | |
3190 | (objdump_print_addr): New static function. | |
3191 | (objdump_print_address): Just call objdump_print_addr. | |
3192 | (disassemble_bytes): Print real address, not function offset. | |
3193 | Skip a certain number of leading zeroes. | |
3194 | ||
3195 | * objdump.c (disassemble_zeroes): New static variable. | |
3196 | (usage): Mention --disassemble-zeroes. | |
3197 | (long_options): Add "disassemble-zeroes". | |
3198 | (disassemble_bytes): Check disassemble_zeroes. | |
3199 | ||
3200 | Tue Jan 28 16:47:26 1997 Ian Lance Taylor <ian@cygnus.com> | |
3201 | ||
3202 | * objdump.c (disassemble_bytes): Don't skip zeroes if the | |
3203 | disassembler has told us that we are in a branch delay slot. | |
3204 | ||
3205 | Mon Jan 20 14:24:04 1997 Ian Lance Taylor <ian@cygnus.com> | |
3206 | ||
3207 | * size.c (berkeley_sum): Rewrite. Skip sections which are not | |
3208 | SEC_ALLOC. Count SEC_READONLY sections as text. | |
3209 | ||
3210 | Tue Jan 14 15:14:14 1997 Ian Lance Taylor <ian@cygnus.com> | |
3211 | ||
3212 | * Makefile.in (maintainer-clean realclean): Remove *.info*, not | |
3213 | just *.info. From H.J. Lu <hjl@lucon.org>. | |
3214 | ||
3215 | Tue Dec 31 15:42:54 1996 Ian Lance Taylor <ian@cygnus.com> | |
3216 | ||
3217 | * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. | |
3218 | ||
3219 | Fri Dec 27 11:19:26 1996 Ian Lance Taylor <ian@cygnus.com> | |
3220 | ||
3221 | * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12. | |
3222 | * configure: Rebuild. | |
3223 | ||
3224 | Thu Dec 19 13:11:20 1996 Ian Lance Taylor <ian@cygnus.com> | |
3225 | ||
3226 | Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>: | |
3227 | * objcopy.c (OPTION_WEAKEN): Define. | |
3228 | (copy_options): Add "weaken". | |
3229 | (copy_usage): Mention --weaken. | |
3230 | (weaken): New static variable. | |
3231 | (filter_symbols): Handle weaken. | |
3232 | (copy_object): Call filter_symbols if weaken. | |
3233 | (copy_main): Handle OPTION_WEAKEN. | |
3234 | * binutils.texi, objcopy.1: Document --weaken. | |
3235 | ||
3236 | Wed Dec 18 22:49:13 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3237 | ||
3238 | * mpw-make.sed: Use NewFolderRecursive for installation. | |
3239 | ||
3240 | Sat Dec 7 10:17:25 1996 Jeffrey A Law (law@cygnus.com) | |
3241 | ||
3242 | * Makefile.in (install): Add "else true" clause to cater to | |
3243 | broken "make" on some systems. | |
3244 | ||
3245 | Fri Dec 6 17:21:41 1996 Ian Lance Taylor <ian@cygnus.com> | |
3246 | ||
3247 | * ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc | |
3248 | warning about uninitialized variable. | |
3249 | (ieee_read_cxx_class): Likewise, for pf. | |
3250 | (ieee_enum_type): Likewise, for i. | |
3251 | ||
3252 | Tue Nov 26 17:01:25 1996 Ian Lance Taylor <ian@cygnus.com> | |
3253 | ||
3254 | * wrstabs.c (stab_array_type): Add casts when printing | |
3255 | bfd_signed_vma values. | |
3256 | ||
3257 | * configure: Rebuild with autoconf 2.12. | |
3258 | ||
3259 | Mon Nov 25 16:53:18 1996 Ian Lance Taylor <ian@cygnus.com> | |
3260 | ||
3261 | * objdump.c (disassemble_data): Don't crash if there is no | |
3262 | symbol. | |
3263 | ||
3264 | Fri Nov 22 17:29:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
3265 | ||
3266 | * ar.c (open_inarch): Don't call bfd_openr with a null name. | |
3267 | ||
3268 | Fri Nov 1 12:08:13 1996 Ian Lance Taylor <ian@cygnus.com> | |
3269 | ||
3270 | * binutils.texi: Add section on reporting bugs. | |
3271 | ||
3272 | Thu Oct 31 18:20:53 1996 Ian Lance Taylor <ian@cygnus.com> | |
3273 | ||
3274 | * stabs.c (struct stab_handle): Add bincl_list field. | |
3275 | (parse_stab): Pass value to push_bincl. Call find_excl for | |
3276 | N_EXCL. | |
3277 | (struct bincl_file): Add hash, file and file_types fields. | |
3278 | (push_bincl): Add hash parameter. Save it in the new hash field. | |
3279 | Save the file number in the new file field. | |
3280 | (pop_bincl): Put the bincl_file on bincl_list, rather than freeing | |
3281 | it. Save the file types in the new file_types field. | |
3282 | (find_excl): New static function. | |
3283 | ||
3284 | * ieee.c (ieee_lineno): Don't compare line number addresses to | |
3285 | info->highaddr (undo part of October 28 patch). | |
3286 | ||
3287 | Tue Oct 29 16:40:22 1996 Ian Lance Taylor <ian@cygnus.com> | |
3288 | ||
3289 | * objdump.c (objdump_print_value): Don't print the empty string | |
3290 | for zero. | |
3291 | ||
3292 | Mon Oct 28 16:58:14 1996 Ian Lance Taylor <ian@cygnus.com> | |
3293 | ||
3294 | * stabs.c (struct stab_handle): Add function_end field. | |
3295 | (start_stab): Initialize function_end. | |
3296 | (finish_stab): Pass info->function_end to debug_end_function. | |
3297 | (parse_stab): If info->function_end is set, use it as the address | |
3298 | which ends a function. | |
3299 | ||
3300 | * ieee.c (ieee_array_type): Remember the correct size. | |
3301 | ||
3302 | * ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges | |
3303 | that are up to 0x1000 bytes apart, not just 64. | |
3304 | (ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less | |
3305 | than 0x100 bytes. | |
3306 | (ieee_lineno): Only emit line numbers that are less than | |
3307 | info->highaddr. | |
3308 | ||
3309 | Fri Oct 25 12:12:17 1996 Ian Lance Taylor <ian@cygnus.com> | |
3310 | ||
3311 | * ieee.c (struct ieee_defined_enum): Add defined field. | |
3312 | (ieee_enum_type): If the enum tag has been seen before but not | |
3313 | defined, reuse the same type index, and define it. | |
3314 | (ieee_tag_type): If this enum has not been defined, add an | |
3315 | undefined entry to the list of enums. | |
3316 | ||
3317 | * objdump.c (disassemble_bytes): Let the disassembler override the | |
3318 | number of bytes printed on a line. | |
3319 | ||
3320 | Thu Oct 24 16:42:10 1996 Ian Lance Taylor <ian@cygnus.com> | |
3321 | ||
3322 | * objdump.c (prefix_addresses): New static variable. | |
3323 | (long_options): Add "prefix-addresses". | |
3324 | (compare_symbols): Sort BSF_FUNCTION symbols before other | |
3325 | symbols. | |
3326 | (find_symbol_for_address): New static function, broken out of | |
3327 | objdump_print_address. | |
3328 | (objdump_print_addr_with_sym): New static function, broken out of | |
3329 | objdump_print_address. | |
3330 | (objdump_print_address): Call new functions. | |
3331 | (disassemble_bytes): New static function, broken out of | |
3332 | disassemble_data. Change disassembly format, unless | |
3333 | prefix_addresses is set. | |
3334 | (disassemble_data): Call disassemble_bytes. Unless | |
3335 | prefix_addresses is set, disassemble in chunks headed by a | |
3336 | symbol. | |
3337 | * binutils.texi, objdump.1: Document --prefix-addresses. | |
3338 | ||
3339 | * rddbg.c (read_section_stabs_debugging_info): Preserve the | |
3340 | backslash when concatenating multiple stabs strings. | |
3341 | ||
3342 | Thu Oct 10 11:36:31 1996 Doug Evans <dje@canuck.cygnus.com> | |
3343 | ||
3344 | * dlltool.c (scan_open_obj_file): Fix loop exit test. | |
3345 | Add missing parameter to def_exports. | |
3346 | ||
3347 | Tue Oct 8 12:06:17 1996 Ian Lance Taylor <ian@cygnus.com> | |
3348 | ||
3349 | * Makefile.in (LEX_OPTIONS): Set to empty string. -I -Cem is the | |
3350 | default for flex, and is not recognized by lex. | |
3351 | ||
3352 | Thu Oct 3 17:41:23 1996 Ian Lance Taylor <ian@cygnus.com> | |
3353 | ||
3354 | * binutils.texi (Target Selection): Document that you can now | |
3355 | specify targets using configuration triplets. | |
3356 | ||
3357 | * ar.c (usage): Declare. Make sure all callers pass an argument. | |
3358 | ||
3359 | Thu Oct 3 15:39:42 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
3360 | ||
3361 | * Makefile.in (clean): Remove config.log. | |
3362 | ||
3363 | Wed Oct 2 15:49:16 1996 Klaus Kaempf <kkaempf@progis.de> | |
3364 | ||
3365 | * makefile.vms: Bump version date. | |
3366 | ||
3367 | Tue Oct 1 15:00:59 1996 Ian Lance Taylor <ian@cygnus.com> | |
3368 | ||
3369 | * version.c (print_version): New function. | |
3370 | * bucomm.h (print_version): Declare. | |
3371 | * ar.c (program_version): Don't declare. | |
3372 | (do_show_version): Remove. | |
3373 | (usage): Add help parameter. Print bug report address. | |
3374 | (main): Set is_ranlib at start. Check for --help and --version. | |
3375 | Call print_version, not do_show_version. | |
3376 | * nlmconv.c (program_version): Don't declare. | |
3377 | (main): Call print_version. | |
3378 | (show_usage): Print bug report address. | |
3379 | * nm.c (program_version, print_version): Don't declare. | |
3380 | (usage): Print bug report address. | |
3381 | (main): Call print_version. | |
3382 | * objcopy.c (program_version): Don't declare. | |
3383 | (copy_usage): Print bug report address. | |
3384 | (strip_usage): Likewise. | |
3385 | (strip_main): Call print_version. | |
3386 | (copy_main): Likewise. | |
3387 | * objdump.c (program_version): Don't declare. | |
3388 | (usage): Print bug report address. | |
3389 | (main): Call print_version. | |
3390 | * size.c (program_version): Don't declare. | |
3391 | (usage): Print bug report address. | |
3392 | (main): Call print_version. | |
3393 | * strings.c (program_version): Don't declare. | |
3394 | (main): Call print_version. | |
3395 | (usage): Print bug report address. | |
3396 | * Makefile.in: Update dependencies. | |
3397 | ||
3398 | Thu Sep 19 14:53:15 1996 Ian Lance Taylor <ian@cygnus.com> | |
3399 | ||
3400 | * ieee.c: Revert Monday's reflocalp patch, and apply this patch | |
3401 | instead: | |
3402 | (write_ieee_debugging_info): Write a dummy type at the end of the | |
3403 | global type block. | |
3404 | ||
3405 | Mon Sep 16 15:30:54 1996 Ian Lance Taylor <ian@cygnus.com> | |
3406 | ||
3407 | * ieee.c (struct ieee_write_type): Add reflocalp field. | |
3408 | (ieee_pointer_type): Set reflocalp after pushing type. | |
3409 | (ieee_function_type): If reflocalp is set, make this type local. | |
3410 | (ieee_range_type, ieee_array_type, ieee_set_type): Likewise. | |
3411 | (ieee_const_type, ieee_volatile_type): Likewise. | |
3412 | (ieee_struct_field, ieee_class_baseclass): Likewise. | |
3413 | ||
3414 | * ieee.c (struct ieee_info): Add global_types field. | |
3415 | (parse_ieee_bb): When starting a BB1, initialize the types field | |
3416 | to the global_types field. | |
3417 | (parse_ieee_be): When ending a BB2, copy the types field to the | |
3418 | global_types field. | |
3419 | ||
3420 | Fri Sep 13 17:32:21 1996 Ian Lance Taylor <ian@cygnus.com> | |
3421 | ||
3422 | * objcopy.c (change_leading_char): New static variable. | |
3423 | (OPTION_CHANGE_LEADING_CHAR): Define. | |
3424 | (copy_options): Add "change-leading-char". | |
3425 | (copy_usage): Mention --change-leading-char. | |
3426 | (filter_symbols): Add obfd parameter. Change all callers. | |
3427 | Implement change_leading_char. | |
3428 | (copy_object): Call filter_symbols if change_leading_char. | |
3429 | (copy_main): Handle OPTION_CHANGE_LEADING_CHAR. | |
3430 | * binutils.texi, objcopy.1: Document --change-leading-char. | |
3431 | ||
3432 | Tue Sep 3 14:05:29 1996 Ian Lance Taylor <ian@cygnus.com> | |
3433 | ||
3434 | * ieee.c (ieee_enum_type): Don't check index into a NULL names | |
3435 | array. | |
3436 | * nm.c (sort_symbols_by_size): Always initialize next. | |
3437 | * rdcoff.c (parse_coff_type): Warn about an incomprehensible | |
3438 | type rather than crashing. | |
3439 | * rddbg.c (read_symbol_stabs_debugging_info): Initialize f. | |
3440 | * stabs.c (parse_stab_members): Set context in all cases. | |
3441 | ||
3442 | Thu Aug 29 16:56:52 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3443 | ||
3444 | * configure.in (i[345]86-*-*): Recognize i686 for pentium pro. | |
3445 | * configure: Regenerate. | |
3446 | ||
3447 | Thu Aug 29 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com> | |
3448 | ||
3449 | * objdump.c (L_tmpnam): Never define. | |
3450 | (display_target_list): Use choose_temp_base instead of tmpnam. | |
3451 | (display_info_table): Likewise. | |
3452 | ||
3453 | Tue Aug 27 18:15:01 1996 Ian Lance Taylor <ian@cygnus.com> | |
3454 | ||
3455 | * stabs.c (parse_stab): An N_FUN symbol with an empty string | |
3456 | indicates the end of a function. | |
3457 | ||
3458 | Thu Aug 22 17:08:00 1996 Ian Lance Taylor <ian@cygnus.com> | |
3459 | ||
3460 | * wrstabs.c (struct string_hash_entry): Add next field. | |
3461 | (struct stab_write_handle): Change strings to a pointer to | |
3462 | string_hash_entry. Add last_strings field. Remove strings_alloc | |
3463 | field. | |
3464 | (string_hash_newfunc): Initialize next field. | |
3465 | (stab_write_symbol): Copy string into hash table rather than into | |
3466 | buffer. Keep a list of hash table entries. | |
3467 | (write_stabs_in_sections_debugging_info): Initialize last_string. | |
3468 | Copy strings from list of hash table entries in memory. | |
3469 | (stab_modify_type): If the entry on the stack is a definition, | |
3470 | make a new definition rather than failing an assert. | |
3471 | (stab_array_type): The size is only zero if high is strictly less | |
3472 | than low. | |
3473 | ||
3474 | * ieee.c (struct ieee_info): Add saw_filename field. | |
3475 | (parse_ieee): Initialize saw_filename. | |
3476 | (parse_ieee_bb): Set saw_filename for a BB1 or BB2. In a BB1, | |
3477 | discard the current variables and types. In a BB10, if no | |
3478 | filename has been seen, call debug_set_filename. | |
3479 | (parse_ieee_ty): In case 'g', the type is optional. | |
3480 | ||
3481 | * prdbg.c (pr_fix_visibility): Don't abort on | |
3482 | DEBUG_VISIBILITY_IGNORE. | |
3483 | ||
3484 | * debug.c (debug_name_type): Correct error message. | |
3485 | ||
3486 | * configure.in: Substitute HLDENV. | |
3487 | * configure: Rebuild. | |
3488 | * Makefile.in (HLDENV): New variable. Use it whenever linking a | |
3489 | program. | |
3490 | ||
3491 | Thu Aug 15 19:30:41 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3492 | ||
3493 | * mpw-make.sed: Add symbolic doublequotes around the version | |
3494 | number. | |
3495 | ||
3496 | Thu Aug 8 12:27:52 1996 Klaus Kaempf <kkaempf@progis.de> | |
3497 | ||
3498 | * makefile.vms: Add better support for DEC C compilation. | |
3499 | Add new macros as in Makefile.in. | |
3500 | ||
3501 | Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be> | |
3502 | ||
3503 | * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. | |
3504 | * acconfig.h (NEED_DECLARATION_STRSTR): New macro. | |
3505 | (NEED_DECLARATION_SBRK): New macro. | |
3506 | * configure, config.in: Rebuild. | |
3507 | * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. | |
3508 | (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK. | |
3509 | ||
3510 | * prdbg.c (pr_end_struct_type): Avoid using a string constant in | |
3511 | assert, for the benefit of broken assert macros. | |
3512 | ||
3513 | Fri Jul 26 14:06:50 1996 Ian Lance Taylor <ian@cygnus.com> | |
3514 | ||
3515 | * objdump.c (disassemble_data): Set disasm_info.flavour from | |
3516 | abfd. | |
3517 | ||
3518 | Tue Jul 23 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com> | |
3519 | ||
3520 | * dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment | |
3521 | of .text section to 2. | |
3522 | ||
3523 | Mon Jul 22 08:46:15 1996 Stu Grossman (grossman@lisa.cygnus.com) | |
3524 | ||
3525 | * objdump.c (dump_section_stabs): Fix test for stabs sections | |
3526 | ending with numbers. This fixes a problem with .stab being | |
3527 | confused with .stab.index. | |
3528 | ||
3529 | Wed Jul 10 13:32:28 1996 Ian Lance Taylor <ian@cygnus.com> | |
3530 | ||
3531 | * stabs.c (stab_demangle_fund_type): Return a void * for a | |
3532 | template, rather than simply aborting. | |
3533 | ||
3534 | Mon Jul 8 15:28:05 1996 Ian Lance Taylor <ian@cygnus.com> | |
3535 | ||
3536 | * ar.c (open_inarch): Add file parameter. Change all callers. If | |
3537 | this is a newly created archive, set the target based on the | |
3538 | file. | |
3539 | * arsup.h (open_inarch): Update declaration. | |
3540 | ||
3541 | Thu Jul 4 12:00:55 1996 Ian Lance Taylor <ian@cygnus.com> | |
3542 | ||
3543 | * Makefile.in (VERSION): Set to cygnus-2.7.1. | |
3544 | ||
3545 | * Released binutils 2.7. | |
3546 | ||
3547 | * rdcoff.c (parse_coff): Get address to pass to debug_end_function | |
3548 | from function size, not value of .ef symbol. From Ning | |
3549 | Mosberger-Tang <ning@AZStarNet.com>. | |
3550 | ||
3551 | Sat Jun 29 21:18:09 1996 Ian Lance Taylor <ian@cygnus.com> | |
3552 | ||
3553 | * objcopy.c (strip_main): Add -o option, and handle it. | |
3554 | (strip_usage): Mention -o. | |
3555 | * binutils.texi, strip.1: Mention -o. | |
3556 | ||
3557 | Mon Jun 24 17:19:02 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
3558 | ||
3559 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, | |
3560 | INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values. | |
3561 | (docdir): Removed. | |
3562 | * configure.in (AC_PREREQ): Autoconf 2.5 or higher. | |
3563 | ||
3564 | Mon Jun 24 11:59:13 1996 Ian Lance Taylor <ian@cygnus.com> | |
3565 | ||
3566 | * objdump.c (endian): New static variable. | |
3567 | (usage): Mention -EB/-EL/--endian. | |
3568 | (long_options): Add "endian". | |
3569 | (disassemble_data): If endianness was specified, replace | |
3570 | abfd->xvec with a copy of itself with the given endianness. | |
3571 | (main): Handle -EB/-EL/--endian. | |
3572 | * binutils.texi, objdump.1: Mention -EB/-EL/--endian. | |
3573 | ||
3574 | * objdump.c: Make most variables and functions static. | |
3575 | ||
3576 | * configure.in: On alpha*-*-osf*, link against libbfd.a if not | |
3577 | using shared libraries. | |
3578 | * configure: Rebuild with autoconf 2.10. | |
3579 | ||
3580 | Sun Jun 23 14:47:36 1996 Kim Knuttila <krk@cygnus.com> | |
3581 | ||
3582 | * dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work. | |
3583 | (make_one_lib_file): Removed cruft. (#if 1) | |
3584 | ||
3585 | Wed Jun 19 14:46:38 1996 Ian Lance Taylor <ian@cygnus.com> | |
3586 | ||
3587 | * objdump.c (stabs): Change from struct internal_nlist * to | |
3588 | bfd_byte *. | |
3589 | (print_section_stabs): Fetch stabs information directly, rather | |
3590 | than assuming that struct internal_nlist is the right size. | |
3591 | ||
3592 | * binutils.texi: Document change to binary format: file position | |
3593 | based on load address, not section VMA. | |
3594 | ||
3595 | * bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are | |
3596 | not already defined. | |
3597 | ||
3598 | Tue Jun 18 18:25:00 1996 Ian Lance Taylor <ian@cygnus.com> | |
3599 | ||
3600 | * Makefile.in (DISTSTUFF): Add deflex.c. | |
3601 | ||
3602 | Tue Jun 18 15:03:44 1996 Klaus Kaempf <kkaempf@progis.de> | |
3603 | ||
3604 | * config.h-vms, makefile.vms: New files. | |
3605 | ||
3606 | Mon Jun 17 09:47:31 1996 Ian Lance Taylor <ian@cygnus.com> | |
3607 | ||
3608 | * dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than | |
3609 | BFD_RELOC_32 in IDATA7. | |
3610 | ||
3611 | Wed Jun 12 11:52:06 1996 Ian Lance Taylor <ian@cygnus.com> | |
3612 | ||
3613 | * nm.c (struct get_relocs_info): Define. | |
3614 | (line_numbers): New static variable. | |
3615 | (long_options): Add "line-numbers". | |
3616 | (usage): Mention -l and --line-numbers. | |
3617 | (main): Handle -l. | |
3618 | (print_symbol): Print line numbers if requested. | |
3619 | (get_relocs): New static function. | |
3620 | * binutils.texi, nm.1: Document -l/--line-numbers. | |
3621 | ||
3622 | Tue Jun 11 20:12:15 1996 Ian Lance Taylor <ian@cygnus.com> | |
3623 | ||
3624 | * objdump.c (dump_reloc_set): Add sec parameter. Change all | |
3625 | callers. If with_line_numbers is set, display line numbers of | |
3626 | relocation entries. | |
3627 | * binutils.texi, objdump.1: Document -l with -r. | |
3628 | ||
3629 | Mon Jun 10 23:42:59 1996 Ian Lance Taylor <ian@cygnus.com> | |
3630 | ||
3631 | * ar.c (open_inarch): Report BFD error message if an archive can | |
3632 | not be recognized. List matching formats if the file is | |
3633 | ambiguously recognized. | |
3634 | (ranlib_touch): Likewise. | |
3635 | ||
3636 | Thu Jun 6 13:56:14 1996 Ian Lance Taylor <ian@cygnus.com> | |
3637 | ||
3638 | * README: Add notes on how to build if you don't have ar. | |
3639 | ||
3640 | * Makefile.in: Remove old incorrect setting of CC. | |
3641 | ||
3642 | Tue Jun 4 10:52:49 1996 Tom Tromey <tromey@csk3.cygnus.com> | |
3643 | ||
3644 | * Makefile.in (install): Don't check to see if tooldir exists. | |
3645 | Make $(tooldir) and $(tooldir)/bin. | |
3646 | ||
3647 | Mon Jun 3 17:40:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3648 | ||
3649 | * strings.c (main): Make main an int function, not void. | |
3650 | ||
3651 | Fri May 31 13:59:24 1996 Ian Lance Taylor <ian@cygnus.com> | |
3652 | ||
3653 | * nm.c (filter_symbols): Check for BSF_WEAK as well as | |
3654 | BSF_GLOBAL. | |
3655 | * objcopy.c (filter_symbols): Likewise. | |
3656 | ||
3657 | Wed May 8 16:57:20 1996 Ian Lance Taylor <ian@cygnus.com> | |
3658 | ||
3659 | * objcopy.c (copy_object): Make clear that it is only a warning | |
3660 | when the output file can not represent the architecture. | |
3661 | ||
3662 | Fri May 3 11:30:17 1996 Ian Lance Taylor <ian@cygnus.com> | |
3663 | ||
3664 | * objdump.c (disassemble_data): Don't refer to bytes past the end | |
3665 | of data. | |
3666 | ||
3667 | Wed Apr 24 14:10:21 1996 Ian Lance Taylor <ian@cygnus.com> | |
3668 | ||
3669 | * rddbg.c (read_symbol_stabs_debugging_info): Move call to | |
3670 | free_saved_stabs outside the loop over the symbols. | |
3671 | ||
3672 | Tue Apr 23 12:56:11 1996 Ian Lance Taylor <ian@cygnus.com> | |
3673 | ||
3674 | * objdump.c (compare_symbols): Sort symbols whose names start with | |
3675 | `.' after other symbols. If no other decision can be made, sort | |
3676 | symbols by name. | |
3677 | ||
3678 | Thu Apr 18 16:02:11 1996 Ian Lance Taylor <ian@cygnus.com> | |
3679 | ||
3680 | * dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@. | |
3681 | * Makefile.in: Rebuild dependencies. | |
3682 | (dep.sed): Substitute $(BFDDIR) for @BFDDIR@. | |
3683 | ||
3684 | Tue Apr 16 13:50:22 1996 Ian Lance Taylor <ian@cygnus.com> | |
3685 | ||
3686 | * rdcoff.c: New file. | |
3687 | * rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour | |
3688 | and no stabs were found. | |
3689 | * budbg.h (parse_coff): Declare. | |
3690 | * Makefile.in: Rebuild dependencies. | |
3691 | (CFILES): Add rdcoff.c. | |
3692 | (DEBUG_OBJS): Add rdcoff.o. | |
3693 | ||
3694 | Mon Apr 15 15:55:01 1996 Doug Evans <dje@canuck.cygnus.com> | |
3695 | ||
3696 | * nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now. | |
3697 | (link_inputs): Update call to choose_temp_base. | |
3698 | ||
3699 | Mon Apr 8 14:40:05 1996 Ian Lance Taylor <ian@cygnus.com> | |
3700 | ||
3701 | * configure.in: Permit --enable-shared to specify a list of | |
3702 | directories. | |
3703 | * configure: Rebuild. | |
3704 | ||
3705 | Fri Mar 29 16:11:33 1996 Ian Lance Taylor <ian@cygnus.com> | |
3706 | ||
3707 | * objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag | |
3708 | and the SEC_LINK_DUPLICATES field. | |
3709 | ||
3710 | Fri Mar 29 11:35:55 1996 J.T. Conklin (jtc@lisa.cygnus.com) | |
3711 | ||
3712 | * nlmconv.1: Changed to be recognized by catman -w on Solaris. | |
3713 | ||
3714 | Thu Mar 28 14:17:02 1996 Ian Lance Taylor <ian@cygnus.com> | |
3715 | ||
3716 | * wrstabs.c (stab_enum_type): Set buf before using it. | |
3717 | ||
3718 | Fri Mar 22 15:49:08 1996 Ian Lance Taylor <ian@cygnus.com> | |
3719 | ||
3720 | * stabs.c (struct stab_handle): Add field abfd. | |
3721 | (start_stab): Add abfd parameter. | |
3722 | (parse_stab_string): Skip the symbol leading char when searching | |
3723 | for the value of a global symbol. | |
3724 | * budbg.h (start_stab): Update declaration. | |
3725 | * rddbg.c (read_section_stabs_debugging_info): Pass abfd to | |
3726 | start_stab. | |
3727 | (read_symbol_stabs_debugging_info): Likewise. | |
3728 | ||
3729 | Thu Mar 21 12:40:48 1996 Ian Lance Taylor <ian@cygnus.com> | |
3730 | ||
3731 | * wrstabs.c (stab_function_type): Output an empty typedef for an | |
3732 | unused argument, rather than making up a meaningless name. | |
3733 | (stab_variable): Use N_RSYM for a DEBUG_REGISTER variable. | |
3734 | ||
3735 | * ieee.c (struct ieee_info): Add global_vars field. | |
3736 | (parse_ieee_be): When ending the global typedef block, copy the | |
3737 | variables into info->global_vars. | |
3738 | (parse_ieee_atn): Don't require an NN record for a pmisc ATN. | |
3739 | (ieee_read_reference): Search the global variables after the local | |
3740 | variables. | |
3741 | ||
3742 | Wed Mar 20 18:08:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
3743 | ||
3744 | * objdump.c (disassemble_data): Make sure sym_name is always set. | |
3745 | (dump_section_header): Always put a space after the section name. | |
3746 | (dump_bfd_header): Terminate output with newline. | |
3747 | ||
3748 | Wed Mar 20 16:35:20 1996 Ian Lance Taylor <ian@cygnus.com> | |
3749 | ||
3750 | * wrstabs.c: New file. | |
3751 | * budbg.h (write_stabs_in_sections_debugging_info): Declare. | |
3752 | * objcopy.c (write_debugging_info): For COFF or ELF, output stabs | |
3753 | in sections. | |
3754 | * Makefile.in: Rebuild dependencies. | |
3755 | (CFILES): Add wrstabs.c. | |
3756 | (WRITE_DEBUG_OBJS): New variable. | |
3757 | ($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS). | |
3758 | ($(STRIP_PROG)): Likewise. | |
3759 | ||
3760 | * stabs.c (parse_stab_members): Make type stub detection more like | |
3761 | gdb. | |
3762 | ||
3763 | * ieee.c (struct ieee_handle): Add fields complex_float_index and | |
3764 | complex_double_index. | |
3765 | (ieee_complex_type): Cache type index in complex_float_index and | |
3766 | complex_double_index, depending upon size. Set size on type stack | |
3767 | to size * 2. | |
3768 | ||
3769 | * ieee.c (ieee_empty_type): Use builtin_unknown, not 0. | |
3770 | (ieee_void_type): Use builtin_void, not 1. | |
3771 | ||
3772 | * ieee.c (parse_ieee_ty): Handle 'V' type code. | |
3773 | (parse_ieee_atn): Don't require two numbers for type 10. | |
3774 | ||
3775 | * ieee.c (parse_ieee_be): Add one to offset at end of function or | |
3776 | block. | |
3777 | ||
3778 | * ieee.c (struct ieee_block): Add field skip. | |
3779 | (parse_ieee_bb): Don't call debug_record_function for __XRYCPP | |
3780 | function, and set skip field. | |
3781 | (parse_ieee_be): Don't call debug_end_function if skip is set. | |
3782 | ||
3783 | * debug.c (struct debug_handle): Add fields current_write_lineno | |
3784 | and current_write_lineno_index. | |
3785 | (debug_write): Initialize current_write_lineno and | |
3786 | current_write_lineno_index for each unit. Call | |
3787 | debug_write_linenos rather than writing out the line numbers | |
3788 | directly. | |
3789 | (debug_write_function): Call debug_write_linenos. | |
3790 | (debug_write_block): Likewise. | |
3791 | (debug_write_linenos): New static function. | |
3792 | ||
3793 | * debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return | |
3794 | type before arguments. | |
3795 | ||
3796 | Mon Mar 18 18:05:33 1996 Ian Lance Taylor <ian@cygnus.com> | |
3797 | ||
3798 | * configure.in: Add AC_FUNC_VFORK. | |
3799 | * configure, config.in: Rebuild. | |
3800 | * dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is | |
3801 | defined. | |
3802 | ||
3803 | * stabs.c (parse_stab_range_type): A complex type is defined as a | |
3804 | subrange of itself with the high bound zero. | |
3805 | * ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16. | |
3806 | ||
3807 | Tue Mar 12 12:09:43 1996 Ian Lance Taylor <ian@cygnus.com> | |
3808 | ||
3809 | * ieee.c (ieee_write_undefined_tag): Switch to global_types even | |
3810 | if it is not empty. | |
3811 | (ieee_tag_type): For an enum, look through info->enums. | |
3812 | ||
3813 | * configure: Rebuild with autoconf 2.8. | |
3814 | ||
3815 | * debug.c (debug_type_samep): Don't loop endlessly in | |
3816 | DEBUG_KIND_ENUM case. From Eric Baur <ecb@nexen.com>. | |
3817 | ||
3818 | Mon Mar 11 12:35:03 1996 Ian Lance Taylor <ian@cygnus.com> | |
3819 | ||
3820 | * rddbg.c (read_section_stabs_debugging_info): Call save_stab for | |
3821 | each stab entry, call stab_context on an error, and call | |
3822 | free_saved_stabs before rturning. | |
3823 | (read_symbol_stabs_debugging_info): Likewise. | |
3824 | (SAVE_STABS_COUNT): Define. | |
3825 | (struct saved_stab): Define. | |
3826 | (saved_stabs, saved_stabs_index): New static variables. | |
3827 | (save_stab, stab_context, free_saved_stabs): New static functios. | |
3828 | ||
3829 | * objdump.c (stab_name): Remove. | |
3830 | (struct stab_print): Remove. | |
3831 | (stab_print): Remove. | |
3832 | (dump_stabs): Don't initialize stab_name. | |
3833 | (print_section_stabs): Call bfd_get_stab_name rather than using | |
3834 | the stab_name array. | |
3835 | ||
3836 | Tue Feb 27 19:52:01 1996 Ian Lance Taylor <ian@cygnus.com> | |
3837 | ||
3838 | * prdbg.c (pr_int_constant): Initialize info correctly. | |
3839 | (pr_float_constant): Likewise. | |
3840 | ||
3841 | Mon Feb 26 18:11:37 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3842 | ||
3843 | * mpw-make.sed: Update to handle shared library support. | |
3844 | ||
3845 | Sat Feb 24 11:21:49 1996 Alan Modra <alan@spri.levels.unisa.edu.au>: | |
3846 | ||
3847 | * Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before | |
3848 | $(OPCODES). | |
3849 | ||
3850 | Thu Feb 15 12:44:45 1996 Ian Lance Taylor <ian@cygnus.com> | |
3851 | ||
3852 | * configure.in: Don't tamper with LDFLAGS. Call AC_PROG_CC before | |
3853 | configure.host. | |
3854 | * configure: Rebuild. | |
3855 | ||
3856 | * configure.in: Substitute RPATH_ENVVAR. | |
3857 | * configure: Rebuild. | |
3858 | * Makefile.in (RPATH_ENVVAR): New variable. | |
3859 | (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. | |
3860 | ||
3861 | * objcopy.c (smart_rename): Rather than doing chmod then chown, do | |
3862 | chmod without setuid, then chown, then chmod with setuid. | |
3863 | ||
3864 | Wed Feb 14 16:46:42 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> | |
3865 | ||
3866 | * arsup.c (map_over_list): Reindent. Don't assume that the | |
3867 | function does not delete the BFD. | |
3868 | (ar_addlib_doer): Don't set prev->next if prev is NULL. | |
3869 | ||
3870 | Wed Feb 14 15:12:17 1996 Ian Lance Taylor <ian@cygnus.com> | |
3871 | ||
3872 | * ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k | |
3873 | and i960. | |
3874 | (ieee_genreg_to_regno): Likewise. | |
3875 | ||
3876 | Mon Feb 12 14:19:59 1996 Ian Lance Taylor <ian@cygnus.com> | |
3877 | ||
3878 | * ieee.c: Extensive changes to write code to put types in the | |
3879 | global type block when possible, to output ranges for all memory | |
3880 | occupied by the module, and to improve efficiency. | |
3881 | ||
3882 | * debug.c (struct debug_handle): Remove class_mark field. Add | |
3883 | id_list and compare_list fields. | |
3884 | (struct debug_class_id): Define. | |
3885 | (struct debug_type_compare_list): Define. | |
3886 | (debug_write): Initialize info->id_list | |
3887 | (debug_write_name): Remove reference to info->class_mark. | |
3888 | (debug_write_type): Get id for all structs and classes. Simplify | |
3889 | test for whether struct has already been written. | |
3890 | (debug_write_class_type): Get id for all classes. Simplify test | |
3891 | for whether class has already been written. | |
3892 | (debug_write_block): Don't write out blocks other than the top | |
3893 | level block if they have no local variables. | |
3894 | (debug_set_class_id): New static function. | |
3895 | (debug_type_samep): New static function. | |
3896 | (debug_class_type_samep): New static function. | |
3897 | * prdbg.c (pr_start_struct_type): Always print id. | |
3898 | (pr_start_class_type): Likewise. | |
3899 | (pr_tag_type): Likewise. | |
3900 | ||
3901 | * stabs.c (struct stab_handle): Add syms and symcount fields. | |
3902 | (start_stab): Add syms and symcount parameters. Change all | |
3903 | callers. | |
3904 | (parse_stab_string): Look up global variables in the symbol table | |
3905 | to get the right value. | |
3906 | * budbg.h (start_stab): Update declaration. | |
3907 | * rddbg.c (read_section_stabs_debugging_info): Add syms and | |
3908 | symcount parameters. Change all callers. | |
3909 | ||
3910 | * stabs.c (parse_stab_array_type): If the index type is 0, use | |
3911 | int. | |
3912 | ||
3913 | Wed Feb 7 14:17:45 1996 Ian Lance Taylor <ian@cygnus.com> | |
3914 | ||
3915 | * ieee.c (ieee_start_compilation_unit): Clear modified and | |
3916 | modified_alloc fields of info. | |
3917 | ||
3918 | * configure.in: Check for --enable-shared. Substitute new | |
3919 | variables BFDLIB and OPCODES. | |
3920 | * configure: Rebuild. | |
3921 | * Makefile.in (BFDLIB): Set to @BFDLIB@. | |
3922 | (OPCODES): Set to @OPCODES@. | |
3923 | ||
3924 | Mon Feb 5 16:18:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
3925 | ||
3926 | Support for building bfd and opcodes as shared libraries, based on | |
3927 | patches from Alan Modra <alan@spri.levels.unisa.edu.au>: | |
3928 | * configure.in (HLDFLAGS): New substitution. | |
3929 | * configure: Rebuild. | |
3930 | * Makefile.in (HLDFLAGS): New variable. Make all links use | |
3931 | $(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS). | |
3932 | (BFDLIB_DEP): New variable. Replace all occurrences of $(BFD) as | |
3933 | a dependency with $(BFDLIB_DEP). Remove $(BFD) as a dependency if | |
3934 | there is also a dependency on $(ADDL_DEPS). | |
3935 | (BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd. | |
3936 | (OPCODES_DEP): New variable. Replace all occurrends of $(OPCODES) | |
3937 | as a dependency with $(OPCODES_DEP). | |
3938 | (OPCODES): Set to -L../opcodes -lopcodes. | |
3939 | (ADDL_DEPS): New variable. Replace all occurrences of | |
3940 | $(ADDL_LIBS) as a dependency with $(ADDL_DEPS). | |
3941 | (check): Set LD_LIBRARY_PATH in the environment. | |
3942 | (config.status): Depend upon BFD configure.host and config.bfd. | |
3943 | ||
3944 | Fri Feb 2 17:02:59 1996 Doug Evans <dje@charmed.cygnus.com> | |
3945 | ||
3946 | * objdump.c: #include stdarg.h or varargs.h. | |
3947 | (objdump_print_value): Change FILE* arg to struct disassemble_info*. | |
3948 | All callers updated. Use fprintf_func. | |
3949 | (objdump_print_address): Consistently use fprintf_func. | |
3950 | (objdump_sprintf): New function. | |
3951 | (disassemble_data): Print insn into a buffer, print raw insn ourselves, | |
3952 | then print insn mnemonic. | |
3953 | ||
3954 | Fri Feb 2 16:48:55 1996 Ian Lance Taylor <ian@cygnus.com> | |
3955 | ||
3956 | * configure: Regenerate. | |
3957 | ||
3958 | Thu Feb 1 09:38:18 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
3959 | ||
3960 | * configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32. | |
3961 | (powerpc*-*-cygwin32): New. | |
3962 | * configure: Regenerated. | |
3963 | ||
3964 | Wed Jan 31 13:22:03 1996 Richard Henderson <rth@tamu.edu> | |
3965 | ||
3966 | * Makefile.in (distclean): Remove $(DEMANGLER_PROG).1. | |
3967 | ||
3968 | Mon Jan 29 17:36:29 1996 Ian Lance Taylor <ian@cygnus.com> | |
3969 | ||
3970 | Based on patches from H J Lu <hjl@zoom.com>: | |
3971 | * objcopy.c (remove_leading_char): New static variable. | |
3972 | (OPTION_REMOVE_LEADING_CHAR): Define. | |
3973 | (copy_usage): Mention --remove-leading-char. | |
3974 | (filter_symbols): If remove_leading_char, and the first character | |
3975 | of a global symbol matches the symbol leading char of the BFD, | |
3976 | remove the first character. | |
3977 | (copy_object): Filter the symbols if remove_leading_char is set. | |
3978 | (copy_main): Handle --remove-leading-char. | |
3979 | * binutils.texi, objcopy.1: Document --remove-leading-char. | |
3980 | ||
3981 | Sat Jan 27 15:40:13 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3982 | ||
3983 | * objdump.c (fprintf): Add prototype to avoid compiler warning on | |
3984 | SunOS. | |
3985 | ||
3986 | Fri Jan 26 11:53:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
3987 | ||
3988 | * binutils.texi (nm): Improve documentation on symbol types. | |
3989 | (objdump): Reference the stabs manual from the discussion of the | |
3990 | --stabs option. | |
3991 | ||
3992 | Thu Jan 25 11:21:46 1996 Raymond Jou <rjou@mexican.cygnus.com> | |
3993 | ||
3994 | * mpw-make.sed: Add a "stamps" target. | |
3995 | ||
3996 | Thu Jan 25 13:51:44 1996 Ian Lance Taylor <ian@cygnus.com> | |
3997 | ||
3998 | * objdump.c (dump_headers, dump_section_header): Change objdump -h | |
3999 | output to be simpler and to include section file offsets. | |
4000 | ||
4001 | Wed Jan 24 12:06:05 1996 Ian Lance Taylor <ian@cygnus.com> | |
4002 | ||
4003 | * stabs.c (parse_stab_members): Don't adjust voffset. | |
4004 | ||
4005 | * ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4. | |
4006 | (struct ieee_write_type): Add name field. | |
4007 | (struct ieee_type_class): Remove name field. Change all uses to | |
4008 | use new name field in type instead. | |
4009 | (struct ieee_name_type): Likewise. | |
4010 | (ieee_start_struct_type): Initialize name field of type. | |
4011 | (ieee_start_class_type): Don't initialize classdef entry of tag. | |
4012 | (ieee_class_method_var): Don't adjust voffset. | |
4013 | (ieee_end_class_type): Likewise. | |
4014 | (ieee_tag_type): Initialize new name field of type. | |
4015 | (ieee_typdef): Set name after copying in type information. | |
4016 | ||
4017 | * debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1. | |
4018 | ||
4019 | * ieee.c (struct ieee_modified_type): Define. | |
4020 | (struct ieee_handle): Add modified and modified_alloc fields. | |
4021 | (ieee_get_modified_info): New static function. | |
4022 | (ieee_pointer_type): Cache type index. | |
4023 | (ieee_const_type): Likewise. | |
4024 | (ieee_volatile_type): Likewise. | |
4025 | ||
4026 | * ieee.c (ieee_define_named_type): When creating a tag for an | |
4027 | anonymous struct, copy the name into memory. | |
4028 | (ieee_tag_type): Likewise. | |
4029 | * debug.c (debug_write_type): Only check and set id field for an | |
4030 | unnamed object. | |
4031 | (debug_write_class_type): Likewise. | |
4032 | ||
4033 | * ieee.c: Various changes to write out types for functions and | |
4034 | references, and to not write out unnecessary function types. | |
4035 | ||
4036 | * ieee.c (struct ieee_var): Remove variable field. Add kind | |
4037 | field, and define some enum constants for it. | |
4038 | (parse_ieee_ty): Set kind field of variable for 'x' and 'X' types. | |
4039 | (parse_ieee_atn): Make an indirect slot for an external variable, | |
4040 | although we otherwise don't record it. Set kind field rather than | |
4041 | variable field of pvar. | |
4042 | (ieee_read_cxx_class): Try to get the type of a static member. | |
4043 | (ieee_read_reference): Check kind field rather than variable | |
4044 | field. | |
4045 | ||
4046 | Tue Jan 23 15:54:18 1996 Ian Lance Taylor <ian@cygnus.com> | |
4047 | ||
4048 | * ieee.c: Various changes to handle reading C++ reference type | |
4049 | information. | |
4050 | ||
4051 | * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL. | |
4052 | (enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL. | |
4053 | * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION. | |
4054 | ||
4055 | * ieee.c: Various changes to write out definitions of C++ classes. | |
4056 | ||
4057 | * debug.c (debug_append_filename): Remove. | |
4058 | * debug.h (debug_append_filename): Don't declare. | |
4059 | ||
4060 | * stabs.c (struct stab_handle): Remove last_type field. Add | |
4061 | so_string and so_value fields. | |
4062 | (finish_stab): Call stab_emit_pending_vars before calling | |
4063 | debug_end_function. Don't warn about pending variables. | |
4064 | (parse_stab): Accumulate N_SO strings until a non N_SO symbol is | |
4065 | seen, rather than calling debug_append_filename. Call | |
4066 | stab_emit_pending_vars before calling debug_end_function. Don't | |
4067 | set info->last_type. | |
4068 | ||
4069 | Tue Jan 23 09:53:54 1996 Doug Evans <dje@charmed.cygnus.com> | |
4070 | ||
4071 | * objdump.c (disassemble_data): Handle unknown endianness. | |
4072 | Pass fprintf to INIT_DISASSEMBLE_INFO. | |
4073 | ||
4074 | Mon Jan 22 16:46:43 1996 Doug Evans <dje@charmed.cygnus.com> | |
4075 | ||
4076 | Add new option --show-raw-insn. | |
4077 | * objdump.c (show_raw_insn): New global. | |
4078 | (usage): Update. | |
4079 | (long_options): Update. | |
4080 | (disassemble_data): Set disasm_info.flags if --show-raw-insn. | |
4081 | ||
4082 | * objdump.c (disassemble_data): Set new arch,mach,endian fields in | |
4083 | disasm_info. | |
4084 | ||
4085 | Mon Jan 22 19:29:36 1996 Ian Lance Taylor <ian@cygnus.com> | |
4086 | ||
4087 | * ieee.c: Extensive changes to pass a single info argument around | |
4088 | in the reading routines, rather than several arguments. Add code | |
4089 | to read C++ debugging records. | |
4090 | ||
4091 | * debug.h (debug_get_type_size): Declare. | |
4092 | (debug_get_field_name): Declare. | |
4093 | (debug_get_field_bitpos): Declare. | |
4094 | (debug_get_field_bitsize): Declare. | |
4095 | (debug_get_field_visibility): Declare. | |
4096 | (debug_get_field_physname): Declare. | |
4097 | * debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED. | |
4098 | (debug_get_type_size): New function. | |
4099 | (debug_get_field_name): New function. | |
4100 | (debug_get_field_bitpos): New function. | |
4101 | (debug_get_field_bitsize): New function. | |
4102 | (debug_get_field_visibility): New function. | |
4103 | (debug_get_field_physname): New function. | |
4104 | (debug_write_type): Make sure we pass the real kind, not INDIRECT, | |
4105 | to tag_type. Pass the name recursively for INDIRECT. | |
4106 | ||
4107 | Fri Jan 19 12:31:57 1996 Ian Lance Taylor <ian@cygnus.com> | |
4108 | ||
4109 | * debug.h (struct debug_write_fns): Remove ellipsis_type. Add int | |
4110 | and boolean parameters to function_type. Add boolean parameter to | |
4111 | method_type. | |
4112 | (debug_make_ellipsis_type): Don't declare. | |
4113 | (debug_make_function_type): Add debug_type * and boolean | |
4114 | parameters. Change all callers. | |
4115 | (debug_make_method_type): Add boolean parameter. Change all | |
4116 | callers. | |
4117 | (debug_get_parameter_types): Add boolean * parameter. Change all | |
4118 | callers. | |
4119 | (debug_get_target_type): Declare. | |
4120 | * debug.c (struct debug_function_type): Add fields arg_types and | |
4121 | varargs. | |
4122 | (struct debug_method_type): Add field varargs. | |
4123 | (debug_ellipsis_type, ELLIPSIS_P): Remove. | |
4124 | (debug_make_ellipsis_type): Remove. | |
4125 | (debug_make_function_type): Add arg_types and varargs parameters. | |
4126 | (debug_make_method_type): Add varargs parameter. | |
4127 | (debug_get_parameter_types): Add pvarargs parameter. | |
4128 | (debug_get_target_type): New function. | |
4129 | (debug_write_type): In case DEBUG_KIND_FUNCTION, push argument | |
4130 | types and pass count to function_type. In DEBUG_KIND_METHOD, use | |
4131 | a signed int for the count, don't call ellipsis_type, and pass | |
4132 | varargs to method_type. | |
4133 | * stabs.c (struct stab_demangle_info): Add varargs field. | |
4134 | (stab_demangle_argtypes): Add pvarargs parameter. Change all | |
4135 | callers. | |
4136 | (stab_demangle_args): Likewise. | |
4137 | (stab_demangle_type): In case 'F', pick up argument types. | |
4138 | * prdbg.c (pr_ellipsis_type): Remove. | |
4139 | (pr_function_type): Add argcount and varargs parameters. | |
4140 | (pr_method_type): Add varargs parameter. | |
4141 | * ieee.c (ieee_ellipsis_type): Remove. | |
4142 | (ieee_function_type): Add argcount and varargs parameters. | |
4143 | (ieee_method_type): Add varargs parameter. Remove most of | |
4144 | function body, and just call ieee_function_type. | |
4145 | ||
4146 | * stabs.c: Include "demangle.h". Added several new static | |
4147 | functions not listed below to demangle argument types; they are | |
4148 | all called via stab_demangle_argtypes. | |
4149 | (finish_stab): If the kind of an undefined tag is | |
4150 | DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead. Warn if there | |
4151 | are any pending variable. | |
4152 | (parse_stab): Don't close the function when the block depth goes | |
4153 | to zero. Pass value to debug_end_function. | |
4154 | (parse_stab_string): In case 'T', pass the name to | |
4155 | parse_stab_type. | |
4156 | (parse_stab_type): In case 'x', use stab_find_tagged_type. In | |
4157 | case '#', handle functions with variable numbers of arguments. | |
4158 | (parse_stab_struct_type): Add tagname parameter. Change all | |
4159 | callers. | |
4160 | (parse_stab_members): Add tagname and typenums parameters. Change | |
4161 | all callers. If the type of a method is a stub, call | |
4162 | parse_stab_argtypes to demangle the argument types and get the | |
4163 | physical name of the function. | |
4164 | (parse_stab_argtypes): New static function. | |
4165 | (stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC | |
4166 | variable, call debug_record_variable immediately. | |
4167 | (stab_find_tagged_type): New static function. | |
4168 | ||
4169 | * debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL. | |
4170 | (struct debug_write_fns): Add field ellipsis_type. Add id | |
4171 | parameter to start_struct_type, start_class_type, and tag_type. | |
4172 | (debug_make_ellipsis_type): Declare. | |
4173 | (debug_find_named_type): Declare. | |
4174 | (debug_get_type_kind): Declare. | |
4175 | (debug_get_return_type): Declare. | |
4176 | (debug_get_parameter_types): Declare. | |
4177 | (debug_get_fields): Declare. | |
4178 | (debug_get_field_type): Declare. | |
4179 | * debug.c (struct debug_handle): Add fields class_id and base_id. | |
4180 | (struct debug_class_type): Add field id. | |
4181 | (struct debug_method_variant): Rename argtypes to physname. | |
4182 | Change all uses. | |
4183 | (debug_ellipsis_type): New static variable. | |
4184 | (ELLIPSIS_P): New macro. | |
4185 | (debug_make_ellipsis_type): New function. | |
4186 | (debug_make_method_variant): Rename argtypes to physname. | |
4187 | (debug_make_static_method_variant): Likewise. | |
4188 | (debug_name_type): Always put types in the global namespace. | |
4189 | (debug_find_named_type): New function. | |
4190 | (debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially, | |
4191 | rather than DEBUG_KIND_VOID. | |
4192 | (debug_get_real_type): New static function. | |
4193 | (debug_get_type_kind): New function. | |
4194 | (debug_get_return_type): New function. | |
4195 | (debug_get_parameter_types): New function. | |
4196 | (debug_get_fields): New function. | |
4197 | (debug_get_field_type): New function. | |
4198 | (debug_write): Initialize base_id. | |
4199 | (debug_write_type): Pass new id argument to tag_type. Handle | |
4200 | DEBUG_KIND_ILLEGAL. Use id for DEBUG_KIND_STRUCT and | |
4201 | DEBUG_KIND_UNION. Handle ellipsis for method arguments. | |
4202 | (debug_write_class_type): Don't dereference kclass if it is NULL. | |
4203 | Use id. | |
4204 | * prdbg.c (pr_fns): Add pr_ellipsis_type. | |
4205 | (pr_ellipsis_type): New static function. | |
4206 | (pr_pointer_type): If this is a pointer to an array, parenthesize | |
4207 | it correctly. | |
4208 | (pr_start_struct_type): Add id parameter. | |
4209 | (pr_start_class_type): Likewise. | |
4210 | (pr_tag_type): Likewise. | |
4211 | (pr_fix_visibility): Add the visibility to the top of the stack, | |
4212 | not the second element on the stack. | |
4213 | (pr_struct_field): Pop the stack before calling pr_fix_visibility. | |
4214 | (pr_class_static_member): Likewise. | |
4215 | (pr_class_start_method): Don't push a type, just set the method | |
4216 | name in the type on the top of the stack. | |
4217 | (pr_class_end_method): Don't pop the stack. | |
4218 | (pr_class_method_variant): Rename argtypes parameter to physname. | |
4219 | Append const and volatile rather than prepending them. Add a | |
4220 | space after the physname. | |
4221 | (pr_class_static_method_variant): Likewise. | |
4222 | * ieee.c (ieee_fns): Add ieee_ellipsis_type. | |
4223 | (ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than | |
4224 | DEBUG_KIND_VOID. | |
4225 | (write_ieee_debugging_info): Likewise. | |
4226 | (ieee_typdef): Likewise. | |
4227 | (ieee_ellipsis_type): New static function. | |
4228 | (ieee_start_struct_type): Add id parameter. | |
4229 | (ieee_start_class_type): Likewise. | |
4230 | (ieee_tag_type): Likewise. | |
4231 | (ieee_class_method_variant): Rename name to physname. | |
4232 | (ieee_class_static_method_variant): Likewise. | |
4233 | ||
4234 | * Makefile.in (DEBUG_OBJS): Remove prdbg.o. | |
4235 | ($(OBJDUMP_PROG)): Depend upon, and link against, prdbg.o. | |
4236 | ||
4237 | Thu Jan 18 17:35:06 1996 Kim Knuttila <krk@cygnus.com> | |
4238 | ||
4239 | * dlltool.c (make_tail): Changed the order of the sections to avoid | |
4240 | an alignment problem. | |
4241 | ||
4242 | Wed Jan 17 14:23:00 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
4243 | ||
4244 | * srconv.c (wr_du): Set du.stackfrmt to 0. | |
4245 | (wr_un, wr_sc): Emit all sections, even those with 0 size. | |
4246 | ||
4247 | Tue Jan 16 16:15:49 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
4248 | ||
4249 | * srconv.c (wr_hd): Space size within segment was being | |
4250 | stored in segment identifier field. | |
4251 | ||
4252 | Tue Jan 16 12:07:25 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4253 | ||
4254 | * mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG, | |
4255 | BUILD_DLLTOOL): Put definitions for these into makefile when | |
4256 | configuring, instead of always clearing in mpw-make.sed. | |
4257 | * mpw-make.sed: Edit out any host_alias or target_alias settings, | |
4258 | fix pathname to BFD internal include files, remove dependency | |
4259 | calculation rules. | |
4260 | ||
4261 | Thu Jan 11 17:31:38 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
4262 | ||
4263 | * objdump.c (dump_section_header): Add new section flags | |
4264 | SEC_{EXCLUDE,SORT_ENTRIES}. | |
4265 | ||
4266 | Thu Jan 11 11:45:34 1996 Ian Lance Taylor <ian@cygnus.com> | |
4267 | ||
4268 | * objcopy.c (filter_symbols): NULL terminate the output symbols. | |
4269 | (copy_object): Allocate space for a possible extra NULL pointer. | |
4270 | ||
4271 | * debug.c (debug_make_undefined_tagged_type): Make sure we are | |
4272 | given a kind of type we can handle. | |
4273 | (debug_write_type): Handle undefined enums and structs. | |
4274 | (debug_write_class_type): Handle undefined classes. | |
4275 | * prdbg.c (pr_enum_type): Handle an undefined enum. | |
4276 | * ieee.c (ieee_enum_type): Likewise. | |
4277 | ||
4278 | Wed Jan 10 15:33:18 1996 Ian Lance Taylor <ian@cygnus.com> | |
4279 | ||
4280 | * Makefile.in: Updated dependencies. | |
4281 | (ALLOCA, MALLOC): Remove variables. | |
4282 | (ADDL_LIBS): Remove $(MALLOC) from definition. | |
4283 | * alloca.c, gmalloc.c: Remove. | |
4284 | ||
4285 | Mon Jan 8 18:02:29 1996 Ian Lance Taylor <ian@cygnus.com> | |
4286 | ||
4287 | * ieee.c: Add global function write_ieee_debugging_info and a | |
4288 | bunch of static functions and structs used to write out IEEE | |
4289 | debugging information. | |
4290 | * budbg.h (write_ieee_debugging_info): Declare. | |
4291 | ||
4292 | * ieee.c (struct ieee_type): Add pslot field. | |
4293 | (enum builtin_types): Define. | |
4294 | (ieee_builtin_type): For a pointer, return a pointer to the named | |
4295 | type. Use enum values rather than numbers. | |
4296 | (ieee_alloc_type): New static function. | |
4297 | (ieee_read_type_index): Use ieee_alloc_type. | |
4298 | (parse_ieee_bb): Likewise. | |
4299 | (parse_ieee_ty): Likewise. Use ieee_builtin_type for array range, | |
4300 | rather than making a new integer type. Store the new type in the | |
4301 | slot, if there is one. | |
4302 | (parse_ieee_atn): Treat ATN10 as defining a register variable. | |
4303 | (ieee_regno_to_genreg): Rename from ieee_regno_to_gen. Change all | |
4304 | callers. | |
4305 | (ieee_genreg_to_regno): New static function. | |
4306 | ||
4307 | * stabs.c (parse_stab_type): Add new typename parameter. Change | |
4308 | all callers. | |
4309 | (parse_stab_range_type): Add new typename parameter. Change all | |
4310 | callers. | |
4311 | ||
4312 | * debug.h (struct debug_write_fns): Add tag parameter to | |
4313 | enum_type, start_struct_type, and start_class_type. | |
4314 | * debug.c (debug_write_type): Pass any tag name to | |
4315 | start_struct_type, debug_write_class_type, and enum_type. If | |
4316 | DEBUG_KIND_TAGGED, pass the name in the recursive call. | |
4317 | (debug_write_class_type): Accept a new tag parameter, and pass it | |
4318 | to start_class_type. | |
4319 | * prdbg.c (pop_type): Don't remove '+' character. | |
4320 | (pr_enum_type): Accept and use tag parameter. | |
4321 | (pr_start_struct_type): Likewise. | |
4322 | (pr_start_class_type): Likewise. | |
4323 | (pr_class_baseclass): Adjust algorithm used to find where to put | |
4324 | the baseclass name. | |
4325 | (pr_tag): Don't bother to insert the tag name. | |
4326 | ||
4327 | * objcopy.c: Include budbg.h. | |
4328 | (convert_debugging): New static variable. | |
4329 | (OPTION_DEBUGGING): Define. | |
4330 | (copy_options): Add "debugging". | |
4331 | (copy_usage): Mention --debugging. | |
4332 | (is_strip_section): Skip debugging sections if convert_debugging. | |
4333 | (setup_section, copy_section): Likewise. | |
4334 | (filter_symbols): Skip debugging symbols if convert_debugging. | |
4335 | (copy_object): If convert_debugging, read and write debugging | |
4336 | information. | |
4337 | (write_debugging_info): New static function. | |
4338 | (copy_main): Handle --debugging. | |
4339 | * Makefile.in (DEBUG_OBJS): New variable. | |
4340 | ($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS). | |
4341 | ($(STRIP_PROG)): Likewise. | |
4342 | (OBJDUMP_OBJS): Remove variable. | |
4343 | ($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than | |
4344 | $(OBJDUMP_OBJS). | |
4345 | * binutils.texi, objcopy.1: Document --debugging. | |
4346 | ||
4347 | Thu Jan 4 16:31:21 1996 Ian Lance Taylor <ian@cygnus.com> | |
4348 | ||
4349 | * ieee.c: New file with code to read IEEE debugging information. | |
4350 | * budbg.h (parse_ieee): Declare. | |
4351 | * rddbg.c (read_debugging_info): Handle IEEE flavour files. | |
4352 | (read_ieee_debugging_info): New static function. | |
4353 | * Makefile.in: Rebuild dependencies. | |
4354 | (CFILES): Add ieee.c. | |
4355 | (OBJDUMP_OBJS): Add ieee.o. | |
4356 | ||
4357 | * bucomm.h (xrealloc): Change type of first parameter from char * | |
4358 | to PTR. | |
4359 | ||
4360 | Tue Jan 2 17:44:07 1996 Ian Lance Taylor <ian@cygnus.com> | |
4361 | ||
4362 | * Makefile.in: Add targets to automatically rebuild dependencies. | |
4363 | Remove targets which just listed dependencies of .o files. | |
4364 | (DEP): New variable. | |
4365 | (HFILES, GENERATED_HFILES): New variables. | |
4366 | (CFILES, GENERATED_CFILES): New variables. | |
4367 | (underscore.c): Don't do anything, just depend upon stamp-under. | |
4368 | (stamp-under): New target; do what underscore.c used to do. | |
4369 | (nlmconv.o): Depend upon sym.h and ecoff.h. | |
4370 | (.dep, .dep1, dep.sed, dep, dep-in): New targets. | |
4371 | (stage1, stage2, stage3, against, comparison): Remove. | |
4372 | (de-stage1, de-stage2, de-stage3): Remove. | |
4373 | (clean, distclean): Remove stamp-under and dep.sed. | |
4374 | * dep-in.sed: New file. | |
4375 | ||
4376 | Implement generic debugging support. Implement a stabs reader and | |
4377 | a generic printer. | |
4378 | * budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files. | |
4379 | * objdump.c: Include "debug.h" and "budbg.h". | |
4380 | (dump_debugging): New global variable. | |
4381 | (usage): Mention --debugging. | |
4382 | (long_options): Add "debugging". | |
4383 | (display_bfd): Handle --debugging. | |
4384 | * Makefile.in (OBJDUMP_OBJS): New variable. | |
4385 | ($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS). | |
4386 | * binutils.texi, objdump.1: Document --debugging. | |
4387 | ||
4388 | Sat Dec 30 09:59:51 1995 Jeffrey A Law (law@cygnus.com) | |
4389 | ||
4390 | * nm.c ( long_options): Add "--defined-only" option. | |
4391 | (usage): Update for new "--defined-only" option. | |
4392 | (filter_symbols): Handle "--defined-only". | |
4393 | ||
4394 | Fri Dec 29 16:04:56 1995 Ian Lance Taylor <ian@cygnus.com> | |
4395 | ||
4396 | * arparse.y: Include "bucomm.h", not <sysdep.h>. | |
4397 | * nlmheader.y: Don't include "sysdep.h". | |
4398 | ||
4399 | Tue Dec 26 18:23:18 1995 Ian Lance Taylor <ian@cygnus.com> | |
4400 | ||
4401 | * nm.c (print_symdef_entry): Check return value of | |
4402 | bfd_get_elt_at_index. | |
4403 | ||
4404 | Sat Dec 23 11:03:16 1995 Michael Meissner <meissner@tiktok.cgynsu.com> | |
4405 | ||
4406 | * configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target | |
4407 | is powerpc*-*-win* in addition to powerpc*-*-*pe*. | |
4408 | ||
4409 | Fri Dec 15 16:30:57 1995 Ian Lance Taylor <ian@cygnus.com> | |
4410 | ||
4411 | * objdump.c (endian_string): New static function. | |
4412 | (display_target_list): Use it. | |
4413 | * nlmconv.c (main): Use new bfd_big_endian macro. | |
4414 | ||
4415 | Fri Dec 15 07:51:34 1995 steve chamberlain <sac@slash.cygnus.com> | |
4416 | ||
4417 | * dlltool.c (fill_ordinals): Start from 1 if no other instructions | |
4418 | given. | |
4419 | ||
4420 | Tue Dec 12 12:05:21 1995 Ian Lance Taylor <ian@cygnus.com> | |
4421 | ||
4422 | * Makefile.in (clean): Remove $(DEMANGLER_PROG).1. From Ronald | |
4423 | F. Guilmette <rfg@monkeys.com>. | |
4424 | ||
4425 | Mon Dec 11 14:33:05 1995 Stan Shebs <shebs@andros.cygnus.com> | |
4426 | ||
4427 | * mac-binutils.r: Fix copyright and version strings. | |
4428 | ||
4429 | * Makefile.in (version): Remove, no longer used. | |
4430 | ||
4431 | Fri Dec 1 14:41:56 1995 Stan Shebs <shebs@andros.cygnus.com> | |
4432 | ||
4433 | * mpw-make.sed (install, install-only): Edit in Mac-specific | |
4434 | install procedure. | |
4435 | ||
4436 | Thu Nov 30 20:26:02 1995 Kim Knuttila <krk@cygnus.com> | |
4437 | ||
4438 | * dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage, | |
4439 | including the return instruction. | |
4440 | sinfo: added a preferred alignment field. | |
4441 | (secdata): section data for the PowerPC version. | |
4442 | (make_one_lib_file): More symbols, More sections (pdata, rdata) | |
4443 | (make_tail): Use idata$6 instead of idata$7 for ppc. Also added a | |
4444 | NULL idata$3 descriptor (temporary). | |
4445 | ||
4446 | Tue Nov 28 17:23:44 1995 Doug Evans <dje@canuck.cygnus.com> | |
4447 | ||
4448 | * dlltool.c (fill_ordinals): Don't reference d_export_vec if | |
4449 | there are no exported functions. | |
4450 | ||
4451 | Mon Nov 27 13:05:59 1995 Ian Lance Taylor <ian@cygnus.com> | |
4452 | ||
4453 | * configure: Regenerate with autoconf 2.7. | |
4454 | ||
4455 | Wed Nov 22 13:17:15 1995 Ian Lance Taylor <ian@cygnus.com> | |
4456 | ||
4457 | * dlltool.c (fill_ordinals): Start assigning ordinals at 1. | |
4458 | ||
4459 | * Makefile.in (EXPECT): Use $$r, not $${rootme}. | |
4460 | (check): Set r, not rootme. | |
4461 | ||
4462 | Tue Nov 21 18:04:09 1995 Ian Lance Taylor <ian@cygnus.com> | |
4463 | ||
4464 | * configure.in: Use BFD_NEED_DECLARATION. | |
4465 | * acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section. | |
4466 | * configure, config.in: Rebuild with autoconf 2.6. | |
4467 | ||
4468 | Fri Nov 17 10:34:37 1995 Ian Lance Taylor <ian@cygnus.com> | |
4469 | ||
4470 | * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not | |
4471 | $(host_canonical) and $(target_canonical). | |
4472 | ||
4473 | Thu Nov 16 03:39:20 1995 Ken Raeburn <raeburn@cygnus.com> | |
4474 | ||
4475 | Version 2.6 released. | |
4476 | * Makefile.in (VERSION): Update to 2.6. | |
4477 | ||
4478 | Wed Nov 15 12:14:17 1995 Ian Lance Taylor <ian@cygnus.com> | |
4479 | ||
4480 | * Makefile.in (CC_FOR_TARGET): Define. | |
4481 | (check): Pass CC and CFLAGS to runtest. | |
4482 | ||
4483 | * nm.c (display_rel_file): Don't require a DYNAMIC object when | |
4484 | dumping the dynamic symbol table. | |
4485 | ||
4486 | * objdump.c (compare_symbols): Sort global symbols before local | |
4487 | symbols before debugging symbols. | |
4488 | (objdump_print_address): Don't futz around looking for a global | |
4489 | symbol with the same value. | |
4490 | ||
4491 | Tue Nov 14 17:19:11 1995 Ian Lance Taylor <ian@cygnus.com> | |
4492 | ||
4493 | * dlltool.c: Use FOPEN_* macros rather than "r" or "w". | |
4494 | ||
4495 | * dlltool.c (fill_ordinals): Correct memset call. | |
4496 | ||
4497 | Sun Nov 12 12:56:05 1995 Stan Shebs <shebs@andros.cygnus.com> | |
4498 | ||
4499 | * mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything | |
4500 | with the man page. | |
4501 | ||
4502 | Fri Nov 10 11:41:22 1995 Ian Lance Taylor <ian@cygnus.com> | |
4503 | ||
4504 | * objcopy.c (setup_section): Copy the section lma independently of | |
4505 | the vma. | |
4506 | ||
4507 | Wed Nov 8 11:33:00 1995 Ian Lance Taylor <ian@cygnus.com> | |
4508 | ||
4509 | * arsup.c (ar_open): Cast malloc return value. | |
4510 | ||
4511 | Tue Nov 7 09:01:26 1995 Kim Knuttila <krk@cygnus.com> | |
4512 | ||
4513 | * configure.in, configure (DLLTOOL_DEFS): Added ppc target. | |
4514 | * dlltool.c (MPPC): Added basic PPC definitions. | |
4515 | ||
4516 | Tue Nov 7 14:02:57 1995 Ian Lance Taylor <ian@cygnus.com> | |
4517 | ||
4518 | * configure.in: Don't treat rs6000-*-lynx* specially. | |
4519 | * configure: Rebuild. | |
4520 | * config/rslynx: Remove. | |
4521 | * Makefile.in: Remove @target_makefile_fragment@. | |
4522 | ||
4523 | Mon Nov 6 15:00:50 1995 Ian Lance Taylor <ian@cygnus.com> | |
4524 | ||
4525 | * bucomm.h: Include <sys/types.h>. | |
4526 | * ar.c: Don't include <sys/types.h> or <stdio.h>. | |
4527 | * bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise. | |
4528 | ||
4529 | Fri Nov 3 12:38:09 1995 Ian Lance Taylor <ian@cygnus.com> | |
4530 | ||
4531 | * objdump.c: Include <sys/types.h>. | |
4532 | ||
4533 | Permit user to override DEMANGLER_PROG from command line. From | |
4534 | Manfred Hollstein <manfred@lts.sel.alcatel.de>. | |
4535 | * Makefile.in ($(DEMANGLER_PROG)): Depend upon | |
4536 | $(DEMANGLER_PROG).1. | |
4537 | (install): Don't depend upon $(DEMANGLER_PROG).1. Only install | |
4538 | $(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty. | |
4539 | ||
4540 | Wed Nov 1 15:04:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> | |
4541 | ||
4542 | * Makefile.in (syslex.o): add -I$(srcdir) if compiling in a | |
4543 | separate directory. | |
4544 | ||
4545 | Mon Oct 30 14:24:18 1995 Ian Lance Taylor <ian@cygnus.com> | |
4546 | ||
4547 | * objdump.c (objdump_print_value): New static function. | |
4548 | (objdump_print_address): Use it. If we need the right section for | |
4549 | the symbol, and we can't find it, print an offset from the section | |
4550 | rather than using a symbol from some other section. | |
4551 | ||
4552 | Thu Oct 26 10:23:14 1995 steve chamberlain <sac@slash.cygnus.com> | |
4553 | ||
4554 | * dlltool.c (no_idata4, no_idata5): New. | |
4555 | (arm_jtab): Use correct encoding of jump instruction. | |
4556 | (usage, main, make_head, make_tail): Act on no_idata4, no_idata5. | |
4557 | ||
4558 | Wed Oct 25 12:10:07 1995 Stan Shebs <shebs@andros.cygnus.com> | |
4559 | ||
4560 | * mpw-make.sed: Edit paths to generated y.tab.[ch] files. | |
4561 | ||
4562 | Fri Oct 20 18:40:34 1995 Ian Lance Taylor <ian@cygnus.com> | |
4563 | ||
4564 | * binutils.texi: Change --with-targets to --enable-targets. | |
4565 | ||
4566 | Thu Oct 19 17:47:41 1995 Fred Fish <fnf@cygnus.com> | |
4567 | ||
4568 | * Makefile.in: Remove extraneous tab on otherwise empty line, | |
4569 | which confuses many non-GNU versions of "make". | |
4570 | ||
4571 | Wed Oct 18 16:31:58 1995 steve chamberlain <sac@slash.cygnus.com> | |
4572 | ||
4573 | * dlltool.c (i386_jtab, arm_jtab): New | |
4574 | (gen_lib_file): Rewritten to use bfd. | |
4575 | ||
4576 | Fri Oct 13 16:10:07 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
4577 | ||
4578 | * Makefile.in (install): Don't give error message if dlltool | |
4579 | wasn't built. | |
4580 | ||
4581 | Fri Oct 13 11:04:37 1995 steve chamberlain <sac@slash.cygnus.com> | |
4582 | ||
4583 | * deflex.l: Allow quoting of IDs. | |
4584 | * defparse.y (%union): string deleted. | |
4585 | (command): DESCRIPTION takes ID. | |
4586 | * dlltool.c (gen_def_file): Quote outgoing name if | |
4587 | necessary. Preserve NONAME. | |
4588 | (gen_lib_file): Run ranlib. | |
4589 | (workout_prefix): Deleted. | |
4590 | (main, usage, long_options): Add --as, --ranlib, --ar options. | |
4591 | ||
4592 | Wed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com> | |
4593 | ||
4594 | * dlltool.c (mtable): HOW_ALIGN_LONG, new. | |
4595 | (d_ord): Deleted. | |
4596 | (d_low_ord, d_high_ord, d_named_funcs): New. | |
4597 | (gen_exp_file): Create noname entries correctly. | |
4598 | (gen_lib_file): Dump exports alphabetically. | |
4599 | (process_duplicates): Count nonamed functions. | |
4600 | (fill_ordinals): Keep track of highest ord too. | |
4601 | (mangle_defs): Create alphabetically ordered list of names. | |
4602 | ||
4603 | Tue Oct 10 09:39:09 1995 steve chamberlain <sac@slash.cygnus.com> | |
4604 | ||
4605 | * Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG. | |
4606 | ||
4607 | Mon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com> | |
4608 | ||
4609 | * dlltool.c (add_underscore): New. | |
4610 | (xlate): Use new name. | |
4611 | (main, usage): Update. | |
4612 | ||
4613 | Fri Oct 6 14:08:51 1995 Ken Raeburn <raeburn@cygnus.com> | |
4614 | ||
4615 | * sysinfo.y: Eliminate unused terminals "[" and "]" and unused | |
4616 | nonterminal "name". One s/r conflict remains. | |
4617 | ||
4618 | Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
4619 | ||
4620 | * nm.c (print_symname): Don't try to demangle an empty | |
4621 | name. | |
4622 | * objdump.c (slurp_symtab): Reset symcount if there are | |
4623 | no symbols. | |
4624 | (slurp_dynamic_symtab): Likewise, for dynsymcount. | |
4625 | (disassemble_data): Fix memory leak: free sorted_syms when done. | |
4626 | (display_bfd): Likewise, for syms and dynsyms. | |
4627 | (dump_relocs): Don't print header before possibly generating an | |
4628 | error message. | |
4629 | (dump_dynamic_relocs): Likewise. | |
4630 | ||
4631 | * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and | |
4632 | formatting bugs. | |
4633 | ||
4634 | Fri Oct 6 12:00:25 1995 Ian Lance Taylor <ian@cygnus.com> | |
4635 | ||
4636 | * ar.c (do_quick_append): Comment out. | |
4637 | (replace_members): Add quick argument. | |
4638 | (main): Don't call do_quick_append. | |
4639 | (open_inarch): Don't call quick_append to create an empty archive. | |
4640 | Instead call bfd_openw/bfd_set_format/bfd_close. | |
4641 | ||
4642 | Thu Oct 5 20:53:08 1995 Ken Raeburn <raeburn@cygnus.com> | |
4643 | ||
4644 | * bucomm.c: Always include time.h. | |
4645 | ||
4646 | Thu Oct 5 17:25:21 1995 Ian Lance Taylor <ian@cygnus.com> | |
4647 | ||
4648 | * objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled | |
4649 | symbols after other symbols with the same value. Likewise for | |
4650 | symbols which look like file names. | |
4651 | (objdump_print_address): Always chose the first reasonable symbol | |
4652 | with a given value. | |
4653 | ||
4654 | Tue Oct 3 22:38:55 1995 Ian Lance Taylor <ian@cygnus.com> | |
4655 | ||
4656 | * arsup.c (ar_save): Use rename, not unlink/link/unlink. | |
4657 | ||
4658 | Mon Oct 2 12:10:25 1995 Ian Lance Taylor <ian@cygnus.com> | |
4659 | ||
4660 | * strings.c (main): Exit with zero status if no files are given | |
4661 | and standard input is read. | |
4662 | ||
4663 | Thu Sep 28 20:03:07 1995 Stan Shebs <shebs@andros.cygnus.com> | |
4664 | ||
4665 | * mpw-config.in: Calculate underscore and put into makefile | |
4666 | fragment, generate config.h. | |
4667 | * mpw-make.sed: New file, sed commands to edit Unix makefile | |
4668 | into MPW syntax. | |
4669 | * mpw-make.in: Remove. | |
4670 | * mac-binutils.r: New file, Mac resources. | |
4671 | ||
4672 | Thu Sep 28 15:49:00 1995 steve chamberlain <sac@slash.cygnus.com> | |
4673 | ||
4674 | * dlltool.c: (gen_exp_file): Always emit a .reloc section if | |
4675 | relocatable. | |
4676 | (imp_name_lab): New. | |
4677 | (gen_def_file): New. | |
4678 | (gen_lib_file): Use imp_name_lab. | |
4679 | (main): Initialize imp_name_lab. | |
4680 | ||
4681 | Mon Sep 25 12:05:34 1995 Ian Lance Taylor <ian@cygnus.com> | |
4682 | ||
4683 | * configure.in: Call AC_HEADER_SYS_WAIT. | |
4684 | * configure: Rebuild. | |
4685 | * config.in: Rebuild. | |
4686 | * dlltool.c: Include "libiberty.h" and "bucomm.h". Don't include | |
4687 | <stdio.h>, <stdlib.h>, or <string.h>. Don't include <wait.h>. | |
4688 | Include <sys/types.h>. Use HAVE_SYS_WAIT_H to control whether to | |
4689 | include <sys/wait.h> or define the wait macros by hand. Don't | |
4690 | declare xmalloc. | |
4691 | (gen_lib_file): Don't assume that sprintf returns the number of | |
4692 | characters; use strlen instead. | |
4693 | ||
4694 | Fri Sep 22 17:16:41 1995 Ian Lance Taylor <ian@cygnus.com> | |
4695 | ||
4696 | * objdump.c (disassemble_data): Don't use the old BFD based | |
4697 | disassembler interface. Make info a const pointer. | |
4698 | ||
4699 | Wed Sep 13 18:33:44 1995 Ian Lance Taylor <ian@cygnus.com> | |
4700 | ||
4701 | * objdump.c (start_address): New variable. | |
4702 | (stop_address): New variable. | |
4703 | (usage): Mention --start-address and --stop-address. | |
4704 | (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define. | |
4705 | (long_options): Add "start-address" and "stop-address". | |
4706 | (disassemble_data): Handle start_address and stop_address. | |
4707 | (dump_data, dump_reloc_set): Likewise. | |
4708 | (main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS | |
4709 | and OPTION_STOP_ADDRESS. | |
4710 | * objcopy.c (parse_vma): Move to bucomm.c. | |
4711 | * bucomm.c (parse_vma): New function, moved in from objcopy.c. | |
4712 | * bucomm.h (parse_vma): Declare. | |
4713 | * binutils.texi, objdump.1: Document new objdump options. | |
4714 | ||
4715 | Tue Sep 12 12:37:39 1995 Ian Lance Taylor <ian@cygnus.com> | |
4716 | ||
4717 | * Makefile.in (maintainer-clean): New target. | |
4718 | ||
4719 | * ar.c (replace_members): Don't call write_archive if nothing | |
4720 | changed. | |
4721 | ||
4722 | * objdump.c (disassemble_data): Add casts to avoid gcc warnings. | |
4723 | ||
4724 | Thu Sep 7 12:12:17 1995 Ian Lance Taylor <ian@cygnus.com> | |
4725 | ||
4726 | * config.in: Rename from config.h.in. | |
4727 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
4728 | Check for config.h:config.in when creating stamp-h. | |
4729 | * configure: Rebuild. | |
4730 | * Makefile.in (stamp-h): Depend upon config.in rather than | |
4731 | config.h.in. Set CONFIG_HEADERS to config.h:config.in when | |
4732 | calling config.status. | |
4733 | ||
4734 | * Makefile.in (distclean): Remove config.h, stamp-h, and | |
4735 | config.log. | |
4736 | ||
4737 | * nm.c (value_format): Initialize based on BFD64 and | |
4738 | BFD_HOST_64BIT_LONG. | |
4739 | (print_radix): New static variable. | |
4740 | (set_print_radix): Set print_radix. Adjust changes to | |
4741 | value_format. | |
4742 | (print_value): New static function, to print 64 bit octal and | |
4743 | decimal values correctly. | |
4744 | (print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT. Use | |
4745 | print_value. | |
4746 | (print_symbol_info_sysv): Use print_value. | |
4747 | (print_symbol_info_posix): Likewise. | |
4748 | ||
4749 | Wed Sep 6 15:02:55 1995 Ian Lance Taylor <ian@cygnus.com> | |
4750 | ||
4751 | * Makefile.in (*.o): Remove incorrect dependencies on | |
4752 | $(BFDDIR)/hosts/std-host.h. | |
4753 | ||
4754 | * Makefile.in (INSTALL_DATA): Add -m 644. | |
4755 | (INSTALL_XFORM1): Likewise. | |
4756 | (CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC). | |
4757 | (mostlyclean): Remove config.log. | |
4758 | (distclean): Remove config.cache. | |
4759 | ||
4760 | * configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN. | |
4761 | * configure: Rebuild. | |
4762 | ||
4763 | Tue Sep 5 20:22:42 1995 Ian Lance Taylor <ian@cygnus.com> | |
4764 | ||
4765 | * configure.in: Rewrite to use autoconf. | |
4766 | * aclocal.m4: New file. | |
4767 | * configure: New file, built by autoconf. | |
4768 | * acconfig.h: New file. | |
4769 | * config.h.in: New file, built by autoheader. | |
4770 | * Makefile.in: Various changes for new configure script. Also: | |
4771 | (PROGS): Remove $(SYSINFO_PROG). | |
4772 | (ALL_CFLAGS): Remove $(TDEFINES). | |
4773 | (version.o): Use $(ALL_CFLAGS). | |
4774 | (cplus-dem.o, dlltool.o, nlmconv.o): Likewise. | |
4775 | (sysdump.o): Depend upon bucomm.h and config.h. | |
4776 | (srconv.o, arsup.o, strings.o): Depend upon config.h. | |
4777 | (filemode.o): Don't depend upon ../bfd/sysdep.h. | |
4778 | (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h. | |
4779 | (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise. | |
4780 | (nlmheader.o, nlmconv.o): Likewise. | |
4781 | (distclean): Don't remove sysdep.h. | |
4782 | * bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h". | |
4783 | Include "fopen-same.h" or "fopen-bin.h", based on | |
4784 | USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is | |
4785 | not a macro. Include <unistd.h>, <string.h>, <strings.h>, | |
4786 | <stdlib.h>, and <fcntl.h> if they are present. Declare strchr, | |
4787 | strrchr, and strstr if no string header file exists. Include | |
4788 | <sys/file.h> if it exists and <fcntl.h> does not. Define | |
4789 | O_RDONLY and O_RDWR if necessary. | |
4790 | * ar.c: Don't include "sysdep.h". Do include <sys/types.h> and | |
4791 | <sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use | |
4792 | HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and | |
4793 | don't declare errno. | |
4794 | * arsup.c: Don't include <sysdep.h>. | |
4795 | * bucomm.c: Don't include "sysdep.h". Include <stdio.h>, | |
4796 | <sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines | |
4797 | time_t. Define time_t if necessary. | |
4798 | * coffdump.c: Don't include "sysdep.h". | |
4799 | * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise. | |
4800 | * srconv.c, strings.c: Likewise. | |
4801 | * nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK. | |
4802 | * objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and | |
4803 | <sys/stat.h>. | |
4804 | (simple_copy): Use creat rather than assuming that O_CREAT is | |
4805 | defined. | |
4806 | * objdump.c: Don't include "sysdep.h". Use | |
4807 | NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED. | |
4808 | * sysdump.c: Include "bfd.h" and "bucomm.h". Don't include | |
4809 | "sysdep.h" or <stdlib.h>. | |
4810 | (dump_symbol_info): Rename from symbol_info. Change all callers. | |
4811 | ||
4812 | Mon Sep 4 14:30:00 1995 Ian Lance Taylor <ian@cygnus.com> | |
4813 | ||
4814 | * configure.in (host_makefile_frag): Don't set. Substitute for | |
4815 | @CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile. | |
4816 | * Makefile.in (AR_FLAGS): Set to rc rather than qv. | |
4817 | (CC): Define as @CC@. | |
4818 | (CFLAGS): Set to @CFLAGS@. | |
4819 | (LDFLAGS): Define as @LDFLAGS@. | |
4820 | (ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES). | |
4821 | ||
4822 | * configure.in: Don't bother to call config.bfd for each target. | |
4823 | Just call it for the default target, and use the shell variable to | |
4824 | decide whether underscores are used. | |
4825 | ||
4826 | Thu Aug 31 19:21:48 1995 Jason Molenda (crash@phydeaux.cygnus.com) | |
4827 | ||
4828 | * configure.in: match i[3-6]86-*-win32, not just i386-*-win32. | |
4829 | ||
4830 | Thu Aug 31 16:30:22 1995 steve chamberlain <sac@slash.cygnus.com> | |
4831 | ||
4832 | * dlltool.c (add_indirect): New. | |
4833 | (asm_prefix): New | |
4834 | (gen_exp_file): Timestamp should be 0. Insert prefix when | |
4835 | needed. New code for indirection. | |
4836 | (gen_lib_file): Timestamp should be 0. Insert prefix | |
4837 | when needed. | |
4838 | (usage): Document --add-indirect. | |
4839 | (main): Cope with new option. | |
4840 | ||
4841 | * objdump.c (dump_private_headers): New. | |
4842 | (usage): Document new option. | |
4843 | (long_option): Add private-headers. | |
4844 | (dump_bfd_private_header): New. | |
4845 | (main): Cope with new option. | |
4846 | ||
4847 | Thu Aug 31 04:09:16 1995 Doug Evans <dje@canuck.cygnus.com> | |
4848 | ||
4849 | * dlltool.c (run): Add missing 3rd arg to waitpid. | |
4850 | ||
4851 | Wed Aug 30 11:02:11 1995 steve chamberlain <sac@slash.cygnus.com> | |
4852 | ||
4853 | * Makefile.in (TOOL_PROGS): Include dlltool if needed. | |
4854 | ||
4855 | Tue Aug 29 13:25:21 1995 steve chamberlain <sac@slash.cygnus.com> | |
4856 | ||
4857 | * dlltool.c (rva): Deleted. | |
4858 | (rvaafter, rva_before): Use new assembler pseudo. | |
4859 | (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing. | |
4860 | (gen_exp_file): Don't generate .edata if no need. | |
4861 | (gen_lib_file): Don't make timestamp. | |
4862 | Put _iname in idata$7. | |
4863 | (workout_prefix): Fix memory initialization bug. | |
4864 | (usage): Tidy up, delete many single char options. | |
4865 | (main): rva option is gone. | |
4866 | ||
4867 | Mon Aug 21 18:41:28 1995 steve chamberlain <sac@slash.cygnus.com> | |
4868 | ||
4869 | * dlltool.c (options): image-base is a synonym for rva. | |
4870 | (gen_lib_file): Put dll name into ibase$7. | |
4871 | ||
4872 | Sun Aug 20 09:59:00 1995 steve chamberlain <sac@slash.cygnus.com> | |
4873 | ||
4874 | Modified to generate archives and objects rather than .s files. | |
4875 | * dlltool.c (run) New function. | |
4876 | (gen_exp_file, gen_lib_file): Use run. | |
4877 | (workout_prefix): New. | |
4878 | (usage): Document new options. | |
4879 | (main): Parse new options. | |
4880 | ||
4881 | Wed Aug 16 16:26:52 1995 steve chamberlain <sac@slash.cygnus.com> | |
4882 | ||
4883 | * dlltool.c (gen_exp_file): Fix RVA handling. | |
4884 | (rva_s, rva_n): Delete. | |
4885 | ||
4886 | Fri Aug 11 18:27:18 1995 Ian Lance Taylor <ian@cygnus.com> | |
4887 | ||
4888 | * nm.c (main): Ignore -e. | |
4889 | ||
4890 | Thu Aug 10 17:35:00 1995 Ken Raeburn <raeburn@cygnus.com> | |
4891 | ||
4892 | * Makefile.in (config.texi): New target. Write out a setting for | |
4893 | texinfo variable VERSION. | |
4894 | (binutils.dvi, binutils.info): Depend on it. | |
4895 | * binutils.texi: Include it, and reference @value{VERSION} instead | |
4896 | of explicitly specifying 2.2(!). | |
4897 | ||
4898 | Thu Aug 10 16:07:53 1995 Ian Lance Taylor <ian@cygnus.com> | |
4899 | ||
4900 | * coffgrok.c (do_type): Handle array dimensions the same way gdb | |
4901 | does. | |
4902 | ||
4903 | Tue Aug 8 17:10:42 1995 steve chamberlain <sac@slash.cygnus.com> | |
4904 | ||
4905 | * dlltool.c (mtable): New fields. | |
4906 | (ASM_RVA_BEFORE, ASM_RVA_AFTER): New. | |
4907 | (flush_page): Use new macros. | |
4908 | ||
4909 | Sat Aug 5 00:16:37 1995 Jeff Law (law@snake.cs.utah.edu) | |
4910 | ||
4911 | * objcopy.c (mark_symbols_used_in_relocations): Handle sections | |
4912 | with no relocations. | |
4913 | * coffgrok.c (do_sections_p1): Likewise. | |
4914 | ||
4915 | Mon Jul 31 12:51:06 1995 Ian Lance Taylor <ian@cygnus.com> | |
4916 | ||
4917 | * strings.c (print_strings): For compatibility with existing | |
4918 | strings programs, print strings which are not terminated with a | |
4919 | null byte or a newline. | |
4920 | * binutils.texi, strings.1: Update documentation accordingly. | |
4921 | ||
4922 | * ar.c (replace_members): For compatibility with existing ar | |
4923 | programs, permit users to add the same file multiple times. | |
4924 | ||
4925 | Tue Jul 25 11:21:53 1995 Ian Lance Taylor <ian@cygnus.com> | |
4926 | ||
4927 | * strings.c (DATA_FLAGS): Remove SEC_DATA. | |
4928 | (main): If no file names are given, scan standard input. | |
4929 | * binutils.texi, strings.1: strings now scans non-data sections by | |
4930 | default. | |
4931 | ||
4932 | Mon Jul 24 13:52:28 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
4933 | ||
4934 | * srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh. | |
4935 | (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes | |
4936 | for the sh. | |
4937 | ||
4938 | * sysdump.c (fillup): Return size - 1, the last byte is a checksum | |
4939 | and shouldn't be counted. | |
4940 | * sysroff.info (hd): Changed segment identifier from a byte to a 1 | |
4941 | bit field. The sysroff 2.0-01 specification seems to be in error | |
4942 | here. Reduce width of following "spare" field from 4 to 3 bits. | |
4943 | (rl): Changed order and width of first 4 bitfields to correspond | |
4944 | to sysroff specification. | |
4945 | (dln_head, dln_inside, dln_tail): Removed. | |
4946 | ||
4947 | Tue Jul 18 23:00:03 1995 Fred Fish <fnf@cygnus.com> | |
4948 | ||
4949 | * nm.c (sort_symbols_by_size): Enclose expression being casted | |
4950 | in parens so result is casted, not just first operand. Can't | |
4951 | do pointer arithmetic on void* pointers. | |
4952 | ||
4953 | Fri Jul 14 13:42:42 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
4954 | ||
4955 | * sysdump.c (dh): Changed format of output to be 16 hex digits | |
4956 | followed by 16 ascii characters, similar to Emacs' hexl-mode, | |
4957 | to make it easier to read. | |
4958 | (xcalloc): fix typo. | |
4959 | ||
4960 | Thu Jul 13 15:27:44 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
4961 | ||
4962 | * srconv.c (wr_tr): Write out handcrafted tr block. | |
4963 | (walk_tree_symbol): Use evallen and evalue instead of | |
4964 | vallen & value because of corresponding changes in | |
4965 | sysroff.info. | |
4966 | ||
4967 | * sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New | |
4968 | functions. | |
4969 | ||
4970 | * sysroff.info (tr): the tr block is a special case --- a block | |
4971 | without contents --- which can't be handled by generated code. | |
4972 | (den, dpp): only first byte is present for DENend, DPPend. | |
4973 | (dsy): describe a conditional portion of block, rename some fields. | |
4974 | (dps): describe a conditional portion of block. | |
4975 | (dfl): removed. | |
4976 | ||
4977 | * sysinfo.y (yyerror): write error message to standard error. | |
4978 | ||
4979 | Thu Jul 13 10:43:59 1995 Ian Lance Taylor <ian@cygnus.com> | |
4980 | ||
4981 | * Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h. | |
4982 | (mostlyclean): Remove y.output. | |
4983 | (clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo. | |
4984 | ||
4985 | * nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t. | |
4986 | * objcopy.c (copy_object): Likewise. | |
4987 | ||
4988 | * nm.c (HAVE_SBRK): Define execpt on amigados and WINDOWS_NT. | |
4989 | (struct size_sym): Define. | |
4990 | (show_stats): New static variable. | |
4991 | (long_options): Add undocumented option "stats". | |
4992 | (main): Print memory stats if requested. | |
4993 | (sort_bfd, sort_dynamic, sort_x, sort_y): New static variables. | |
4994 | (numeric_forward): Use minisymbols rather than asymbols. | |
4995 | (non_numeric_forward): Likewise. | |
4996 | (size_forward1): Rename from size_forward. Use minisymbols. | |
4997 | (size_forward2): New static function. | |
4998 | (sort_symbols_by_size): Take new arguments dynamic, size, and | |
4999 | symsizep. Use minisymbols. Don't store the size back in the | |
5000 | symbol; store in a newly allocate struct size_sym array. | |
5001 | (display_rel_file): Read minisymbols rather than asymbols. Set | |
5002 | sort_* variables. Call print_size_symbols if sorting by size. | |
5003 | (filter_symbols): Take new arguments dynamic and size. Use | |
5004 | minisymbols. | |
5005 | (print_symbols): Likewise. Call print_symbol for actual printing. | |
5006 | (print_size_symbols): New static function. | |
5007 | (print_symbol): New static function. | |
5008 | ||
5009 | Wed Jul 12 10:43:05 1995 Ian Lance Taylor <ian@cygnus.com> | |
5010 | ||
5011 | * objdump.c (dump_section_stabs): Only print each stabs section | |
5012 | once. | |
5013 | (compare_relocs): Make it clear to gcc that this always returns a | |
5014 | value. | |
5015 | ||
5016 | Wed Jul 12 10:40:23 1995 H.J. Lu <hjl@nynexst.com> | |
5017 | ||
5018 | * objcopy.c (simple_copy): Preserve errno on failure. | |
5019 | (smart_rename): Print error mesage if simple_copy fails. | |
5020 | ||
5021 | Tue Jul 11 13:10:52 1995 J.T. Conklin <jtc@rtl.cygnus.com> | |
5022 | ||
5023 | * sysdump.c: re-indented file. | |
5024 | (module): read blocks sequentially instead of trying to parse | |
5025 | them, as that would require changing the parser recognize the | |
5026 | difference between a DPSstart and DPSend block. | |
5027 | (getone): Add break's between switch blocks as appropriate. | |
5028 | (object_body_list): parse blocks according to sysroff spec. | |
5029 | ||
5030 | Mon Jul 10 12:37:25 1995 J.T. Conklin <jtc@poseidon.cygnus.com> | |
5031 | ||
5032 | * sysroff.info: re-indented file, prior formatting was confusing | |
5033 | because it was indentation did not reflect nesting of conditional | |
5034 | records. Change "space size within segment" record in hd record | |
5035 | from bit to byte. | |
5036 | ||
5037 | * sysinfo.y (cond_it_field): Use xcalloc instead of calloc. | |
5038 | ||
5039 | * srconv.c (wr_cs): Reformatted cs header array, tag each byte | |
5040 | with a comment describing the field. | |
5041 | (wr_unit_info): Use SEEK_SET macro instead of constant 0. | |
5042 | (main): Use FOPEN_WB macro instead of literal "wb". | |
5043 | * sysroff.info: Remove fdl (dfl) field from cs block. Compare | |
5044 | ptr->type with ED_TYPE_CONST instead of constant 2 in ed block. | |
5045 | ||
5046 | Tue Jul 4 14:48:42 1995 Ian Lance Taylor <ian@cygnus.com> | |
5047 | ||
5048 | * nm.c (size_forward): Check yf against yn, not xn. | |
5049 | ||
5050 | * objcopy.c (copy_archive): Record all output BFD's, and close | |
5051 | them before unlinking them and removing the temporary directory, | |
5052 | to avoid NFS problems. | |
5053 | ||
5054 | * ar.c (replace_members): In verbose messages, use 'r' when | |
5055 | replacing a member, and 'a' when adding one. | |
5056 | ||
5057 | * ar.c (ar_truncate): New static variable. | |
5058 | (normalize): Change return type to const char *. Add abfd | |
5059 | argument. Change all callers. If ar_truncate, chop the filename | |
5060 | to abfd->ar_max_namelen. | |
5061 | (main): For the 'f' modifier, set ar_truncate to true. Don't | |
5062 | change quick_append to replace if ar_truncate is true. | |
5063 | (do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT. | |
5064 | (write_archive): Likewise. | |
5065 | * binutils.texi, ar.1: Document 'f' modifier. | |
5066 | ||
5067 | * objcopy.c (enum strip_action): Define strip_unneeded. | |
5068 | (OPTION_STRIP_UNNEEDED): Define. | |
5069 | (strip_options): Add "strip-unneeded". | |
5070 | (copy_options): Likewise. | |
5071 | (copy_usage): Mention --strip-unneeded. | |
5072 | (strip_usage): Likewise. | |
5073 | (is_strip_section): Strip debugging sections if strip_unneeded. | |
5074 | (filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols. | |
5075 | (copy_object): If strip_all, discard symbols without checking | |
5076 | discard_locals. | |
5077 | (copy_object): Call filter_symbols if strip_unneeded. | |
5078 | (setup_section): Strip debugging sections if strip_unneeded. | |
5079 | (copy_section): Likewise. | |
5080 | (strip_main): Handle OPTION_STRIP_UNNEEDED. | |
5081 | (copy_main): Likewise. | |
5082 | * binutils.texi, objcopy.1, strip.1: Document --strip-unneeded. | |
5083 | ||
5084 | Mon Jul 3 14:16:47 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5085 | ||
5086 | * configure.in (i386-*-win32): New configuration. | |
5087 | * dlltool.c (killat, xlate, usage, long_options, main): | |
5088 | Understand and cope with -k option. | |
5089 | ||
5090 | Sat Jul 1 12:25:15 1995 Fred Fish <fnf@cygnus.com> | |
5091 | ||
5092 | * ar.c: (extract_file): Change "#if POSIX_UTIME" to | |
5093 | "#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME | |
5094 | and avoid lossage when POSIX_UTIME is not defined at all. | |
5095 | ||
5096 | Wed Jun 28 17:51:24 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5097 | ||
5098 | * ar.c: (print_contents.c, extract_file, do_quick_append): | |
5099 | Malloc buffers rather than allocate on stack (so it works | |
5100 | on NT). | |
5101 | * deflex.l: Names can have an @ in them. | |
5102 | * dlltool.c: Loads of stuff. Can now generate .imp files which | |
5103 | work with NT .dlls. | |
5104 | ||
5105 | Thu Jun 22 19:10:50 1995 Stan Shebs <shebs@andros.cygnus.com> | |
5106 | ||
5107 | * mpw-make.in (demangle.c.o): Remove. | |
5108 | (arparse.h): Depend on arparse.c instead of arparse.y. | |
5109 | ||
5110 | Wed Jun 21 17:32:45 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5111 | ||
5112 | * Makefile.in (DISTSTUFF): Don't include info here. | |
5113 | (diststuff): Include it here. | |
5114 | (realclean): Remove *.info. | |
5115 | ||
5116 | * objdump.c (compare_relocs): If relocation entries have the same | |
5117 | address, keep them in file order. | |
5118 | ||
5119 | Mon Jun 19 09:06:49 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5120 | ||
5121 | * dlltool.c: Change names of generated files. .*.s-> -*.s | |
5122 | ||
5123 | * objdump.c (dump_section_stabs): Check for names | |
5124 | which are supersets of selected names. | |
5125 | ||
5126 | Wed Jun 14 19:43:52 1995 Doug Evans <dje@canuck.cygnus.com> | |
5127 | ||
5128 | * dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr. | |
5129 | ||
5130 | Wed Jun 14 13:27:22 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5131 | ||
5132 | * deflex.l, defparse.y, dlltool.c: New files. | |
5133 | * Makefile.in, configure.in: Support for them. | |
5134 | ||
5135 | Mon Jun 12 11:27:54 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5136 | ||
5137 | * sysdump.c: Include sysdep.h | |
5138 | (main): Open input with FOPEN_RB. | |
5139 | ||
5140 | Fri Jun 9 17:26:11 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5141 | ||
5142 | * objdump.c (wide_output): New flag variable. | |
5143 | (usage): Print new -w, --wide options. | |
5144 | (long_options): Add --wide support. | |
5145 | (dump_section_header): If --wide, don't print a newline between | |
5146 | the section's first line and the flags. | |
5147 | (objdump_print_address): Use unsigned comparisons for the binary | |
5148 | search, not signed. | |
5149 | (disassemble_data): If --wide, don't put a \n between the | |
5150 | disassembly output and relocation information. | |
5151 | (main): Support -w option being the same as --wide. | |
5152 | ||
5153 | Thu Jun 1 17:09:27 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5154 | ||
5155 | Sat May 6 08:52:24 1995 H.J. Lu (hjl@nynexst.com) | |
5156 | ||
5157 | * objcopy.c (smart_rename): make it smarter, clean up | |
5158 | if rename () fails. | |
5159 | ||
5160 | Tue May 30 14:24:15 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5161 | ||
5162 | * Makefile.in: Delete lines with lots of #### because four or more | |
5163 | indicate a point for makefile fragment substitution. | |
5164 | ||
5165 | Tue May 9 17:17:05 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5166 | ||
5167 | * configure.in: Don't build nlmconv on PowerPC eabi any more, it | |
5168 | is not needed. | |
5169 | ||
5170 | Thu Apr 27 20:21:24 1995 Doug Evans <dje@canuck.cygnus.com> | |
5171 | ||
5172 | * Makefile.in (EXPECT): Define. | |
5173 | (RUNTEST): Use one in source tree if present. | |
5174 | (check): Set `rootme' for $(EXPECT). | |
5175 | ||
5176 | Wed Apr 26 18:26:21 1995 Steve Chamberlain <sac@slash.cygnus.com> | |
5177 | ||
5178 | * srconv.c (main): Add support for -n option which disables | |
5179 | prescan of common symbols. | |
5180 | (wr_ob): If reading past the end of a section, fill with zeros. | |
5181 | ||
5182 | Tue Apr 25 19:14:37 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5183 | ||
5184 | * objdump.c (dump_section_header): Display load address after | |
5185 | virtual memory (run-time) address. | |
5186 | ||
5187 | Wed Apr 19 09:44:06 1995 Jason Merrill <jason@phydeaux.cygnus.com> | |
5188 | ||
5189 | * Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the | |
5190 | compile. | |
5191 | (DEMANGLER_PROG): No longer uses version.o. | |
5192 | ||
5193 | Mon Apr 10 13:29:49 1995 Stan Shebs <shebs@andros.cygnus.com> | |
5194 | ||
5195 | Merge in support for Mac MPW as a host. | |
5196 | (Old change descriptions retained for informational value.) | |
5197 | ||
5198 | * mpw-config.in (TDEFINES): Define as empty in makefile frag. | |
5199 | ||
5200 | * mpw-config.in: Create mk.tmp, define ARCHDEFS in it. | |
5201 | ||
5202 | * mpw-config.in: New file, MPW configure fragment for binutils. | |
5203 | * mpw-make.in (install-only): New target. | |
5204 | (install): Also depend on install-only. | |
5205 | ||
5206 | * mpw-make.in (cplusfilt): Renamed from c++filt. | |
5207 | (INCLUDES): Add more paths. | |
5208 | ||
5209 | * mpw-make.in: New file, MPW makefile fragment for binutils. | |
5210 | (Normally automatically generated from Makefile.in.) | |
5211 | ||
5212 | Mon Mar 27 11:52:57 1995 Ian Lance Taylor <ian@cygnus.com> | |
5213 | ||
5214 | * ar.c (write_archive): Call make_tempname to get output file | |
5215 | name, rather than using a fixed name based on the input file. | |
5216 | ||
5217 | * objcopy.c (make_tempname): Copy from here... | |
5218 | * bucomm.c (make_tempname): ...to here, and make global. | |
5219 | * bucomm.h (make_tempname): Declare. | |
5220 | ||
5221 | Fri Mar 24 11:47:42 1995 Ian Lance Taylor <ian@cygnus.com> | |
5222 | ||
5223 | * strings.c: Include "bfd.h" before other headers. Include | |
5224 | "sysdep.h". | |
5225 | * bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long, | |
5226 | and print them with %ld. | |
5227 | ||
5228 | Fri Mar 10 13:09:42 1995 Ian Lance Taylor <ian@cygnus.com> | |
5229 | ||
5230 | * objcopy.c (strip_options): Add --keep-symbol. | |
5231 | (copy_options): Likewise. | |
5232 | (copy_usage): Mention --keep-symbol and -K. | |
5233 | (strip_usage): Likewise. | |
5234 | (keep_symbols): New static variable. | |
5235 | (is_strip_symbol): Adjust the return value according to | |
5236 | keep_symbols. | |
5237 | (strip_main): Handle -K. For -N, check that -K was not given. | |
5238 | (copy_main): Likewise. | |
5239 | * binutils.texi, objcopy.1, strip.1: Document -K. | |
5240 | ||
5241 | Mon Mar 6 13:33:47 1995 Stan Shebs <shebs@andros.cygnus.com> | |
5242 | ||
5243 | * objcopy.c (copy_archive): Check result of mkdir. | |
5244 | (copy_main): Cast an xmalloc result. | |
5245 | ||
5246 | * objdump.c (usage): Break long format string into shorter ones. | |
5247 | ||
5248 | Mon Mar 6 13:46:12 1995 Ian Lance Taylor <ian@cygnus.com> | |
5249 | ||
5250 | * bucomm.c (list_supported_targets): New function. | |
5251 | * bucomm.h (list_supported_targets): Declare. | |
5252 | * ar.c (usage): Call list_supported_targets. | |
5253 | * nm.c (usage): Likewise. | |
5254 | * objcopy.c (copy_usage, strip_usage): Likewise. | |
5255 | * objdump.c (usage): Likewise. | |
5256 | * size.c (usage): Likewise. | |
5257 | * strings.c (usage): Likewise. | |
5258 | ||
5259 | Tue Feb 28 15:13:58 1995 Ian Lance Taylor <ian@cygnus.com> | |
5260 | ||
5261 | * bucomm.c (print_arelt_descr): Cast st_size to long before | |
5262 | passing it to fprintf. | |
5263 | ||
5264 | Fri Feb 17 13:36:45 1995 Ian Lance Taylor <ian@cygnus.com> | |
5265 | ||
5266 | * objcopy.c (struct section_list): Add fields remove, set_flags, | |
5267 | and flags. Change adjust from boolean to enum. | |
5268 | (remove_sections): Remove static variable. | |
5269 | (sections_removed): New static variable. | |
5270 | (copy_options): Add --set-section-flags. | |
5271 | (copy_usage): Mention --set-section-flags. | |
5272 | (parse_flags): New static function. | |
5273 | (find_section_list): New static function. | |
5274 | (is_strip_symbol): Change return type from int to boolean. | |
5275 | (is_strip_section): New static function. | |
5276 | (filter_symbols): Call is_strip_section. | |
5277 | (copy_object): When adding sections, check for specified flags or | |
5278 | VMA. Call filter_symbols if any sections are being removed. | |
5279 | (setup_section): Use find_section_list function rather than | |
5280 | looking through remove_sections and adjust_sections. Handle | |
5281 | --set-section-flags. | |
5282 | (copy_section): Use find_section_list rather than looking through | |
5283 | remove_sections. | |
5284 | (strip_main): Use find_section_list instead of adding items to | |
5285 | sections_removed. | |
5286 | (copy_main): Use find_section_list instead of adding items to | |
5287 | sections_removed and adjust_sections. Handle --set-section-flags. | |
5288 | * binutils.texi, objcopy.1: Document --set-section-flags. | |
5289 | ||
5290 | Tue Feb 14 18:03:03 1995 Ian Lance Taylor <ian@cygnus.com> | |
5291 | ||
5292 | * objdump.c (with_source_code): New global variable. | |
5293 | (usage): Mention -S/--source. | |
5294 | (long_options): Add --source. | |
5295 | (prev_functionname, prev_line): New static variables. | |
5296 | (struct print_file_list): Define. | |
5297 | (print_files): New static variable. | |
5298 | (skip_to_line, show_line): New static functions. | |
5299 | (disassemble_data): Call show_line to handle -l and -S. | |
5300 | (main): Handle -S. | |
5301 | * binutils.texi, objdump.1: Document -S/--source. | |
5302 | ||
5303 | Thu Feb 9 16:11:53 1995 Ian Lance Taylor <ian@cygnus.com> | |
5304 | ||
5305 | * objcopy.c (copy_usage): Rename parameter to avoid shadowing. | |
5306 | (strip_usage): Likewise. | |
5307 | ||
5308 | * objcopy.c (struct section_add): Define. | |
5309 | (add_sections): New static variable. | |
5310 | (copy_options): Accept --add-section. | |
5311 | (copy_usage): Mention --add-section. | |
5312 | (copy_object): Add sections from the add_sections list. | |
5313 | (copy_main): Handle --add-section. | |
5314 | * binutils.texi, objcopy.1: Document --add-section. | |
5315 | ||
5316 | Wed Feb 1 15:04:57 1995 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5317 | ||
5318 | * objdump.c (disassemble_data): Pass section offset, not absolute | |
5319 | address, to bfd_find_nearest_line. | |
5320 | ||
5321 | * nlmconv.c (powerpc_mangle_relocs): Don't use const with | |
5322 | reloc_howto_type. | |
5323 | ||
5324 | Thu Jan 26 18:50:06 1995 Ian Lance Taylor <ian@cygnus.com> | |
5325 | ||
5326 | * objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather | |
5327 | than VAR->value. | |
5328 | (objdump_print_address): Likewise. | |
5329 | (disassemble_data): Don't change the symbol values. It can | |
5330 | confuse bfd_canonicalize_reloc. | |
5331 | ||
5332 | Thu Jan 26 12:03:56 1995 Michael Meissner <meissner@tiktok.cygnus.com> | |
5333 | ||
5334 | * configure.in: Add support for powerpc-*-ebai. | |
5335 | ||
5336 | Wed Jan 18 10:02:12 1995 Steve Chamberlain <sac@splat> | |
5337 | ||
5338 | * coffdump.c: Include sysdep.h. | |
5339 | (dump_coff_type): Handle coff_secdef_type. | |
5340 | * coffgrok.c : Include sysdep.h. | |
5341 | * srconv.c: Include libiberty.h | |
5342 | (absolute_p, dty_start, dty_end, dump_tree_structure): Remove. | |
5343 | ||
5344 | Wed Jan 18 12:24:14 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5345 | ||
5346 | * coffdump.c (dump_coff_scope): Cast pointer to unsigned long for | |
5347 | printf. | |
5348 | * coffgrok.c: Include bucomm.h. Don't declare xmalloc. | |
5349 | (push_scope): Declare type of parameter link. | |
5350 | * size.c: Include libiberty.h. | |
5351 | * srconv.c: Include bucomm.h. | |
5352 | (find_base): Declare at top of file. | |
5353 | (wr_hd): Add default case to architecture switch. | |
5354 | (wr_dps_start): Declare type of parameter nest. | |
5355 | (wr_du): Comment out variables used only in commented out blocks. | |
5356 | (wr_dus): Remove unused variable i. | |
5357 | (wr_sc): Remove unused variables myinfo, low, and high. | |
5358 | * strings.c: Include libiberty.h. | |
5359 | * sysdump.c: Include <ctype.h>. | |
5360 | ||
5361 | Tue Dec 20 19:13:44 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5362 | ||
5363 | * ar.c (main): Ignore 'f' modifier used on HP/UX 9. | |
5364 | ||
5365 | Thu Dec 15 17:34:12 1994 Stan Shebs <shebs@andros.cygnus.com> | |
5366 | ||
5367 | * ar.c, nm.c, objcopy.c, objdump.c: Include progress.h. | |
5368 | * ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS | |
5369 | and END_PROGRESS. | |
5370 | * ar.c (map_over_members, open_inarch): Call PROGRESS. | |
5371 | * nm.c (main, display_archive, filter_symbols, print_symbols): | |
5372 | Call PROGRESS. | |
5373 | ||
5374 | * objcopy.c (copy_usage): Break up long usage string. | |
5375 | ||
5376 | Wed Dec 14 15:51:56 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5377 | ||
5378 | * objcopy.c (copy_object): Don't bother setting status after | |
5379 | nonfatal() "call", because it won't return. | |
5380 | ||
5381 | Fri Dec 9 00:22:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5382 | ||
5383 | * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use | |
5384 | the section symbol if the symbol is undefined. | |
5385 | ||
5386 | Thu Dec 8 14:45:50 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5387 | ||
5388 | * objcopy.c (add_strip_symbol): Cast return value of xmalloc. | |
5389 | ||
5390 | Wed Nov 30 11:05:43 1994 Ian Lance Taylor <ian@rtl.cygnus.com> | |
5391 | ||
5392 | * ar.c (replace_members): Pass current->filename to normalize when | |
5393 | checking for duplicates, because the filename of a newly added | |
5394 | file will not have been normalized yet. | |
5395 | ||
5396 | Thu Nov 17 15:00:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5397 | ||
5398 | * ar.c (main): Don't call do_quick_append if any of the archive | |
5399 | names are longer than 14 characters. | |
5400 | ||
5401 | * objcopy.c (main): Fix is_strip test. From | |
5402 | pirker@eiunix.tuwien.ac.at (Martin Pirker). | |
5403 | ||
5404 | Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com> | |
5405 | ||
5406 | * objcopy.c (add_strip_symbol): New function, adds a name to an | |
5407 | explicit list of symbols to strip. | |
5408 | (is_strip_symbol): New function, reports whether the name argument | |
5409 | is in the explicit list. | |
5410 | (filter_symbols): Check against is_strip_symbol above all. | |
5411 | (strip_main): Recognize -N option. If used, don't default to | |
5412 | strip_all. | |
5413 | (copy_main): Recognize -N option. | |
5414 | (strip_usage): Document -N and --strip-symbol options. | |
5415 | (copy_usage): Ditto. | |
5416 | * objcopy.1, strip.1, binutils.texi: Document -N and | |
5417 | --strip-symbol options. | |
5418 | ||
5419 | Tue Nov 8 13:12:54 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5420 | ||
5421 | * objdump.c (display_target_list, display_info_table): Pass an | |
5422 | array to tmparg, rather than NULL, since some systems can't handle | |
5423 | NULL. | |
5424 | ||
5425 | * objcopy.c (copy_archive): Keep a list of the names of the | |
5426 | temporary files we created. Close each input BFD after we open | |
5427 | its successor. | |
5428 | ||
5429 | Mon Nov 7 15:48:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5430 | ||
5431 | * Makefile.in (VERSION): Bump to 2.5.3. | |
5432 | ||
5433 | Thu Nov 3 19:04:34 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5434 | ||
5435 | * Makefile.in (install-info): Install info files from whatever | |
5436 | directory they were found in. | |
5437 | ||
5438 | Patch from DJ Delorie: | |
5439 | * configure.bat: do c++filt -> cxxfilt right | |
5440 | ||
5441 | * sysinfo.y: Include system header files early, so any potential | |
5442 | declaration of abort() occurs before its use. | |
5443 | ||
5444 | * strings.c (strings_file): Try opening the file in binary mode | |
5445 | first. | |
5446 | ||
5447 | Wed Nov 2 15:44:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5448 | ||
5449 | * ar.c (main): Treat ar qs like ar rs. | |
5450 | ||
5451 | Tue Oct 25 16:19:25 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5452 | ||
5453 | * objcopy.c (gap_fill): Explicitly initialize, for clarity. | |
5454 | (pad_to_set, pad_to): New static variables. | |
5455 | (copy_options): Accept --pad-to. | |
5456 | (copy_usage): Mention --pad-to. | |
5457 | (copy_object): Support --pad-to. | |
5458 | (compare_section_vma): Sort non loadable sections to the front. | |
5459 | Sort sections with the same VMA by size. | |
5460 | (copy_main): Handle --pad-to. | |
5461 | * binutils.texi, objcopy.1: Document --pad-to. | |
5462 | ||
5463 | Thu Oct 20 13:51:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5464 | ||
5465 | * objcopy.c (gap_fill_set, gap_fill): New static variables. | |
5466 | (copy_options): Accept --gap-fill. | |
5467 | (copy_usage): Mention --gap-fill. | |
5468 | (copy_object): Support --gap-fill. | |
5469 | (get_sections, compare_section_vma): New static functions. | |
5470 | (copy_main): Handle --gap-fill. | |
5471 | * binutils.texi, objcopy.1: Document --gap-fill. | |
5472 | ||
5473 | Wed Oct 19 14:09:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5474 | ||
5475 | * Makefile.in (check): Add a dummy else clause to the if | |
5476 | statement. | |
5477 | ||
5478 | * objcopy.c (copy_object): Revert yesterday's change. | |
5479 | * binutils.texi, objcopy.1: Remove special mention of --set-start | |
5480 | and `binary' output format. | |
5481 | ||
5482 | Tue Oct 18 11:12:01 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5483 | ||
5484 | * objcopy.c (copy_object): If the output file format is `binary', | |
5485 | and the start address was not set using --set-start, default the | |
5486 | start address to zero. This hack is because the `binary' output | |
5487 | file format uses the start address to set the virtual address of | |
5488 | the first byte in the file. | |
5489 | * binutils.texi, objcopy.1: Add some notes on generating S-records | |
5490 | and binary files. | |
5491 | ||
5492 | * nm.c (print_symdef_entry): Call print_symname to print the | |
5493 | symbol name, so that --demangle works. | |
5494 | ||
5495 | * Makefile.in (mostlyclean): Remove tmpdir. | |
5496 | ||
5497 | * objcopy.c (struct section_list): Add fields used, adjust, val. | |
5498 | (adjust_start, set_start_set, set_start): New static variables. | |
5499 | (adjust_section_vma, adjust_sections): New static variables. | |
5500 | (copy_options): Add --adjust-start, --adjust-vma, | |
5501 | --adjust-section-vma, --adjust-warnings, --no-adjust-warnings, | |
5502 | --set-start. | |
5503 | (parse_vma): New static function. | |
5504 | (copy_usage): Mention new options. | |
5505 | (copy_object): Handle --set-start and --adjust-start. | |
5506 | (setup_section): Correct type of last argument to PTR. Set used | |
5507 | field if section is removed. Handle --adjust-vma and | |
5508 | --adjust-section-vma. | |
5509 | (copy_section): Correct type of last argument to PTR. | |
5510 | (mark_symbols_used_in_relocations): Likewise. | |
5511 | (strip_main): Clear used field when handling -R. | |
5512 | (copy_main): Handle new options. | |
5513 | * binutils.texi (objcopy): Document new options. | |
5514 | * objcopy.1: Document new options. | |
5515 | ||
5516 | Fri Oct 14 14:38:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5517 | ||
5518 | * configure.in (configdirs): Remove definition--testsuite is no | |
5519 | longer configured. | |
5520 | * Makefile.in (testsuite): Remove target. | |
5521 | (site.exp): New target. | |
5522 | (check): Rewrite. | |
5523 | (clean, distclean): Don't recur into testsuite directory. | |
5524 | ||
5525 | Thu Oct 13 19:24:09 1994 Ken Raeburn <raeburn@cujo.cygnus.com> | |
5526 | ||
5527 | * Makefile.in (VERSION): Updated to 2.5. | |
5528 | * Version 2.5 released. | |
5529 | ||
5530 | Tue Oct 11 15:26:42 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5531 | ||
5532 | * Makefile.in (sysdump.o): Depends upon sysroff.c. | |
5533 | ||
5534 | Mon Oct 10 13:50:30 1994 J.T. Conklin (jtc@rtl.cygnus.com) | |
5535 | ||
5536 | * nlmconv.c (link_inputs): Pass -Ur flag to ld so that the | |
5537 | ctor/dtor tables needed by C++ programs are built. | |
5538 | ||
5539 | Sun Oct 9 18:04:00 1994 Jim Wilson (wilson@sphagnum.cygnus.com) | |
5540 | ||
5541 | * Makefile.in (srconv.o): Add dependence on sysroff.c. | |
5542 | ||
5543 | Tue Oct 4 12:19:51 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> | |
5544 | ||
5545 | * configure.in: Use ${config_shell} when running config.bfd. | |
5546 | ||
5547 | * Makefile.in (sysroff.h): Split target away from sysroff.c. | |
5548 | (srconv.o, sysdump.o): New targets. | |
5549 | (srconv, sysdump): Don't depend upon sysroff.c. | |
5550 | ||
5551 | Wed Sep 28 13:04:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5552 | ||
5553 | * Makefile.in (arparse.c): Don't ignore errors from mv. | |
5554 | (sysinfo.c): Likewise. Also, depend upon arparse.c, to prevent a | |
5555 | parallel make from trying to build both arparse.c and sysinfo.c | |
5556 | simultaneously. | |
5557 | (nlmheader.c): Similar change. | |
5558 | (arparse.h): Separate target from arparse.c, so that a parallel | |
5559 | make does not try to build both at once. Depend upon arparse.c. | |
5560 | (sysinfo.h): Similar change. | |
5561 | ||
5562 | * objdump.c (disassemble_data): Pass the reloc buffer to free, not | |
5563 | the pointer used to loop over the relocs. | |
5564 | ||
5565 | Sat Sep 24 16:16:57 1994 Stan Shebs (shebs@andros.cygnus.com) | |
5566 | ||
5567 | * objdump.c (disassemble_data): Cast result of xmalloc. | |
5568 | ||
5569 | Wed Sep 21 19:30:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5570 | ||
5571 | * objdump.c (sorted_syms, sorted_symcount): New global variables. | |
5572 | (objdump_print_address): Use sorted_syms and sorted_symcount | |
5573 | instead of syms and symcount. | |
5574 | (disassemble_data): Don't bother to get the relocs before looping | |
5575 | over the sections. Before filtering and sorting the symbol table, | |
5576 | copy it into sorted_syms. | |
5577 | ||
5578 | Fri Sep 16 11:27:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5579 | ||
5580 | * objdump.c (struct objdump_disasm_info): Add field require_sec. | |
5581 | (objdump_print_address): If aux->require_sec, require that the | |
5582 | symbol be in aux->sec even if HAS_RELOC is not set. If we can't | |
5583 | find a smaller symbol in the right section, look for a larger one. | |
5584 | (disassemble_data): Set aux.require_sec around the | |
5585 | objdump_print_address call for the instruction address. | |
5586 | ||
5587 | Thu Sep 15 21:43:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5588 | ||
5589 | * ar.c: Call xexit rather than exit. | |
5590 | (output_filename, output_file, output_bfd): New static variables. | |
5591 | (remove_output): New static function. | |
5592 | (main): Call xatexit (remove_output). Call xexit rather than | |
5593 | returning. | |
5594 | (extract_file): Set output_filename and output_file while output | |
5595 | file is open. | |
5596 | (write_archive): Likewise, but use output_bfd, not output_file. | |
5597 | * arsup.c: Include libiberty.h. Call xexit rather than exit. | |
5598 | * bucomm.c: Likewise. | |
5599 | ||
5600 | * objdump.c (disassemble_all): New global variable. | |
5601 | (usage): Document --disassemble-all. | |
5602 | (long_options): Add disassemble-all as a synonym for -D. | |
5603 | (compare_symbols): Make pointers const. | |
5604 | (compare_relocs): New static function. | |
5605 | (disassemble_data): Rename disassemble to disassemble_fn to avoid | |
5606 | shadowing. If dump_reloc_info, print relocs along with | |
5607 | disassembly. Skip sections which are not SEC_CODE unless | |
5608 | disassemble_all or only is set. | |
5609 | (display_bfd): Don't call dump_relocs if disassemble is set. | |
5610 | (main): Accept and handle -D. | |
5611 | * binutils.texi: Document -D/--disassemble-all. | |
5612 | * objdump.1: Likewise. | |
5613 | ||
5614 | Wed Sep 14 12:19:07 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5615 | ||
5616 | * objdump.c (disassemble_data): Initialize prevline to 0. Make | |
5617 | prev_function non const. Copy functionname into an malloc buffer | |
5618 | when setting prev_function, instead of assuming that the string | |
5619 | will last forever. | |
5620 | ||
5621 | * nm.c: Include libiberty.h. | |
5622 | (sort_by_size): New static variable. | |
5623 | (long_options): Add --size-sort. | |
5624 | (usage): Mention --size-sort. | |
5625 | (numeric_forward): Make static. Change from void * to PTR. | |
5626 | (numeric_reverse): Likewise. | |
5627 | (non_numeric_forward, non_numeric_reverse): Likewise. | |
5628 | (sorters): Change declaration from void * to PTR. | |
5629 | (size_forward, sort_symbol_by_size): New static functions. | |
5630 | (display_rel_file): Handle sort_by_size. | |
5631 | (filter_symbols): If sort_by_size, discard absolute and undefined | |
5632 | symbols. | |
5633 | * binutils.texi (nm): Document --size-sort. | |
5634 | * nm.1: Document --size-sort. | |
5635 | ||
5636 | Tue Sep 13 21:06:06 1994 Jeff Law (law@snake.cs.utah.edu) | |
5637 | ||
5638 | * objcopy.c (copy_main): Initialize input_filename and | |
5639 | output_filename to NULL. | |
5640 | ||
5641 | Tue Sep 13 14:17:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5642 | ||
5643 | * Makefile.in (version.o): Depend upon Makefile, so that version.o | |
5644 | gets rebuilt when make variable VERSION is changed. | |
5645 | ||
5646 | * objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag. | |
5647 | ||
5648 | Wed Aug 24 12:40:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5649 | ||
5650 | * configure.in: Change i[34]86 to i[345]86. | |
5651 | ||
5652 | Tue Aug 23 11:00:40 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5653 | ||
5654 | * ar.c (ranlib_touch): Don't update the archive map if there isn't | |
5655 | one. | |
5656 | ||
5657 | Mon Aug 22 16:02:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5658 | ||
5659 | * ar.c: Include libiberty.h. | |
5660 | (inarch): Remove variable. | |
5661 | (map_over_members): Make static. Add arch argument, and use it | |
5662 | instead of inarch. Change all callers. | |
5663 | (main): Treat --version as -v. Accept -t argument. Accept any | |
5664 | number of archive arguments. Catch and use open_inarch return | |
5665 | value, rather than using inarch. | |
5666 | (open_inarch): Return newly opened BFD, rather than using inarch. | |
5667 | (do_quick_append): Make archive_filename const. | |
5668 | (write_archive): Add iarch argument, and use it instead of inarch. | |
5669 | Change all callers. | |
5670 | (delete_members, move_members, replace_members): Likewise. | |
5671 | (ranlib_only): Don't exit on success. Catch and use open_inarch | |
5672 | return value. | |
5673 | (ranlib_touch): New function. | |
5674 | * arsup.h (map_over_members): Don't declare. | |
5675 | (ar_end, ar_extract): Declare. | |
5676 | (open_inarch): Change return value in declaration to bfd *. | |
5677 | * arsup.c (map_over_list): Make static. Always pass two arguments | |
5678 | to function. Add arch argument, and use it instead of inarch. | |
5679 | Change all callers. | |
5680 | (ar_directory_doer): Make static. Add ignored second argument. | |
5681 | Change all callers. | |
5682 | (ar_directory): Use open_inarch return value rather than inarch. | |
5683 | (ar_addlib_doer): Make static. | |
5684 | (ar_addlib): Use open_inarch return value rather than inarch. | |
5685 | (ar_extract): Remove unused local variable abfd. | |
5686 | ||
5687 | Thu Aug 11 14:55:57 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5688 | ||
5689 | Add support for removing named sections to objcopy and strip. | |
5690 | * objcopy.c (struct section_list): Define. | |
5691 | (remove_sections): New static variable. | |
5692 | (strip_options, copy_options): Add remove-section. | |
5693 | (copy_usage, strip_usage): Mention -R and --remove-section. | |
5694 | (setup_section): If section is in remove_sections list, ignore it. | |
5695 | (copy_section): Likewise. | |
5696 | (strip_main, copy_main): Handle -R. | |
5697 | * binutils.texi, objcopy.1, strip.1: Document new options. | |
5698 | ||
5699 | Wed Aug 10 10:19:55 1994 Stan Shebs (shebs@andros.cygnus.com) | |
5700 | ||
5701 | * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value, | |
5702 | so as not to conflict with the symvalue typedef in bfd.h. | |
5703 | ||
5704 | Mon Aug 1 13:19:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5705 | ||
5706 | * nlmheader.y: Per current NetWare docs, accept a revision number | |
5707 | of 0 and treat a revision number greater than 26 as 0. | |
5708 | ||
5709 | Mon Jul 25 12:58:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5710 | ||
5711 | * objdump.c (objdump_print_address): Correct handling of end of | |
5712 | symbols when looking for next symbol with a different value. | |
5713 | ||
5714 | Fri Jul 22 16:48:34 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
5715 | ||
5716 | * nm.c (numeric_forward): Treat undefined symbols as "less than" | |
5717 | defined symbols with zero values. If numeric values are equal, or | |
5718 | both symbols are undefined, sort alphabetically. Don't assume | |
5719 | that the difference of two bfd_vma values will truncate to "int" | |
5720 | and still have the same sign. | |
5721 | (numeric_reverse): Call numeric_forward and negate the result. | |
5722 | (print_symbol_info_bsd): For undefined symbols, print leading | |
5723 | spaces equivalent to the width of a printed bfd_vma, rather than | |
5724 | assuming that 8 will look right. | |
5725 | ||
5726 | Fri Jul 22 10:36:50 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
5727 | ||
5728 | * coffgrok.c (doit): Zero all fields of new structure. | |
5729 | * srconv.c (sysroff_swap_*_out): Remove redundant trailing arg. | |
5730 | * sysinfo.y: Generate sysroff_swap_*_out without requiring extra | |
5731 | arg. | |
5732 | ||
5733 | Fri Jul 22 10:09:53 1994 J.T. Conklin (jtc@phishhead.cygnus.com) | |
5734 | ||
5735 | * nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer | |
5736 | rather than the parser. | |
5737 | ||
5738 | Thu Jul 21 10:25:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5739 | ||
5740 | * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88: | |
5741 | Remove; obsolete. | |
5742 | ||
5743 | Sat Jul 16 22:34:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5744 | ||
5745 | * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols | |
5746 | even if the bfd is not marked DYNAMIC. ELF executables are not | |
5747 | marked DYNAMIC, but do have dynamic symbols. | |
5748 | ||
5749 | Fri Jul 15 01:41:35 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
5750 | ||
5751 | * coffgrok.c (do_where): Make data with no type 'int'. | |
5752 | (do_define): Keep info on source file of a symbol. | |
5753 | * coffgrok.h (coff_symbol): New field. | |
5754 | * srconv.c (PROGRAM_VERSION): Now 1.3 | |
5755 | (wr_rl): Use external ref number for symbol. | |
5756 | (wr_dus): Only keep one source file per debug unit. | |
5757 | (wr_dln): Always emit line numbers for first source file, | |
5758 | (wr_globals): Emit globals in the du of their owning source file. | |
5759 | ||
5760 | Mon Jul 11 15:59:03 1994 J.T. Conklin (jtc@phishhead.cygnus.com) | |
5761 | ||
5762 | * nlmheader.y: Null terminate var_hdr->threadName. | |
5763 | ||
5764 | Fri Jul 8 17:33:22 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
5765 | ||
5766 | * Makefile.in (syslex.o, sysinfo.o): Permit C source files to be | |
5767 | in $(srcdir), as they will be for FSF releases. | |
5768 | ||
5769 | Wed Jul 6 01:13:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5770 | ||
5771 | * nlmconv.c (setup_sections): Preserve existing section flags when | |
5772 | copying in flags from a new section. | |
5773 | ||
5774 | Tue Jul 5 15:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5775 | ||
5776 | * objcopy.c: Include libiberty.h. | |
5777 | (copy_file): If output_target is NULL, set it to the target of the | |
5778 | input file. | |
5779 | ||
5780 | Wed Jun 29 17:17:14 1994 J.T. Conklin (jtc@phishhead.cygnus.com) | |
5781 | ||
5782 | * nlmconv.c (link_inputs): Fixed memory allocation bug. | |
5783 | ||
5784 | Thu Jun 23 12:52:46 1994 David J. Mackenzie (djm@rtl.cygnus.com) | |
5785 | ||
5786 | * configure.in: Change --with-targets to --enable-targets. | |
5787 | ||
5788 | Tue Jun 21 12:53:21 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5789 | ||
5790 | * Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS). | |
5791 | ||
5792 | * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC | |
5793 | NetWare custom header; no longer needed. | |
5794 | (powerpc_mangle_relocs): Convert relocs against the uninitialized | |
5795 | data section into relocs against the data section. | |
5796 | ||
5797 | * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the | |
5798 | netware targets. Write it into Makefile as NLMCONV_DEFS. | |
5799 | * Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC). | |
5800 | * nlmconv.c: Only compile code for specific CPU types if | |
5801 | NLMCONV_cputype is defined. | |
5802 | ||
5803 | * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use | |
5804 | bfd_abs_section_ptr or bfd_is_abs_section, etc. | |
5805 | (i386_mangle_relocs, alpha_mangle_relocs): Likewise. | |
5806 | (powerpc_build_stubs): Likewise. | |
5807 | * nm.c (filter_symbols, print_symbols): Likewise. | |
5808 | * objcopy.c (filter_symbols): Likewise. | |
5809 | (mark_symbols_used_in_relocations): Likewise. | |
5810 | * objdump.c (remove_useless_symbols, dump_relocs): Likewise. | |
5811 | * size.c (sysv_internal_printer): Likewise. | |
5812 | ||
5813 | Mon Jun 20 16:43:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
5814 | ||
5815 | * Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG). | |
5816 | (install): Install it explicitly, from build dir, not srcdir. | |
5817 | ||
5818 | Mon Jun 20 16:29:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) | |
5819 | ||
5820 | * objdump.c: Don't include elf/internal.h. | |
5821 | (bfd_elf_find_section): Don't declare. | |
5822 | (read_section_stabs): No special handling for ELF. Always read | |
5823 | using BFD sections. | |
5824 | ||
5825 | Thu Jun 16 17:25:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5826 | ||
5827 | * configure.in: Set UNDERSCORE in Makefile based on result of | |
5828 | invoking config.bfd with a second argument of ``_''. | |
5829 | * Makefile.in (underscore.c): Depend upon Makefile. Don't try to | |
5830 | run $(CC) and $(NM), just use $(UNDERSCORE). Create via temporary | |
5831 | file. | |
5832 | (demangle.o): Remove target. | |
5833 | ($(NM_PROG)): Don't depend upon demangle.o, and don't link against | |
5834 | demangle.o. It's in libiberty anyhow. | |
5835 | (cplus-dem.o): Don't depend upon demangle.o. | |
5836 | * binutils.texi: Mention -n and --no-strip-underscores arguments | |
5837 | to c++filt. | |
5838 | ||
5839 | Wed Jun 15 12:10:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5840 | ||
5841 | * nm.c (long_options): Add --no-demangle to turn off --demangle, | |
5842 | and --no-cplus for Linux compatibility. | |
5843 | (usage): Mention --no-demangle. | |
5844 | * binutils.texi: Document --no-demangle. | |
5845 | ||
5846 | Fri Jun 10 15:41:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5847 | ||
5848 | * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT. | |
5849 | ||
5850 | * objcopy.c (copy_archive): Make the temporary directory in the | |
5851 | same directory as the output BFD, since we may not have write | |
5852 | permission on the current directory. Set the permissions of the | |
5853 | new directory to 0700, not 0777. | |
5854 | ||
5855 | Mon Jun 6 21:36:43 1994 D. V. Henkel-Wallace (gumby@cygnus.com) | |
5856 | ||
5857 | * configure.in: if this is an rs6000 (and we're not building for | |
5858 | any other bfd targets) then build only nm (collect needs it on | |
5859 | rs6000-lynx). | |
5860 | ||
5861 | * Makefile.in: define TOOL_PROGS which the list of programes to | |
5862 | install in $tooldir -- replaces a hard-coded list. | |
5863 | ||
5864 | Fri Jun 3 10:59:18 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5865 | ||
5866 | * objdump.c (display_target_list): Remove unused local ok. | |
5867 | ||
5868 | Thu May 26 18:05:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
5869 | ||
5870 | * config/mh-alphaosf (CFLAGS): Don't specify both -g and -O; | |
5871 | they're not compatible under native cc. Use -O1 instead. | |
5872 | ||
5873 | * Makefile.in (VERSION): Updated to cygnus-2.4.1. | |
5874 | ||
5875 | Changes from binutils-2.4 net release: | |
5876 | ||
5877 | * Makefile.in (MANPAGES): Use $(DEMANGLER_PROG). | |
5878 | ($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed. | |
5879 | * cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with | |
5880 | magic token to be replaced by sed. | |
5881 | ||
5882 | Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) | |
5883 | ||
5884 | * configure.bat: update for latest makefile.in | |
5885 | ||
5886 | Fri May 13 23:25:13 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5887 | ||
5888 | * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__. | |
5889 | ||
5890 | Tue May 10 18:22:06 1994 Jason Molenda (crash@sendai.cygnus.com) | |
5891 | ||
5892 | * objcopy.c (copy_section): Set section size correctly if using | |
5893 | interleave. | |
5894 | ||
5895 | Sat May 7 16:49:36 1994 Steve Chamberlain (sac@cygnus.com) | |
5896 | ||
5897 | * Makefile.in: Add rule for sysinfo.h | |
5898 | ||
5899 | Fri May 6 12:18:33 1994 Steve Chamberlain (sac@cygnus.com) | |
5900 | ||
5901 | * Makefile.in (SRCONV_PROG): Define. | |
5902 | (PROGS): Use $(SRCONV_PROG) too. | |
5903 | ||
5904 | Thu May 5 19:41:43 1994 Ken Raeburn (raeburn@cujo.cygnus.com) | |
5905 | ||
5906 | * Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case | |
5907 | someone configures with `targets=all'. | |
5908 | (distclean): Remove y.*. | |
5909 | (syslex.o): Depend on sysinfo.h. | |
5910 | (sysinfo.c): Rename y.tab.h to sysinfo.h. | |
5911 | (install-info): Don't try to install into $(infodir)/$(srcdir). | |
5912 | * syslex.l: Include sysinfo.h, not y.tab.h. | |
5913 | ||
5914 | Thu May 5 11:50:55 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) | |
5915 | ||
5916 | * syslex.l (yywrap): Define as function if not defined as a macro. | |
5917 | ||
5918 | * Makefile.in (objdump.o): Deleted special rule. | |
5919 | * configure.in: Don't bother building ARCHDEFS variable for | |
5920 | Makefile. | |
5921 | * objdump.c (ARCH_*): Deleted handling. | |
5922 | (disassemble_data): Call `disassembler' from opcodes library. | |
5923 | ||
5924 | Thu May 5 13:28:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5925 | ||
5926 | * Makefile.in (install): Correct handling of $(tooldir) and | |
5927 | $(bindir) being on different devices. | |
5928 | ||
5929 | Fri Apr 29 09:50:38 1994 Steve Chamberlain (sac@cygnus.com) | |
5930 | ||
5931 | * sysdump.c (h8300, sh): Add declarations. | |
5932 | ||
5933 | Wed Apr 27 11:25:18 1994 Steve Chamberlain (sac@cygnus.com) | |
5934 | ||
5935 | * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD. | |
5936 | * coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c, | |
5937 | sysroff.info: Major changes. | |
5938 | ||
5939 | Tue Apr 26 18:18:24 1994 Stan Shebs (shebs@andros.cygnus.com) | |
5940 | ||
5941 | * objdump.c (print_section_stabs): Indicate the stab header symbol | |
5942 | more clearly, print numbers of unrecognized stab n_type values. | |
5943 | ||
5944 | Tue Apr 26 16:22:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5945 | ||
5946 | * nlmconv.c (copy_sections): Copy arelent pointers, not arelents. | |
5947 | ||
5948 | Mon Apr 25 16:14:32 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5949 | ||
5950 | * Makefile.in (distclean): Remove $(PROGS) and underscore.c. | |
5951 | ||
5952 | Fri Apr 22 11:14:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5953 | ||
5954 | * nlmconv.c (setup_sections): Remove special handling of .reginfo | |
5955 | section. | |
5956 | (copy_sections): Likewise. | |
5957 | (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the | |
5958 | special ECOFF .reginfo section. | |
5959 | ||
5960 | * objcopy.c (copy_object): Call bfd_copy_private_bfd_data after | |
5961 | copying everything else, to let it fiddle with the file in its | |
5962 | final state. | |
5963 | ||
5964 | * objdump.c: Include libiberty.h. | |
5965 | (display_target_list): If a format fails, just go on to the next | |
5966 | one. Check return value of bfd_set_format. | |
5967 | (display_info_table): Likewise. Don't increment loop variable in | |
5968 | for loop test, since that skips the first element. | |
5969 | (display_target_tables): Rewrite loop for clarity. Ensure that it | |
5970 | always prints at least one element. | |
5971 | ||
5972 | * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for | |
5973 | sections header. Rename from cygnus_sections to cygnus_ext. | |
5974 | ||
5975 | Thu Apr 21 12:12:26 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5976 | ||
5977 | * objdump.c (_DUMMY_NAME_): Don't define. | |
5978 | (display_target_list): Use tmpnam to get a file name rather than | |
5979 | using _DUMMY_NAME_. Unlink it when done. | |
5980 | (display_info_table): Likewise. | |
5981 | ||
5982 | * nlmconv.c (secsec): New static variable. | |
5983 | (main): Create .nlmsections section in output BFD. Store | |
5984 | information about it in sections header. | |
5985 | (setup_sections): Allocate space in sections header. | |
5986 | (copy_sections): Copy zero sized sections. Put information about | |
5987 | each section in the sections header. | |
5988 | ||
5989 | Wed Apr 20 14:34:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
5990 | ||
5991 | * nlmconv.c (powerpc_build_stubs): Take new outbfd argument. | |
5992 | Change caller. Create custom header for new PowerPC NetWare | |
5993 | format. | |
5994 | ||
5995 | * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies. | |
5996 | * nlmconv.c: Include bfd.h and libiberty.h with "", not <>. | |
5997 | * nlmheader.y: Include bfd.h with "", not <>. | |
5998 | ||
5999 | Wed Apr 13 10:52:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6000 | ||
6001 | * objdump.c: Do an ifdef on __GO32__, not unix. | |
6002 | ||
6003 | Wed Apr 6 21:54:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6004 | ||
6005 | Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R | |
6006 | (--dynamic-reloc) arguments to objdump. | |
6007 | * nm.c (dynamic): New static variable. | |
6008 | (long_options): Added "dynamic". | |
6009 | (usage): Mention -D and --dynamic. | |
6010 | (main): Add D to getopt string. Handle -D by setting dynamic. | |
6011 | (display_rel_file): If dynamic is non-zero, read dynamic symbols | |
6012 | rather than normal symbols. | |
6013 | * nm.1: Updated for -D (--dynamic) option. | |
6014 | * objdump.c (dump_dynamic_symtab): New global variable. | |
6015 | (dump_dynamic_reloc_info): New global variable. | |
6016 | (dynsyms, dynsymcount): New global variables. | |
6017 | (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc. | |
6018 | (long_options): Added "dynamic-reloc" and "dynamic-syms". | |
6019 | (slurp_symtab): If no symbols, return rather than exit. | |
6020 | (slurp_dynamic_symtab): New function. | |
6021 | (display_bfd): Handle dump_dynamic_symtab and | |
6022 | dump_dynamic_reloc_info. | |
6023 | (dump_symbols): Take new dynamic argument, indicating whether to | |
6024 | display dynamic symbols. | |
6025 | (dump_relocs): Move most printing into dump_reloc_set. | |
6026 | (dump_dynamic_relocs): New function. | |
6027 | (dump_reloc_set): New function, extracted from dump_relocs. | |
6028 | (main): Add R and T to getopt string. Handle -T by setting | |
6029 | dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info. | |
6030 | * objdump.1: Updated for -R (--dynamic-reloc) and -T | |
6031 | (--dynamic-syms) options. | |
6032 | * binutils.texi: Updated for new nm and objdump options. | |
6033 | ||
6034 | Wed Mar 30 15:52:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6035 | ||
6036 | Update for recent BFD changes to symbol and reloc reading. Rename | |
6037 | all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound. | |
6038 | Also: | |
6039 | * coffgrok.c (symcount): Change to long. | |
6040 | (do_sections_p1): Check for error return from | |
6041 | bfd_get_reloc_upper_bound. Change relcount to long, and check for | |
6042 | error from bfd_canonicalize_reloc. | |
6043 | (coff_grok): Change storage to long. Check for error from | |
6044 | bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. | |
6045 | * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and | |
6046 | i to long. Check for error from bfd_get_symtab_upper_bound and | |
6047 | bfd_canonicalize_symtab. | |
6048 | (copy_sections): Change reloc_size and reloc_count to long. Check | |
6049 | for error from bfd_get_reloc_upper_bound and | |
6050 | bfd_canonicalize_reloc. | |
6051 | (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change | |
6052 | reloc_count_ptr argument to long *. Make corresponding changes to | |
6053 | variables loaded from *reloc_count_ptr. | |
6054 | * nm.c (display_rel_file): Change storage and symcount to long. | |
6055 | Check for errors from bfd_get_symtab_upper_bound and | |
6056 | bfd_canonicalize_symtab. | |
6057 | * objcopy.c (filter_symbols): Change symcount, src_count and | |
6058 | dst_count to long. | |
6059 | (copy_object): Change symcount to long. Pass another argument to | |
6060 | fprintf. Check for errors from bfd_get_symtab_upper_bound and | |
6061 | bfd_canonicalize_symtab. | |
6062 | (copy_section): Change relcount to long. Check for errors from | |
6063 | bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. | |
6064 | (mark_symbols_used_in_relocations): Change relcount and i to long. | |
6065 | Check for errors form bfd_get_reloc_upper_bound and | |
6066 | bfd_canonicalize_reloc. | |
6067 | * objdump.c (storage): Remove global variable. | |
6068 | (symcount): Changed to long. | |
6069 | (slurp_symtab): New local variable storage. Check for errors from | |
6070 | bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. | |
6071 | (remove_useless_symbols): Change return value and count to long. | |
6072 | (objdump_print_address): Change min, max, thisplace and i to long. | |
6073 | (disassemble_data): Change i to long. | |
6074 | (dump_symbols): Change count to long. | |
6075 | (dump_relocs): Change relcount to long. Check for errors from | |
6076 | bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc. | |
6077 | (display_info_table): Add casts when passing LONGEST_ARCH for | |
6078 | printf %* argument. | |
6079 | ||
6080 | Tue Mar 29 14:59:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6081 | ||
6082 | * nm.c (display_archive): Close each archive element after it has | |
6083 | been displayed. | |
6084 | * objdump.c (display_file): Likewise. | |
6085 | ||
6086 | Mon Mar 28 13:04:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6087 | ||
6088 | * configure.in: Change error message to refer to bfd/config.bfd | |
6089 | rather than bfd/configure.in. | |
6090 | ||
6091 | Sun Mar 27 16:23:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu) | |
6092 | ||
6093 | * More fixes for object formats which allow multiple sections | |
6094 | with the same name: | |
6095 | * objcopy.c (setup_section): Make a new output section even if | |
6096 | one already exists with the given name. | |
6097 | (copy_section): Use isection->output_section rather than trying | |
6098 | to look the output section up by its (possibly non-unique) name. | |
6099 | ||
6100 | * Makefile.in (install-info): Look for binutils.info in the | |
6101 | current directory, then in $(srcdir). Don't use $<. | |
6102 | ||
6103 | Mon Mar 21 12:55:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6104 | ||
6105 | * objdump.c (objdump_print_address): Make static. Declare with | |
6106 | prototype. Change vardiff from int to bfd_signed_vma. Correct | |
6107 | binary search termination condition. When looking for same | |
6108 | section symbol in relocatable file, handle final symbol correctly. | |
6109 | ||
6110 | Sun Mar 20 11:26:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu) | |
6111 | ||
6112 | * Makefile.in: Avoid bug in hpux sed. | |
6113 | ||
6114 | * objcopy.c: Changes to keep it from stripping symbols used | |
6115 | in output relocations. | |
6116 | (mark_symbols_used_in_relocations): New function. Mark symbols | |
6117 | used in output relocations with BSF_KEEP. | |
6118 | (filter_symbols): Do not strip symbols marked with BSF_KEEP. | |
6119 | (copy_object): Reorder actions. First setup sections, then | |
6120 | build the output symbol table, then copy the section contents. | |
6121 | ||
6122 | Fri Mar 18 10:53:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6123 | ||
6124 | * ar.c (write_archive): Allocate space for the null byte. From | |
6125 | Robert Lipe <robertl@arnet.com>. | |
6126 | ||
6127 | Thu Mar 17 16:20:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6128 | ||
6129 | * Makefile.in: Built nm.new and strip.new to avoid problems with | |
6130 | collect when . is in PATH. | |
6131 | (STRIP_PROG): Change from strip to strip.new. | |
6132 | (NM_PROG): Change from nm to nm.new. | |
6133 | (install): Remove the .new when installing. | |
6134 | ||
6135 | Wed Mar 16 16:27:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6136 | ||
6137 | * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each | |
6138 | symbol for which we build a stub. | |
6139 | (powerpc_mangle_relocs): Only reset TOC pointer for a call to a | |
6140 | symbol with BSF_DYNAMIC flag set. | |
6141 | ||
6142 | Tue Mar 15 23:04:13 1994 Jeffrey A. Law (law@snake.cs.utah.edu) | |
6143 | ||
6144 | * objcopy.c (filter_symbols): Use bfd_is_local_label to determine | |
6145 | if a symbol represents a compiler-generated local label. | |
6146 | (copy_object): Give the BFD backends a chance to copy any private | |
6147 | bfd data from the input BFD to the output BFD. | |
6148 | (setup_section): Give the BFD backends a chance to copy any private | |
6149 | section data from the input section to the output section. | |
6150 | ||
6151 | Mon Mar 14 11:15:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) | |
6152 | ||
6153 | * objcopy.c (mangle_section): Delete unused function. | |
6154 | (setup_section): Set osection here instead of calling | |
6155 | mangle section to do it. | |
6156 | ||
6157 | Mon Mar 14 12:11:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6158 | ||
6159 | * ar.c (write_archive): Close inarch before unlinking it. | |
6160 | ||
6161 | Fri Mar 11 22:20:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6162 | ||
6163 | * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and | |
6164 | powerpc_resolve_stubs. Use __GOT0, not __toc_start. Handle it if | |
6165 | the start and end symbols are not in the text section. | |
6166 | (struct powerpc_stub): New struct definition. | |
6167 | (powerpc_stubs, powerpc_stub_insns): New static variables. | |
6168 | (powerpc_initial_got_size): New static variable. | |
6169 | (powerpc_build_stubs): New function. | |
6170 | (powerpc_resolve_stubs): New function. | |
6171 | (powerpc_mangle_relocs): Clear extraneous data in .got section. | |
6172 | Rearrange reloc handling to handle ELF relocs that are not | |
6173 | partial_inplace. Resolve PC relative relocs. | |
6174 | ||
6175 | Wed Mar 9 13:48:11 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
6176 | ||
6177 | * ar.c (move_members): Fix it so that the abi positional modifiers | |
6178 | don't delete all archive members following the insert point. | |
6179 | ||
6180 | Tue Mar 8 13:14:43 1994 Steve Chamberlain (sac@jonny.cygnus.com) | |
6181 | ||
6182 | * coffgrok.[ch]: New files, understand coff objects. | |
6183 | * coffdump.c: Uses coffgrok to dump out the debug info of a coff | |
6184 | file. | |
6185 | * sysroff.info: Description of a SYSROFF object file. | |
6186 | * sysinfo.y, syslex.l: Parse info file, generate a reader, writer, | |
6187 | header files and a printer. | |
6188 | * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff | |
6189 | file to a SYSROFF file. | |
6190 | ||
6191 | Sat Feb 26 13:35:26 1994 Stan Shebs (shebs@andros.cygnus.com) | |
6192 | ||
6193 | * ar.c (do_quick_append): Pad with a genuine character 10, | |
6194 | rather than whatever '\n' might happen to be. | |
6195 | ||
6196 | Tue Feb 22 18:25:52 1994 Ian Lance Taylor (ian@cygnus.com) | |
6197 | ||
6198 | * nlmconv.c (main): Ignore debugging symbols when looking for | |
6199 | special symbols by name. | |
6200 | ||
6201 | Sun Feb 20 18:47:42 1994 Ian Lance Taylor (ian@lisa.cygnus.com) | |
6202 | ||
6203 | * nlmconv.c: Include libiberty.h. | |
6204 | ||
6205 | Support for PowerPC NetWare. | |
6206 | * nlmconv.c (main): For PowerPC NetWare, automatically define the | |
6207 | special symbols __toc_start. | |
6208 | (select_output_format): Handle bfd_arch_powerpc. | |
6209 | (mangle_relocs): Likewise. | |
6210 | (powerpc_mangle_relocs): New function. | |
6211 | ||
6212 | Thu Feb 17 09:28:23 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6213 | ||
6214 | * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c, | |
6215 | size.c: Use bfd_get_error and bfd_set_error and new error names. | |
6216 | ||
6217 | Fri Feb 11 15:54:51 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6218 | ||
6219 | * objcopy.c (strip_main, copy_main): Add missing 'break' in switch. | |
6220 | ||
6221 | Mon Feb 7 19:45:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6222 | ||
6223 | * objdump.c (disassemble_data): Handle bfd_arch_powerpc. | |
6224 | ||
6225 | Sun Feb 6 22:08:20 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6226 | ||
6227 | * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main): | |
6228 | Call xmalloc_set_program_name. | |
6229 | ||
6230 | Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6231 | ||
6232 | * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we | |
6233 | can do arithmetic on it. | |
6234 | ||
6235 | Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6236 | ||
6237 | * objdump.c (dump_section_stabs, read_section_stabs, | |
6238 | print_section_stabs): Functions broken out of dump_stabs_1. | |
6239 | Free the stabs and strings when done with them. | |
6240 | ||
6241 | Wed Feb 2 13:42:23 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6242 | ||
6243 | * nlmconv.c (main): Use bfd_get_flavour instead of struct member. | |
6244 | * ar.c (print_contents, extract_file), size.c | |
6245 | (print_berkeley_format, print_sysv_format): Use bfd_get_filename and | |
6246 | bfd_my_archive instead of dereferencing the structs directly. | |
6247 | ||
6248 | * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit. | |
6249 | Indent. Remove DEFUNs. | |
6250 | ||
6251 | * nlmconv.c (main), objcopy.c (copy_file): Print matching formats | |
6252 | if ambiguous match. | |
6253 | * nm.c (display_file, display_archive), size.c (display_bfd): | |
6254 | Eliminate gotos. | |
6255 | Print matching formats if there is an ambiguous match. Use | |
6256 | bfd_nonfatal instead of hardcoded error message if nothing matches. | |
6257 | ||
6258 | * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of | |
6259 | abfd->filename. | |
6260 | ||
6261 | * nm.c (display_archive): New function, from code in display_file. | |
6262 | (display_rel_file): Renamed from do_one_rel_file. | |
6263 | ||
6264 | * size.c: Indent. | |
6265 | (display_archive): New function from code in display_file. | |
6266 | (display_file): Check bfd_close error return. | |
6267 | ||
6268 | * strings.c (strings_object_file): Check bfd_check_format | |
6269 | error return. | |
6270 | ||
6271 | * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror. | |
6272 | ||
6273 | * bucomm.c: Delete references to exit_handler. It wasn't set | |
6274 | anywhere, and now that we're using the libiberty xmalloc, it | |
6275 | wouldn't always get called before exiting. | |
6276 | (list_matching_formats): Function moved from objdump.c. | |
6277 | * bucomm.h: Declare it. | |
6278 | ||
6279 | * objdump.c (disassemble_data): Move some variable decls closer to | |
6280 | their use. Add some comments. Replace a nested block with a | |
6281 | return. | |
6282 | ||
6283 | Mon Jan 31 18:50:41 1994 Stan Shebs (shebs@andros.cygnus.com) | |
6284 | ||
6285 | * objdump.c (display_target_list, display_info_table): Check that | |
6286 | the bfd of the dummy output file is not null. | |
6287 | ||
6288 | Wed Jan 26 13:13:18 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6289 | ||
6290 | * objcopy.c (filter_bytes): New function. | |
6291 | (copy_section): Call it. | |
6292 | (copy_options, copy_usage, copy_main): Add --byte option to | |
6293 | activate it. Appropriate the -b option (which was an undocumented | |
6294 | synonym for -F) for it, also. Add --interleave, -i option for | |
6295 | additional control. | |
6296 | (setup_section, copy_section, mangle_section): Renamed with no `s' | |
6297 | on the end. | |
6298 | * objcopy.1, binutils.texi: Document the new options. | |
6299 | ||
6300 | * objdump.c (display_target_tables, display_target_list): | |
6301 | New functions broken out of display_info. | |
6302 | Eliminate some magic constants. Use more meaningful variable names. | |
6303 | (dump_bfd_header): New function broken out of display_bfd. | |
6304 | (dump_section_header): New function broken out of dump_headers. | |
6305 | (remove_useless_symbols): Don't shadow global variable name with | |
6306 | parameter. | |
6307 | (objdump_print_address): Fix backward test. | |
6308 | ||
6309 | Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com) | |
6310 | ||
6311 | * bucomm.c (print_arelt_descr): Change decl of `when' to time_t. | |
6312 | * objdump.h: Removed. | |
6313 | ||
6314 | Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6315 | ||
6316 | * objdump.c (display_file): Remove call to list_matching_formats. | |
6317 | It would never be called. | |
6318 | (list_matching_formats): Take an arg giving the list of matching | |
6319 | formats. | |
6320 | (display_bfd): Pass the arg, and get it filled in by calling | |
6321 | bfd_check_format_matches instead of bfd_check_format. | |
6322 | (display_info, display_info_table): target_vector was renamed to | |
6323 | bfd_target_vector. | |
6324 | ||
6325 | * binutils.texi (objdump): Note some limitations of -h section | |
6326 | address printing. | |
6327 | ||
6328 | Sat Jan 22 16:20:46 1994 Stan Shebs (shebs@andros.cygnus.com) | |
6329 | ||
6330 | * Makefile.in (MALLOC): Set to emptiness by default. | |
6331 | (ALL_CFLAGS): Add and use. | |
6332 | (arparse.h): Make it depend on arparse.y. | |
6333 | * ar.c (libbfd.h): Don't require to be in ../bfd. | |
6334 | * objdump.c (comp): Rename to compare_symbols. | |
6335 | ||
6336 | Fri Jan 21 20:22:30 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6337 | ||
6338 | * objdump.c (list_matching_formats): If the file format is ambiguous, | |
6339 | print the matching names so the user can choose one. | |
6340 | (display_bfd): Call it. | |
6341 | (display_file): Call it. | |
6342 | ||
6343 | Fri Jan 21 19:17:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6344 | ||
6345 | * objdump.c (disassemble_data): Support bfd_arch_rs6000. | |
6346 | ||
6347 | Mon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com) | |
6348 | ||
6349 | * objdump.c (stab_name): Allocate dynamically. | |
6350 | (stab_print): Use pointers to strings instead of char arrays. | |
6351 | (dump_stabs): Change alloc and init of arrays appropriately. | |
6352 | (dump_stabs_1): Always decide whether to print stab_name or | |
6353 | the stab's type number, if unnamed. | |
6354 | ||
6355 | Fri Jan 14 14:42:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6356 | ||
6357 | * objcopy.c (strip_main, copy_main): Don't clobber the input file | |
6358 | if copy_file fails. | |
6359 | ||
6360 | * nlmconv.c (main): Warn about an attempt to use a shared library | |
6361 | with uninitialized data. | |
6362 | ||
6363 | * nlmconv.c (setup_sections): Make sure that we align the | |
6364 | output_offset of each input section appropriately. | |
6365 | ||
6366 | Thu Jan 13 17:32:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6367 | ||
6368 | * objdump.c (dump_relocs): Don't crash if section name is NULL. | |
6369 | ||
6370 | Tue Jan 11 19:46:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6371 | ||
6372 | * filemode.c (filemodestring): Commented out; not used. | |
6373 | (mode_string): Use POSIX definitions. | |
6374 | (ftypelet): Likewise. | |
6375 | (rwx): Removed; no longer used. | |
6376 | * bucomm.c: Include bucomm.h. | |
6377 | (bfd_nonfatal, bfd_fatal): Argument is const. | |
6378 | (fatal): Make __STDC__ version. | |
6379 | * bucomm.h (mode_string): Declare. | |
6380 | * Makefile.in (bucomm.o): Depend upon bucomm.h | |
6381 | ||
6382 | Sun Jan 9 12:03:20 1994 Ken Raeburn (raeburn@rtl.cygnus.com) | |
6383 | ||
6384 | * bucomm.c (xmalloc, xrealloc): Deleted. | |
6385 | * bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to | |
6386 | libiberty version of functions. | |
6387 | ||
6388 | Thu Jan 6 06:18:15 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6389 | ||
6390 | * binutils.texi: Add a chapter summarizing the ways to select | |
6391 | aspects of the target for each program. | |
6392 | ||
6393 | * objdump.c (long_options, usage): Add long equivalents for all | |
6394 | remaining short options that lacked them. | |
6395 | * binutils.texi objdump.1: Document them. | |
6396 | ||
6397 | * size.c (usage): Tweak usage message. | |
6398 | * size.1: Add missing `=' in examples. | |
6399 | ||
6400 | * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c: | |
6401 | Use "--target=bfdname" as the option to select the BFD target, | |
6402 | like nm and size already do. | |
6403 | Reserve "--format=format" for textual output selection options, but | |
6404 | for now keep old option names as obsolete for backward compatibility. | |
6405 | ||
6406 | * strings.c (main, strings_object_file, usage): Add --target option. | |
6407 | * binutils.texi strings.1: Document it. | |
6408 | ||
6409 | Sat Jan 1 13:58:24 1994 David J. Mackenzie (djm@thepub.cygnus.com) | |
6410 | ||
6411 | * ar.c (main): Add \n in error message. | |
6412 | ||
6413 | Thu Dec 23 12:23:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6414 | ||
6415 | gcc -Wall lint: | |
6416 | * ar.c (main): Put parens around assignment used as truth value. | |
6417 | * objcopy.c (strip_main): Remove unused variables. Return 0. | |
6418 | (copy_main): Remove unused variables. Return 0. | |
6419 | * objdump.c (display_bfd): Declare return value as void. | |
6420 | (stab_print): Use "" instead of 0 to initialize array. | |
6421 | (dump_stabs_1): Print vma using printf_vma. | |
6422 | (display_info): Put parens around assignment used as truth value. | |
6423 | * strings.c (print_strings): Cast printf arguments. | |
6424 | ||
6425 | * objcopy.c (copy_main): Use copy_options, not strip_options. | |
6426 | ||
6427 | * nlmheader.y (command): Warn about illegal date values. | |
6428 | ||
6429 | Wed Dec 15 11:18:03 1993 David J. MacKenzie (djm@frosty.eng.umd.edu) | |
6430 | ||
6431 | * bucomm.c bucomm.h: Run through indent. De-ansidecl-ify. | |
6432 | (bfd_nonfatal): New function. | |
6433 | (bfd_fatal): Call it. | |
6434 | ||
6435 | * objcopy.c (smart_rename): Do a copy if the dest file has | |
6436 | multiple hard links. Remove source file on successful copy. | |
6437 | Try to preserve mode and owner on successful rename. | |
6438 | ||
6439 | * objcopy.c: Run through indent. Clean up a bit. | |
6440 | Make global variables static. | |
6441 | Make {input,output}_{target,filename}, show_version local | |
6442 | to various functions. | |
6443 | New global variable `status' for exit status. | |
6444 | (strip_main, copy_main): New functions with code from main. | |
6445 | (nonfatal): New macro. Use it globally instead of bfd_perror and | |
6446 | bfd_fatal. | |
6447 | ||
6448 | (copy_object): Call mangle_sections with bfd_map_over_sections. | |
6449 | (mangle_sections): Adjust for new calling convention. | |
6450 | ||
6451 | Fri Dec 10 11:28:11 1993 Ian Lance Taylor (ian@deneb.cygnus.com) | |
6452 | ||
6453 | * nlmheader.y (command): Accept MAP and FULLMAP without arguments. | |
6454 | * nlmconv.c (main): Change error message for MAP and FULLMAP. | |
6455 | ||
6456 | Thu Dec 9 17:47:19 1993 Ian Lance Taylor (ian@deneb.cygnus.com) | |
6457 | ||
6458 | * nlmconv.c (main): Warn about imported symbols that are not in | |
6459 | the IMPORT list even if the IMPORT keyword is not used. | |
6460 | ||
6461 | * nlmconv.c (debug, unlink_on_exit): New static variables. | |
6462 | (long_options): Add "debug" and "linker". | |
6463 | (main): Handle -d and -l arguments. Make command line input and | |
6464 | output files optional. Parse the command file before opening the | |
6465 | BFD's, which requires storing more information in local variables. | |
6466 | If INPUT names multiple files, link them together. Use OUTPUT for | |
6467 | the output file name if not named on command line. | |
6468 | (show_usage): Changed for new options. | |
6469 | (link_inputs): New function to automatically invoke linker to | |
6470 | handle multiple INPUT files. | |
6471 | (choose_temp_base_try, choose_temp_base, pexecute): New functions, | |
6472 | mostly copied from gcc/gcc.c. | |
6473 | * nlmconv.h (input_files, output_file): Declare. | |
6474 | * nlmheader.y (input_files, output_file): Define. | |
6475 | (command): Support INPUT with a string_list argument. Support | |
6476 | OUTPUT. | |
6477 | (string_list): Renamed from module_list. | |
6478 | * Makefile.in (nlmconv.o): Define LD_NAME based on | |
6479 | program_transform_name. | |
6480 | ||
6481 | Wed Dec 8 10:09:04 1993 Ian Lance Taylor (ian@deneb.cygnus.com) | |
6482 | ||
6483 | * nlmheader.y (nlmheader_identify): New function. Use it to print | |
6484 | the program name just once, instead of with every error message. | |
6485 | ||
6486 | Mon Dec 6 16:11:32 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6487 | ||
6488 | * nlmconv.c (long_options): Changed --header-info to --header-file | |
6489 | to match documentation and usage message. | |
6490 | ||
6491 | Sun Dec 5 01:31:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu) | |
6492 | ||
6493 | * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr | |
6494 | in a relocation. | |
6495 | ||
6496 | Thu Dec 2 16:00:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6497 | ||
6498 | * nlmconv.c (main): Change various types from bfd_size_type to | |
6499 | size_t, since they have to be arguments to fread and fwrite. | |
6500 | Change set from char * to unsigned char *. | |
6501 | (select_output_format): Make mach argument unsigned. Handle | |
6502 | bfd_arch_alpha. | |
6503 | (setup_sections): Don't copy the .reginfo section of an ECOFF | |
6504 | file. Call bfd_set_reloc to initialize the relocation fields. | |
6505 | (copy_sections): Don't copy the .reginfo section of an ECOFF file. | |
6506 | Combine all relocs for a section. | |
6507 | (mangle_relocs): Change type of relocs to permit specific | |
6508 | functions to change it. Call alpha_mangle_relocs for alpha, | |
6509 | default_mangle_relocs for other architectures. | |
6510 | (default_mangle_relocs): New function. Adjust the address of all | |
6511 | relocs by the output_offset. | |
6512 | (i386_mangle_relocs): Change type of relocs argument. Cast length | |
6513 | argument to memmove to size_t. | |
6514 | (alpha_mangle_relocs): New function. | |
6515 | ||
6516 | Wed Nov 17 17:38:58 1993 Sean Eric Fagan (sef@cygnus.com) | |
6517 | ||
6518 | * nlmconv.c (select_output_format): Use nlm32-sparc for | |
6519 | bfd_arch_sparc. | |
6520 | ||
6521 | Wed Nov 17 14:41:35 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com) | |
6522 | ||
6523 | * nlmconv.1: added man page | |
6524 | * objcopy.1: fixed format errors | |
6525 | ||
6526 | Wed Nov 17 12:03:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6527 | ||
6528 | * Makefile.in: Use CFLAGS as well as LDFLAGS when linking. | |
6529 | ||
6530 | Wed Nov 17 04:50:55 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6531 | ||
6532 | * strings.1: Fix typo. | |
6533 | ||
6534 | Mon Nov 15 12:03:20 1993 Ken Raeburn (raeburn@rtl.cygnus.com) | |
6535 | ||
6536 | * Makefile.in (DISTSTUFF): Build "info". | |
6537 | (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out. | |
6538 | ||
6539 | Sun Nov 14 00:27:24 1993 Jeffrey A. Law (law@snake.cs.utah.edu) | |
6540 | ||
6541 | * objdump.c (dump_stabs): Handle stabs-in-som as implemented | |
6542 | by the new BFD SOM assembler. | |
6543 | ||
6544 | Sat Nov 13 07:14:05 1993 David J. Mackenzie (djm@rtl.cygnus.com) | |
6545 | ||
6546 | * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1 | |
6547 | strings.1 strip.1: Replace \(em in NAME section with \- so | |
6548 | makewhatis can grok it. | |
6549 | ||
6550 | Tue Nov 9 15:22:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6551 | ||
6552 | * nlmconv.c (i386_mangle_relocs): Adjust reloc address by | |
6553 | section output_offset. | |
6554 | ||
6555 | Fri Nov 5 12:11:52 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com) | |
6556 | ||
6557 | * binutils.texi: added nlmconv chapter | |
6558 | ||
6559 | Wed Nov 3 16:10:50 1993 Jeffrey Wheat (cassidy@cygnus.com) | |
6560 | ||
6561 | * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS | |
6562 | ||
6563 | Wed Nov 3 15:09:23 1993 Ken Raeburn (raeburn@rover.cygnus.com) | |
6564 | ||
6565 | * Makefile.in (distclean): Don't get rid of dvi or info files. | |
6566 | ||
6567 | Tue Nov 2 13:29:59 1993 David J. Mackenzie (djm@rtl.cygnus.com) | |
6568 | ||
6569 | * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK. | |
6570 | ||
6571 | Fri Oct 29 16:02:34 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6572 | ||
6573 | * binutils.texi: Move objcopy docs into alphabetical order. | |
6574 | ||
6575 | * objdump.c: Use xmalloc instead of malloc. | |
6576 | ||
6577 | Fri Oct 29 11:11:14 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
6578 | ||
6579 | * objdump.c (info): Rename to formats_info. | |
6580 | (dump_stabs_1): Better comments and formatting. | |
6581 | ||
6582 | Thu Oct 28 19:43:16 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
6583 | ||
6584 | * ar.c (main): Always create the archive when quick appending, | |
6585 | even if no input files have been given. | |
6586 | ||
6587 | Wed Oct 27 12:03:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6588 | ||
6589 | * nlmconv.c (main): Set sharedDebugRecordOffset and | |
6590 | sharedDebugRecordCount fields in extended header. | |
6591 | ||
6592 | * nlmconv.c (main): Force moduleName field to upper case. | |
6593 | ||
6594 | Mon Oct 25 16:45:42 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6595 | ||
6596 | * objcopy.c (main): Give a usage message if there are too many | |
6597 | arguments. | |
6598 | ||
6599 | Mon Oct 25 10:37:08 1993 Ken Raeburn (raeburn@rover.cygnus.com) | |
6600 | ||
6601 | * Makefile.in (install-info): Rewrite to take advantage of VPATH, | |
6602 | so FSF distributions (with info files in $(srcdir)) install | |
6603 | properly. | |
6604 | (DISTSTUFF): Build nlmheader.c too. | |
6605 | ||
6606 | Fri Oct 22 11:43:23 1993 Ken Raeburn (raeburn@rover.cygnus.com) | |
6607 | ||
6608 | * ar.c (program_name): Don't define here. | |
6609 | * objdump.c: Include "bucomm.h". | |
6610 | (xmalloc): Don't declare here. | |
6611 | (program_name): Don't define here. | |
6612 | (program_version): Fixed type in declaration. | |
6613 | * size.c: Include "bucomm.h". | |
6614 | (program_name): Don't declare here. | |
6615 | ||
6616 | Fri Oct 22 14:10:41 1993 Mark Eichin (eichin@cygnus.com) | |
6617 | ||
6618 | * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED | |
6619 | ||
6620 | Fri Oct 1 12:43:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6621 | ||
6622 | * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative | |
6623 | relocs against defined symbols in the same section. | |
6624 | ||
6625 | Thu Sep 30 16:46:26 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
6626 | ||
6627 | * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex | |
6628 | ||
6629 | Sat Sep 25 18:09:29 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6630 | ||
6631 | * objcopy.c (simple_copy, smart_rename): New functions. | |
6632 | (main): Use them. | |
6633 | ||
6634 | Fri Sep 24 15:38:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6635 | ||
6636 | * Makefile.in (clean, distclean): Recurse into testsuite. | |
6637 | ||
6638 | Thu Sep 23 01:05:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6639 | ||
6640 | * objcopy.c (setup_sections, copy_sections): If stripping, don't | |
6641 | copy SEC_DEBUGGING sections. | |
6642 | * objdump.c (dump_headers): Print SEC_DEBUGGING flag. | |
6643 | ||
6644 | * objdump.c (usage): Mention --stabs. | |
6645 | ||
6646 | * objcopy.c (copy_object): Copy all applicable file flags. | |
6647 | (copy_file): Don't copy EXEC_P specially here. | |
6648 | ||
6649 | Mon Sep 20 19:28:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6650 | ||
6651 | * nlmconv.c (main): Adjust data section size to correspond to bss | |
6652 | alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to | |
6653 | a different section. Use time_t for time variable. | |
6654 | (setup_sections): Only put sections with contents in output NLM. | |
6655 | (i386_mangle_relocs): No symbols are common at this point. Add | |
6656 | casts to avoid warnings. | |
6657 | ||
6658 | Fri Sep 10 11:00:40 1993 Stan Shebs (shebs@rtl.cygnus.com) | |
6659 | ||
6660 | * objdump.c: Made the --stabs option work for stabs-in-coff. | |
6661 | (ELF_STAB_DISPLAY): Removed. | |
6662 | (dump_elf_stabs): Renamed to dump_stabs, changed to run for | |
6663 | any object file format. | |
6664 | (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to | |
6665 | generic BFD routines for non-ELF case, changed format of message | |
6666 | for no-section-found case. | |
6667 | (display_bfd): Always call dump_stabs if requested. | |
6668 | (dump_data): Call bfd_section_size to get section size. | |
6669 | ||
6670 | Fri Sep 10 08:12:23 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6671 | ||
6672 | * Makefile.in (install): Don't put strings in tooldir/bin. | |
6673 | ||
6674 | Mon Sep 6 15:39:04 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6675 | ||
6676 | * nlmconv.c (total_bss_size): Removed. | |
6677 | (main): Set the bss vma to always follow the data section. Move | |
6678 | symbols into new sections, and adjust values by output_offset. | |
6679 | (setup_sections): Don't copy all sections, but instead point all | |
6680 | text sections to .text, all data sections to .data, and all bss | |
6681 | sections to .bss. | |
6682 | (copy_sections): Adjust accordingly. | |
6683 | ||
6684 | Thu Sep 2 12:34:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6685 | ||
6686 | Only build nlmconv if configured for a NetWare target. | |
6687 | * configure.in: If we have some *-*-netware* target, or are using | |
6688 | all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile. | |
6689 | * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than | |
6690 | $(NLMCONV_PROG). | |
6691 | ||
6692 | Tue Aug 31 14:13:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
6693 | ||
6694 | * objdump.c (ARCH_all): Define ARCH_hppa too. | |
6695 | (dump_headers): Don't test for SEC_BALIGN if it's not defined by | |
6696 | bfd.h. | |
6697 | ||
6698 | Tue Aug 31 13:29:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6699 | ||
6700 | * nlmconv.c (main): Force creation of .bss section. Set up the | |
6701 | sections before looking at the symbols. Move all common symbols | |
6702 | into .bss section. Automatically define _edata and _end. Only | |
6703 | export symbols in the export list, with multiple prefixes if | |
6704 | necessary. Warn if no version. Always create extended header. | |
6705 | Set date automatically if not already set. | |
6706 | (setup_sections): Count size of bss sections. | |
6707 | (mangle_relocs, i386_mangle_relocs): Accept section argument, and | |
6708 | take reloc_count as a changeable pointer; changed callers. | |
6709 | (i386_mangle_relocs): Remove PC relative relocs within a section, | |
6710 | as they require no adjustment. | |
6711 | * nlmheader.y: Fixed memory allocation throughout: token STRING is | |
6712 | now allocated on the heap, and freed if not needed. Null | |
6713 | terminated copyright message. Accept version with only two | |
6714 | strings. | |
6715 | (symbol_list_opt): New nonterminal, either symbol_list or empty. | |
6716 | (symbol_list): Use left recursion to avoid overflowing parser | |
6717 | stack. | |
6718 | (yylex): Rearranged beginning of line check. Accept quoted | |
6719 | strings using single quotes. End generic argument at comment | |
6720 | character or parentheses. | |
6721 | (string_list_append): Fixed. | |
6722 | (string_list_append1): New function. | |
6723 | ||
6724 | * bucomm.h: The first argument to xrealloc is PTR, not char *. | |
6725 | * bucomm.c (xrealloc): Use PTR rather than char *. | |
6726 | * Makefile.in (objdump.o): Depend upon config.status to notice | |
6727 | --with-targets changes. | |
6728 | (nlmconv.o): Depend upon bucomm.h. | |
6729 | ||
6730 | Tue Aug 17 09:46:01 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6731 | ||
6732 | * configure.in: Don't pass cpu to config.bfd. | |
6733 | ||
6734 | Thu Aug 12 16:43:04 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6735 | ||
6736 | * Makefile.in ($(NM_PROG)): Depend on demangle.o. | |
6737 | (demangle.o): New target. | |
6738 | (cplus-dem.o): Depend on it, to force compilation order when doing | |
6739 | parallel compiles. | |
6740 | ||
6741 | * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg. | |
6742 | (struct output_fns print_symbol_info): Ditto. | |
6743 | (long_options, usage, main): Add -C --demangle option. | |
6744 | (print_symname): New function, demangling if requested. | |
6745 | (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it. | |
6746 | ||
6747 | Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6748 | ||
6749 | * Makefile.in: Put CFLAGS last in compilation rules and omit from | |
6750 | linking rules. Use ARCHDEFS to compile objdump.c. | |
6751 | Update dependencies. | |
6752 | * configure.in: Construct ARCHDEFS based on the BFD target makefile | |
6753 | fragments. | |
6754 | * objdump.c: Conditionalize calls to the print_insn_ARCH functions | |
6755 | according to ARCHDEFS. | |
6756 | ||
6757 | Thu Aug 12 08:06:15 1993 Ian Lance Taylor (ian@cygnus.com) | |
6758 | ||
6759 | * ar.c: Removed obsolete and non-functional GNU960 code. | |
6760 | ||
6761 | Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian@cygnus.com) | |
6762 | ||
6763 | * size.c (berkeley_sum): New function. | |
6764 | (bsssize, datasize, textsize): New global variables. | |
6765 | (bss_section_name, data_section_name, text_section_name): Removed. | |
6766 | (print_berkeley_format): Map berkeley_sum over all the sections, | |
6767 | rather than only reporting sizes of specifically named sections. | |
6768 | * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o. | |
6769 | ||
6770 | Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian@cygnus.com) | |
6771 | ||
6772 | * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to | |
6773 | convert object files into NetWare Loadable Modules. | |
6774 | * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv. | |
6775 | (PROGS): Add NLMCONV_PROG. | |
6776 | (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New | |
6777 | targets. | |
6778 | ||
6779 | Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) | |
6780 | ||
6781 | * Makefile.in: define MAKEOVERRIDES to an empty string | |
6782 | ||
6783 | Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6784 | ||
6785 | * objcopy.c (copy_file): Make failures to process a file nonfatal. | |
6786 | ||
6787 | Mon Aug 2 11:28:23 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6788 | ||
6789 | * nm.c: Add -B option, like --format=bsd. | |
6790 | ||
6791 | Tue Jul 27 16:29:54 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6792 | ||
6793 | * objcopy.c (copy_file): If the file is neither an object nor an | |
6794 | archive, give an error rather than returning success. | |
6795 | ||
6796 | Mon Jul 19 16:13:40 1993 Ken Raeburn (raeburn@rtl.cygnus.com) | |
6797 | ||
6798 | * objdump.c (objdump_print_address): Prefer non-local symbols over | |
6799 | local ones, and especially discriminate against debugging symbols. | |
6800 | Also, for relocateable files, try to find a symbol in the current | |
6801 | section, instead of picking one from some random section with a | |
6802 | convenient value (read, section offset). | |
6803 | (disassemble_data): Cast argument to malloc to size_t first. | |
6804 | (dump_data): Likewise. | |
6805 | (dump_relocs): If a single section name is specified, show relocs | |
6806 | only for that section. Otherwise, silently omit sections without | |
6807 | relocs. Format table nicely even if values are printed using 16 | |
6808 | digits instead of 8. | |
6809 | ||
6810 | Fri Jul 16 15:19:59 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6811 | ||
6812 | * nm.c: Changes for final version of POSIX.2. | |
6813 | (print_symbol_filename_{bsd,sysv,posix}): New functions. | |
6814 | (formats): Add an element for a pointer to them. | |
6815 | (print_symbols): Call it. | |
6816 | (print_object_filename_posix, print_archive_member_posix): Produce | |
6817 | output according to new POSIX.2 spec. | |
6818 | ||
6819 | * strings.c (print_strings): Handle STREAM being NULL. | |
6820 | (strings_a_section): Pass a NULL. | |
6821 | (main): Don't open /dev/null. | |
6822 | ||
6823 | Thu Jul 15 12:44:09 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
6824 | ||
6825 | * objdump.c (disassemble_data): Handle the m88k. | |
6826 | (display_bfd): Use bfd_errmsg, rather than just claiming that the | |
6827 | bfd is not an object file. | |
6828 | ||
6829 | Mon Jul 12 17:55:34 1993 K. Richard Pixley (rich@cygnus.com) | |
6830 | ||
6831 | * Makefile.in (TAGS): make work again by naming directories | |
6832 | explicitly rather than depending on undefined macros. | |
6833 | (INSTALL_XFORM): correct bad install target. | |
6834 | ||
6835 | Fri Jul 2 16:58:34 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6836 | ||
6837 | * strings.c: Doc fixes. | |
6838 | ||
6839 | Sun Jun 27 13:35:24 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6840 | ||
6841 | * Makefile.in: Note dependencies on bucomm.h. | |
6842 | (cplus-dem.o): Link c++filt with version.o. | |
6843 | ||
6844 | * strings.c: Include bucomm.h and add prototypes to other decls. | |
6845 | Remove -h option. | |
6846 | ||
6847 | * bucomm.h: Declare xrealloc. | |
6848 | ||
6849 | * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add | |
6850 | --help option. Put "GNU" in the version message. | |
6851 | (usage): Take stream and exit status as args. | |
6852 | (main): Pass new args to usage. | |
6853 | ||
6854 | Fri Jun 25 23:12:12 1993 David J. Mackenzie (djm@thepub.cygnus.com) | |
6855 | ||
6856 | * strings.c, strings.1: New files. | |
6857 | * binutils.texi: Document strings. | |
6858 | * Makefile.in: Add rules for it. | |
6859 | ||
6860 | Fri Jun 25 20:44:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) | |
6861 | ||
6862 | * objdump.c: Use size-independent bfd elf section names. | |
6863 | ||
6864 | Sun Jun 20 23:09:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) | |
6865 | ||
6866 | * objdump.c (objdump_print_address): Handle wide offsets by | |
6867 | calling sprintf_vma. | |
6868 | ||
6869 | Fri Jun 18 14:29:12 1993 Per Bothner (bothner@deneb.cygnus.com) | |
6870 | ||
6871 | * objdump.c (syms2): Removed unused variable. | |
6872 | * objdump.c (remove_useless_symbols): New function. | |
6873 | * objdump.c (comp): Simplify. | |
6874 | * objdump.c (dis-assemble_data): Make simpler and more | |
6875 | efficient how we filter out useless symbols: Just filter | |
6876 | BEFORE the sort (using remove_useless_symbols). | |
6877 | * objdump.c (objdump_print_address): Simplify. | |
6878 | Change output syntax to match gdb. | |
6879 | ||
6880 | Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com) | |
6881 | ||
6882 | * Makefile.in: canonicalize install.sh; for use within | |
6883 | this directory (and subdirs) | |
6884 | ||
6885 | Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) | |
6886 | ||
6887 | * Makefile.in (install, install-info): remove parentdir support, | |
6888 | use INSTALL_XFORM; define INSTALL_XFORM | |
6889 | ||
6890 | Thu Jun 10 17:29:21 1993 Per Bothner (bothner@cygnus.com) | |
6891 | ||
6892 | * objcopy.c (copy_object): Fix bad size passed to xmalloc(). | |
6893 | ||
6894 | Mon Jun 7 12:41:12 1993 Per Bothner (bothner@rtl.cygnus.com) | |
6895 | ||
6896 | * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. | |
6897 | * configure.in: No longer need to configure to get sysdep.h. | |
6898 | * objcopy.c (copy_object): Fix symbol table handling. | |
6899 | ||
6900 | Fri Jun 4 17:20:03 1993 Per Bothner (bothner@cygnus.com) | |
6901 | ||
6902 | * objcopy.c (filter_symbols): Cannot filter the symbols | |
6903 | in place, because that confuses the relocs, so take separate | |
6904 | parameter for output array. | |
6905 | * objcopy.c (sympp): Make two variables: isympp and osympp. | |
6906 | * objcopy.c (copy_object): Allocate separate array (osympp) | |
6907 | for filtered symbols. | |
6908 | ||
6909 | Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
6910 | ||
6911 | * Makefile.in: change recursion test to presence of a configured | |
6912 | testsuite directory | |
6913 | ||
6914 | Thu Jun 3 14:05:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
6915 | ||
6916 | * Makefile.in (underscore.c): Hack the backquoted command so it | |
6917 | doesn't cause Solaris make to bomb. | |
6918 | ||
6919 | Thu Jun 3 10:40:19 1993 Jeffrey Osier (jeffrey@cygnus.com) | |
6920 | ||
6921 | * Makefile.in: added c++filt and objcopy to MANPAGES variable | |
6922 | ||
6923 | Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
6924 | ||
6925 | * Makefile.in: rename LOADLIBES to EXTRALIBS | |
6926 | ||
6927 | Wed Jun 2 18:30:24 1993 Jeffrey Osier (jeffrey@cygnus.com) | |
6928 | ||
6929 | * c++filt.1, objcopy.1: new man pages | |
6930 | ||
6931 | Fri May 28 15:01:24 1993 Per Bothner (bothner@rtl.cygnus.com) | |
6932 | ||
6933 | * Makefile.in (install): Also install ar and ranlib in | |
6934 | $(tooldir)/bin; needed for building libgcc.a. | |
6935 | * objdump.c (objdump_print_address): Fix the check | |
6936 | "coincidental" label matches by dis-allowing undefined | |
6937 | or com symbols. | |
6938 | ||
6939 | Thu May 27 16:58:31 1993 Jeffrey Osier (jeffrey@cygnus.com) | |
6940 | ||
6941 | * biutils.texi: revised c++filt chapter | |
6942 | ||
6943 | Wed May 26 17:24:17 1993 Ian Lance Taylor (ian@cygnus.com) | |
6944 | ||
6945 | * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS. | |
6946 | ||
6947 | Tue May 25 00:26:47 1993 Ken Raeburn (raeburn@cygnus.com) | |
6948 | ||
6949 | * objdump.c (slurp_symtab): Print warning for bad symbol table. | |
6950 | (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated | |
6951 | declarations and uses. | |
6952 | ||
6953 | * Makefile.in (DISTSTUFF): Don't build binutils.mm. | |
6954 | ||
6955 | Fri May 21 10:51:19 1993 David J. Mackenzie (djm@rtl.cygnus.com) | |
6956 | ||
6957 | * nm.c: Add -f/--format, -P/--portability, -t/--radix options. | |
6958 | Make global variables static. | |
6959 | (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2. | |
6960 | (set_print_radix, set_output_format, | |
6961 | print_{object_filename,archive_filename,archive_member,symbol_info} | |
6962 | {bsd,sysv,posix}): New functions. | |
6963 | (display_file, print_symbols): Call them. | |
6964 | ||
6965 | * ar.c: Improve error messages. | |
6966 | ||
6967 | * nm.c (main): Handle long options that just set a flag. | |
6968 | ||
6969 | * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c | |
6970 | (main): Exit after printing the version number, per the GNU coding | |
6971 | standards. | |
6972 | ||
6973 | Mon May 17 13:20:25 1993 Per Bothner (bothner@cygnus.com) | |
6974 | ||
6975 | * README, Makefile.in: Minor updates for 2.2. | |
6976 | ||
6977 | Fri May 14 11:12:26 1993 Per Bothner (bothner@cygnus.com) | |
6978 | ||
6979 | * Makefile.in (underscore.c): Automatically generate | |
6980 | (using nm) a file with the variable prepends_underscore. | |
6981 | * Makefile.in (c++filt): Link underscore.o with cplus-dem.o | |
6982 | so that initial underscores get removed iff appropriate. | |
6983 | * binutils.texi: Preliminary documentation for c++filt. | |
6984 | * Makefile.in, binutils.texi: Set to version 2.2. | |
6985 | ||
6986 | * NEWS: Mention copy->objcopy renaming and new c++filt program. | |
6987 | ||
6988 | Wed May 12 12:05:36 1993 Ian Lance Taylor (ian@cygnus.com) | |
6989 | ||
6990 | * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the | |
6991 | demangler via cplus-dem.o, rather than directly from the .c file. | |
6992 | ||
6993 | * objcopy.c: Renamed from copy.c, updated comments accordingly. | |
6994 | * Makefile.in, binutils.texi: Renamed copy to objcopy. | |
6995 | * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for | |
6996 | rename of copy to objcopy. | |
6997 | ||
6998 | Mon May 10 17:20:18 1993 Per Bothner (bothner@cygnus.com) | |
6999 | ||
7000 | * binutils.texi (strip, -v option): Fix typo. | |
7001 | ||
7002 | Fri May 7 13:57:50 1993 Ian Lance Taylor (ian@cygnus.com) | |
7003 | ||
7004 | * Makefile.in (RUNTEST): Define. | |
7005 | (FLAGS_TO_PASS): Pass down RUNTEST. | |
7006 | ||
7007 | Tue May 4 10:06:50 1993 Ian Lance Taylor (ian@cygnus.com) | |
7008 | ||
7009 | * Makefile.in (DEMANGLER_PROG): Name it c++filt. | |
7010 | (PROG): Also build and install COPY_PROG. | |
7011 | ||
7012 | Mon May 3 19:11:48 1993 Per Bothner (bothner@cygnus.com) | |
7013 | ||
7014 | * Makefile.in: Change definition of $(tooldir) to match FSF. | |
7015 | ||
7016 | Wed Apr 28 23:41:32 1993 David J. Mackenzie (djm@rtl.cygnus.com) | |
7017 | ||
7018 | * size.c (usage): Add missing options. | |
7019 | (main): Clean up option parser. | |
7020 | ||
7021 | * objdump.c (usage): Add missing options. | |
7022 | (display_file): Print program name before calling | |
7023 | bdf_perror. | |
7024 | ||
7025 | * nm.c (usage): Add missing options. | |
7026 | (main): Clean up option parser. | |
7027 | (display_file): Print program name before calling | |
7028 | bdf_perror. | |
7029 | ||
7030 | * copy.c (copy_usage, strip_usage): Add missing options. | |
7031 | ||
7032 | * ar.c (usage): New function. | |
7033 | (main): Call it. | |
7034 | (open_inarch, do_quick_append): Print program name before calling | |
7035 | bdf_perror. | |
7036 | ||
7037 | Thu Apr 22 15:01:35 1993 Ian Lance Taylor (ian@cygnus.com) | |
7038 | ||
7039 | * nm.c (main): Accept and ignore -A and -B for MIPS compatibility. | |
7040 | ||
7041 | Mon Apr 19 14:06:59 1993 Rob Savoye (rob@cygnus.com) | |
7042 | ||
7043 | * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly | |
7044 | built binaries if they exist. (otherwise the path) | |
7045 | ||
7046 | Wed Apr 7 22:22:50 1993 Rob Savoye (rob@cygnus.com) | |
7047 | ||
7048 | * Makefile.in: Changed check target to use DejaGnu. | |
7049 | ||
7050 | Thu Apr 1 12:37:13 1993 Jim Kingdon (kingdon@cygnus.com) | |
7051 | ||
7052 | * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c. | |
7053 | objdump.c: a29k and i960 are `disassemble' not `print'. | |
7054 | ||
7055 | * objdump.c: Rename print_address to objdump_print_address | |
7056 | and change parameters. | |
7057 | (disassemble_data): Use objdump_print_address. | |
7058 | ||
7059 | Wed Mar 31 10:25:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com) | |
7060 | ||
7061 | * objdump.c (disassemble_data): print_insn_sparc is now a | |
7062 | `disassemble' not a `print'. | |
7063 | Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a). | |
7064 | ||
7065 | * objdump.c (disassemble_data): Use new read_memory_func stuff. | |
7066 | ||
7067 | Thu Mar 25 10:38:11 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
7068 | ||
7069 | * objdump.c (fprintf): Declaration of variadic function had better | |
7070 | be a prototype for ANSI C systems. | |
7071 | ||
7072 | Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7073 | ||
7074 | * Makefile.in: rename test-install to install-check | |
7075 | ||
7076 | Fri Mar 19 14:40:08 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
7077 | ||
7078 | * objdump.c (disassemble_data): Add H8500. | |
7079 | ||
7080 | Fri Mar 19 10:56:51 1993 Jim Kingdon (kingdon@cygnus.com) | |
7081 | ||
7082 | * objdump.c (usage): Mention long options. | |
7083 | ||
7084 | Thu Mar 18 14:22:17 1993 Per Bothner (bothner@rtl.cygnus.com) | |
7085 | ||
7086 | * nm.c: Modify behavior of -o flag for archives to match | |
7087 | BSD4.4 and Sunos 4: Prefix archive name before each line. | |
7088 | ||
7089 | * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c. | |
7090 | * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c. | |
7091 | * Makefile.in: Adjust accordingly. | |
7092 | * objdump.c: Support new-style disassemblers (ones that use | |
7093 | the interface of ../include/dis-asm.h). | |
7094 | ||
7095 | Thu Feb 25 15:57:00 1993 Per Bothner (bothner@rtl.cygnus.com) | |
7096 | ||
7097 | * Makefile.in: When making tar file, remove texinfo/*, | |
7098 | except for texinfo/texinfo.tex. | |
7099 | * ardup.c: Add extern declaration of strdup. | |
7100 | * Makefile.in (testsuite): Add 'else true' since otherwise | |
7101 | Ultrix /bin/sh complains. | |
7102 | ||
7103 | Wed Feb 24 19:44:18 1993 Per Bothner (bothner@rtl.cygnus.com) | |
7104 | ||
7105 | * Makefile.in: Set VERSION to 2.1. | |
7106 | * README, NEWS: Updates. | |
7107 | * nm.c: Add -v as a synonym for -V. | |
7108 | ||
7109 | Tue Feb 23 19:00:50 1993 Mike Werner (mtw@poseidon.cygnus.com) | |
7110 | ||
7111 | * configure.in: added testsuite to configdirs. | |
7112 | * Makefile.in: added support for building testsuite. | |
7113 | ||
7114 | Mon Feb 22 22:52:10 1993 Per Bothner (bothner@rtl.cygnus.com) | |
7115 | ||
7116 | * objdump.c (disassemble_data): Print function names when | |
7117 | given by bfd_find_nearest_line. If not - still print | |
7118 | line numbers. | |
7119 | ||
7120 | Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com) | |
7121 | ||
7122 | * binutils/testsuite: made modifications to testcases, etc., to allow | |
7123 | them to work properly given the reorganization of deja-gnu and the | |
7124 | relocation of the testcases from deja-gnu to a "tool" subdirectory. | |
7125 | ||
7126 | Mon Feb 22 10:27:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
7127 | ||
7128 | * objdump.c (dump_data): Free up section contents each time | |
7129 | through the loop. Reported by minyard@bnr.ca. | |
7130 | ||
7131 | Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com) | |
7132 | ||
7133 | * binutils/testsuite: Initial creation of binutils/testsuite. | |
7134 | Migrated dejagnu testcases and support files for testing nm to | |
7135 | binutils/testsuite from deja-gnu. These files were moved "as is" | |
7136 | with no modifications. This migration is part of a major overhaul | |
7137 | of dejagnu. The modifications to these testcases, etc., which | |
7138 | will allow them to work with the new version of dejagnu will be | |
7139 | made in a future update. | |
7140 | ||
7141 | Fri Feb 12 10:05:20 1993 Fred Fish (fnf@cygnus.com) | |
7142 | ||
7143 | * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros. | |
7144 | * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR. | |
7145 | * Makefile.in (DEMANGLER_PROG): New program to build. Add macro | |
7146 | and rule. | |
7147 | * Makefile.in (PROGS): Add DEMANGLER_PROG. | |
7148 | ||
7149 | Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com) | |
7150 | ||
7151 | * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section | |
7152 | macro rather than checking for equality to bfd_com_section. | |
7153 | ||
7154 | Fri Jan 8 15:50:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7155 | ||
7156 | * objdump.c (disassemble_data): Fix code to find first useless | |
7157 | symbol. | |
7158 | ||
7159 | Thu Jan 7 13:13:31 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) | |
7160 | ||
7161 | * objdump.c (disassemble_data): Use mips_print_insn for MIPS. | |
7162 | Don't core dump if bfd_find_nearest_line returns false. | |
7163 | ||
7164 | Wed Jan 6 17:14:01 1993 Steve Chamberlain (sac@thepub.cygnus.com) | |
7165 | ||
7166 | * objdump.c (disassemble_data): know how to disassemble z8000s | |
7167 | too. | |
7168 | ||
7169 | Wed Jan 6 15:16:27 1993 Per Bothner (bothner@cygnus.com) | |
7170 | ||
7171 | * arsup.h (interactive), bucomm.h (program_name): Prefix | |
7172 | with 'extern', to avoid warnings from some compilers. | |
7173 | ||
7174 | Wed Jan 6 15:14:11 1993 Per Bothner (bothner@rtl.cygnus.com) | |
7175 | ||
7176 | * arparse.y: fix unnecessary shift/reduce | |
7177 | ||
7178 | Tue Dec 22 15:46:56 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7179 | ||
7180 | * Makefile.in: Make check depend on all. | |
7181 | * Makefile.in (distclean): Remove sysdep.h. | |
7182 | * size.c: Use %u format where appropriate. | |
7183 | * objdump.c: Standardize: L_SET -> SEEK_SET. | |
7184 | * objdump.c: Use new macro bfd_asymbol_bfd. | |
7185 | * configure.in: Allow std-host as the default ${mys_host}. | |
7186 | ||
7187 | Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7188 | ||
7189 | * Makefile.in: added dvi target, define and use TEXI2DVI | |
7190 | ||
7191 | Tue Dec 15 18:05:07 1992 Per Bothner (bothner@cygnus.com) | |
7192 | ||
7193 | * Makefile.in (dist): Fix permissions before release. | |
7194 | * size.c: Use bfd_size_type (and long) where appropriate. | |
7195 | * ar.c: Make writing a map the default, to be compatible | |
7196 | with SYSV and Posix.2. Remove some bogus kludges that | |
7197 | handled __.SYMDEF directly. | |
7198 | * NEWS: New file. | |
7199 | ||
7200 | Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7201 | ||
7202 | * Makefile.in: flex no longer needs the -S flag | |
7203 | ||
7204 | Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7205 | ||
7206 | * ar.c (extract_file): utime needs a pointer to a utimbuf | |
7207 | ||
7208 | * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to | |
7209 | the list (since some of the bfd/hosts/*.h files include other | |
7210 | files from that directory) | |
7211 | ||
7212 | Fri Nov 6 00:12:51 1992 John Gilmore (gnu@cygnus.com) | |
7213 | ||
7214 | * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly. | |
7215 | ||
7216 | Thu Nov 5 03:37:15 1992 John Gilmore (gnu@cygnus.com) | |
7217 | ||
7218 | Clean up some old BFD ansification macros. | |
7219 | ||
7220 | * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils. | |
7221 | It still remains as a local macro in gmalloc.c, which is derived | |
7222 | from some other copy of GNU Malloc somewhere (FIXME). | |
7223 | ||
7224 | * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static | |
7225 | fns really static. | |
7226 | * arsup.h: Declare extract_files. | |
7227 | ||
7228 | Mon Nov 2 12:42:11 1992 Ian Lance Taylor (ian@cygnus.com) | |
7229 | ||
7230 | * ar.c (extract_file): instead of checking USG: if POSIX_UTIME, | |
7231 | use utime and utimbuf structure, otherwise if USE_UTIME use utime | |
7232 | and array of two longs, otherwise use utimes. | |
7233 | ||
7234 | Thu Oct 15 13:57:35 1992 Per Bothner (bothner@cygnus.com) | |
7235 | ||
7236 | * binutils.tex: Document yesterday's changes to strip and copy. | |
7237 | ||
7238 | Wed Oct 14 13:22:14 1992 Per Bothner (bothner@cygnus.com) | |
7239 | ||
7240 | * copy.c: Re-do command-line parsing to use getopt_long(). | |
7241 | Add long option names. Re-think option letters to be more | |
7242 | consistent. | |
7243 | * copy.c: New function filter_symbols() for stripping only | |
7244 | debug-symbols and/or local symbols. Use these to support | |
7245 | the previously-missing options of the old FSF strip. | |
7246 | ||
7247 | Tue Oct 13 01:24:20 1992 John Gilmore (gnu@cygnus.com) | |
7248 | ||
7249 | * configure.in (host): Use ${srcdir}/../bfd/configure.host rather | |
7250 | than repeating a copy of it here. | |
7251 | ||
7252 | Wed Oct 7 12:53:52 1992 Ken Raeburn (raeburn@cygnus.com) | |
7253 | ||
7254 | * copy.c (main): Even if is_strip, accept -d argument indicating | |
7255 | alternate output format. Needed by gdb for Nindy. | |
7256 | ||
7257 | * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type. | |
7258 | ||
7259 | Tue Oct 6 16:33:56 1992 Jeffrey Osier (jeffrey@cygnus.com) | |
7260 | ||
7261 | * binutils.texi: added documentation for "copy" | |
7262 | ||
7263 | Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony) | |
7264 | ||
7265 | * Makefile.in (*clean rules): Some cleaning up. | |
7266 | * Makefile.in (dist): Make diststuff in gprof for a dist. | |
7267 | ||
7268 | * ar.c (do_show_version): New function. | |
7269 | * ar.c (main): Fix so "ar -V" works. | |
7270 | ||
7271 | Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7272 | ||
7273 | * configure.in: now uses the cpu-vendor-os triple instead of | |
7274 | nested cases. | |
7275 | ||
7276 | Fri Sep 25 22:41:08 1992 John Gilmore (gnu@cygnus.com) | |
7277 | ||
7278 | * i960-pinsn.c: Change bzero to memset. | |
7279 | * sparc-pinsn.c: Change index to strchr. | |
7280 | ||
7281 | Mon Sep 21 14:39:56 1992 Ian Lance Taylor (ian@cygnus.com) | |
7282 | ||
7283 | * m68k-pinsn (print_insn_arg, fetch_arg): added support for | |
7284 | operands to memory management instructions, from WRS. | |
7285 | ||
7286 | Tue Sep 15 15:26:38 1992 Ian Lance Taylor (ian@cygnus.com) | |
7287 | ||
7288 | * Makefile.in (install): if $(tooldir) exists, install nm and | |
7289 | strip in $(tooldir)/bin. | |
7290 | ||
7291 | Thu Sep 3 11:57:40 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7292 | ||
7293 | * Makefile.in: Let's call it version 2.0. | |
7294 | ||
7295 | Wed Sep 2 00:25:13 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7296 | ||
7297 | * Makefile.in: Bump to version 0.98. | |
7298 | * TODO, README: Minor updates. | |
7299 | ||
7300 | * Makefile.in: Added mostlyclean, distclean rules, | |
7301 | and cleaned up clean, realclean. | |
7302 | ||
7303 | Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com) | |
7304 | ||
7305 | * Makefile.in: map program names through program_transform_name | |
7306 | when installing. | |
7307 | ||
7308 | Sun Aug 30 18:09:03 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7309 | ||
7310 | * Makefile.in: Bump to versions 1.97.90. | |
7311 | * cplus-dem.c: Removed. Was nowhere used - and if some | |
7312 | programs are changed to to demangling should now use the | |
7313 | versions in libiberty. | |
7314 | ||
7315 | Thu Aug 27 12:58:09 1992 Brendan Kehoe (brendan@cygnus.com) | |
7316 | ||
7317 | * configure.in: add we32k | |
7318 | ||
7319 | Mon Aug 24 14:53:42 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
7320 | ||
7321 | * ar.c (map_over_members): if the element of the archive has a | |
7322 | null name, fill it in. | |
7323 | ||
7324 | * nm.c (do_one_rel_file): only warn if a bfd's flags say there | |
7325 | will be symbols and there aren't any. | |
7326 | ||
7327 | Wed Aug 19 11:20:25 1992 Ian Lance Taylor (ian@cygnus.com) | |
7328 | ||
7329 | * m68k-pinsn.c: handle new operand type 'r', introduced for cas2. | |
7330 | ||
7331 | Tue Aug 18 20:45:48 1992 Rob Savoye (rob@cygnus.com) | |
7332 | ||
7333 | * nm.c objdump.c: Added support for a +version (-V) | |
7334 | to print the version number. | |
7335 | ||
7336 | * ar.c, copy.c: Added support for a -V option to print | |
7337 | the version number. | |
7338 | ||
7339 | Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com) | |
7340 | ||
7341 | * config/mh-apollo68v: removed -g from CC definition. | |
7342 | ||
7343 | * Makefile.in: always create installation directories. | |
7344 | ||
7345 | Mon Aug 17 18:33:41 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7346 | ||
7347 | * m68k-pinsn.c: Minor fix in style of output (don't use | |
7348 | range to indicate floating point control registers). | |
7349 | ||
7350 | Tue Aug 11 23:42:21 1992 Per Bothner (bothner@cygnus.com) | |
7351 | ||
7352 | * ar.c (main): Don't *always* set the verbose flag! | |
7353 | ||
7354 | Wed Aug 5 11:25:27 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7355 | ||
7356 | * copy.c: When is_strip (because it is invoked as the strip | |
7357 | program), follow traditional argv processing: | |
7358 | 'strip file1 file2' now strips file1 and file2, rather | |
7359 | than stripping file1 (as input), leaving output in file2. | |
7360 | ||
7361 | Mon Jul 27 16:28:08 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7362 | ||
7363 | * objdump.c (display_info, display_info_table): Call | |
7364 | bfd_set_format() on dummy bfd before using it (twice). | |
7365 | * ar.c: Make sure archive is created on command 'r' | |
7366 | even when no elements are inserted. (Clean up and | |
7367 | simplify some non-working related code.) | |
7368 | ||
7369 | Mon Jul 20 02:48:38 1992 D. V. Henkel-Wallace (gumby@cygnus.com) | |
7370 | ||
7371 | * configure.in: hppa support doesn't assume hp OS (from sef). | |
7372 | ||
7373 | Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7374 | ||
7375 | * configure.in: recognize hppa hosts (bsd & hpux), error messages | |
7376 | to stderr, not stdout | |
7377 | ||
7378 | Fri Jul 17 18:39:44 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
7379 | ||
7380 | * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1, | |
7381 | size.1, sparc-pinsn.c, strip.1: removed rcsid's. | |
7382 | ||
7383 | Thu Jul 16 16:55:24 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
7384 | ||
7385 | * Makefile.dos: removed rcsid. | |
7386 | ||
7387 | Thu Jul 16 08:23:07 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
7388 | ||
7389 | * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too | |
7390 | ||
7391 | Tue Jun 30 20:26:15 1992 D. V. Henkel-Wallace (gumby@cygnus.com) | |
7392 | ||
7393 | * Makefile.in: Add program_suffix (parallel to program_prefix) | |
7394 | ||
7395 | Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com) | |
7396 | ||
7397 | * nm.c (sorters): Lint. Remove excess whitespace. | |
7398 | ||
7399 | Wed Jun 24 13:48:07 1992 Per Bothner (bothner@cygnus.com) | |
7400 | ||
7401 | * nm.c (valueof macro): Add missing parentheses. | |
7402 | (Their lack screwed up numeric_forward().) | |
7403 | ||
7404 | Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com) | |
7405 | ||
7406 | * objdump.c (dump_elf_stabs): Also dump .stab.index and | |
7407 | .stab.excl sections. | |
7408 | (dump_elf_stabs_1): Split out main body of old dump_elf_stabs. | |
7409 | * objdump.1, binutils.texi: Document new sections dumped. | |
7410 | ||
7411 | Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com) | |
7412 | ||
7413 | * size.c, objdump.c, bucomm.c: Lint. | |
7414 | ||
7415 | Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com) | |
7416 | ||
7417 | * objdump.c (dump_elf_stabs): New feature: --stabs prints out a | |
7418 | .stab section from an ELF file. Installed under #ifdef | |
7419 | ELF_STAB_DISPLAY so it can be easily disabled, since it requires | |
7420 | bfd-internals header files and such. | |
7421 | * objdump.1, binutils.texi: Update for --stabs. Also fix | |
7422 | objdump's doc to use -- rather than + for long options. | |
7423 | (FIXME: Not yet fixed everywhere in binutils.texinfo.) | |
7424 | ||
7425 | Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
7426 | ||
7427 | * objdump.c(display_info), patches from | |
7428 | mohring@informatik.tu-muenchen.de to print the table much more | |
7429 | nicely. | |
7430 | ||
7431 | Thu May 28 13:36:16 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7432 | ||
7433 | * objdump.c: Add another enum->int cast, for the sake of | |
7434 | old compilers (such as PCC). | |
7435 | ||
7436 | Wed May 27 13:01:44 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7437 | ||
7438 | * arlex.l: Don't include <sysdep.h> (unneeded conflicts). | |
7439 | Add declaration of strdup(). | |
7440 | ||
7441 | Fri May 22 13:40:37 1992 Per Bothner (bothner@cygnus.com) | |
7442 | ||
7443 | * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex | |
7444 | rules, since these are used when building a distribution. | |
7445 | * Makefile.in (arlex.c): Don't re-direct output, since that | |
7446 | leaves a bogus output files if it fails. | |
7447 | ||
7448 | * arlex.l: Make work with lex, for what it's worth. | |
7449 | * Makefile.in: Better lex support. | |
7450 | * Makefile.in (dist): Generate flex and bison outputs | |
7451 | for distribution. | |
7452 | ||
7453 | Thu May 14 17:17:59 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
7454 | ||
7455 | * Makefile.in: get BISON definition right. | |
7456 | ||
7457 | Fri May 8 07:47:08 1992 K. Richard Pixley (rich@cygnus.com) | |
7458 | ||
7459 | * sanity.sh: default TMPDIR to ".". | |
7460 | ||
7461 | Thu May 7 12:34:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) | |
7462 | ||
7463 | * binutils.texi: add doc for ar command language. | |
7464 | ||
7465 | Wed May 6 18:05:36 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
7466 | ||
7467 | * arparse.y: make END call ar_end | |
7468 | * arsup.c (ar_end): added, deletes temp file if archive session | |
7469 | aborted. | |
7470 | ||
7471 | ||
7472 | Wed May 6 11:08:53 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
7473 | ||
7474 | * Makefile.in: use bison & flex from ../ if they exist. Also, | |
7475 | FLEX->LEX. | |
7476 | ||
7477 | * sanity.sh: remove temporary directory when finished. | |
7478 | ||
7479 | Tue May 5 12:00:58 1992 Per Bothner (bothner@rtl.cygnus.com) | |
7480 | ||
7481 | * Makefile.in: Bump to version 1.97. | |
7482 | * ar.c: Declare errno for machines that need it. | |
7483 | ||
7484 | Mon May 4 23:29:51 1992 John Gilmore (gnu@cygnus.com) | |
7485 | ||
7486 | * objdump.c (display_info): Handle error cases without coredump. | |
7487 | Close the dummy temporary file we open in the loop. | |
7488 | * Makefile.in (arsup.o): Add kludge to build with Sun Make. | |
7489 | ||
7490 | Fri May 1 16:20:23 1992 K. Richard Pixley (rich@cygnus.com) | |
7491 | ||
7492 | * Makefile.in: added test-install target. | |
7493 | ||
7494 | * sanity.sh: new file. | |
7495 | ||
7496 | * Makefile.in: use sanity test on make check. | |
7497 | ||
7498 | Tue Apr 21 13:38:37 1992 K. Richard Pixley (rich@cygnus.com) | |
7499 | ||
7500 | * Makefile.in: rework CFLAGS so that they can be passed on the | |
7501 | command line to make. Remove MINUS_G. Default CFLAGS to -g. | |
7502 | ||
7503 | Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
7504 | ||
7505 | * arsup.c, arsup.h, arparse.y, arlex.l: support for archive | |
7506 | scripting language. | |
7507 | ||
7508 | Fri Mar 6 21:54:53 1992 K. Richard Pixley (rich@cygnus.com) | |
7509 | ||
7510 | * Makefile.in: added check target. | |
7511 | ||
7512 | Thu Mar 5 21:35:49 1992 K. Richard Pixley (rich@cygnus.com) | |
7513 | ||
7514 | * Makefile.in: added clean-info target. | |
7515 | ||
7516 | Tue Mar 3 15:36:37 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
7517 | ||
7518 | * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be | |
7519 | installed. added tooldir and program_prefix. | |
7520 | ||
7521 | Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) | |
7522 | ||
7523 | * Makefile.in, configure.in: removed traces of namesubdir, | |
7524 | -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced | |
7525 | copyrights to '92, changed some from Cygnus to FSF. | |
7526 | ||
7527 | Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com) | |
7528 | ||
7529 | * Makefile.in: Bump version to 1.96, and remove -beta | |
7530 | suffix from distribution name. | |
7531 | * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract | |
7532 | the signed value of a character (even if chars are unsigned). | |
7533 | * sparc-pinsn.c: Add new operand types. | |
7534 | ||
7535 | Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
7536 | ||
7537 | * objdump.c (disassemble_data): don't print a section's contents | |
7538 | if it's not loadable (eg bss) | |
7539 | ||
7540 | Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
7541 | ||
7542 | * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch | |
7543 | displacements don't get printed as large +ve ones. | |
7544 | ||
7545 | Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
7546 | ||
7547 | * copy.c, nm.c, objdump.c, size.c : changed to use the | |
7548 | new reloc scheme. | |
7549 | ||
7550 | ||
7551 | Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com) | |
7552 | ||
7553 | * bucomm.c (print_arelt_descr): Tweek the output format | |
7554 | so that 'ar tv' output follows Posix 1003.2/D11. | |
7555 | Output is now also identical to Sun's (except __.SYMDEF). | |
7556 | ||
7557 | Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com) | |
7558 | ||
7559 | * Makefile.in: Make `make' output more readable. | |
7560 | ||
7561 | Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com) | |
7562 | ||
7563 | * Makefile.in: Bump to version 1.94. | |
7564 | ||
7565 | Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com) | |
7566 | ||
7567 | * ar.c: added "b" to fopens for dos | |
7568 | * configdj.bat, makefile.dos new files from DJ | |
7569 | ||
7570 | Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
7571 | ||
7572 | * Makefile.in: infodir belongs in datadir. | |
7573 | ||
7574 | Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com) | |
7575 | ||
7576 | * bucomm.h: created to hold prototypes of bucomm.c | |
7577 | * objdump.h: created to hold prototyes of objdump.c | |
7578 | * am29k-pinsn.c: include objdump.h | |
7579 | * ar.c: include bucomm.h, get ar.h from the right place and | |
7580 | include libbfd.h | |
7581 | * bucomm.c: defunize bfd_fatal | |
7582 | * copy.c: include bucomm.h, lint. | |
7583 | * i960-pinsn.h: include bucomm.h | |
7584 | * m68k-pinsn.h: lint | |
7585 | * nm.c: include bucomm.h, lint | |
7586 | * objdump.c: lint | |
7587 | * sparc-pinsn.c: include objdump.h | |
7588 | ||
7589 | ||
7590 | ||
7591 | Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
7592 | ||
7593 | * Makefile.in: added standards.text support. install using | |
7594 | INSTALL_PROGRAM and INSTALL_DATA. | |
7595 | ||
7596 | * configure.in: configure now does all of it's work from objdir so | |
7597 | make file existence tests against ${srcdir}. | |
7598 | ||
7599 | Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
7600 | ||
7601 | * Makefile.in: idestdir and ddestdir go away. Added copyrights | |
7602 | and shift gpl to v2. Added ChangeLog if it didn't exist. docdir | |
7603 | and mandir now keyed off datadir by default. | |
7604 | ||
7605 | Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com) | |
7606 | ||
7607 | * Makefile.in: Bump to version 1.93. | |
7608 | * Makefile.in: Add make-strip.o:maybe-strip.c dependency | |
7609 | for make versions that provide half-baked VPATH-support (e.g. Sun's). | |
7610 | * size.c: Improvements suggested by | |
7611 | "david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>: | |
7612 | - Don't emit (Berkeley) headers if no files were found. | |
7613 | - Return a non-zero return code on failure. | |
7614 | ||
7615 | Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com) | |
7616 | ||
7617 | Changes due to include file renaming: | |
7618 | * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h | |
7619 | * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h | |
7620 | * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h | |
7621 | * nm.c: stab.gnu.h -> aout/stab_gnu.h | |
7622 | ||
7623 | Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com) | |
7624 | ||
7625 | * README: Mention MINIMIZE flag for bfd's make. | |
7626 | ||
7627 | Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com) | |
7628 | ||
7629 | * README: Various improvements. | |
7630 | ||
7631 | Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com) | |
7632 | ||
7633 | * Makefile.in: Bump to version 1.92. | |
7634 | * version.c, Makefile.in: Get version string from Makefile. | |
7635 | * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in: | |
7636 | Make the same change that we earlier did for ar/ranlib: | |
7637 | Generate two different binaries for strip and copy and use | |
7638 | a global variable with different values to distinguish | |
7639 | ostrip from copy. (-1 means to use argv[0] to decide, | |
7640 | so you can get the old behavior, but it is no longer the default). | |
7641 | * copy.c (copy_file): Set EXEC_P of output bfd if input is so. | |
7642 | * copy.c (main): If is_strip==-1, compare last 5 chars | |
7643 | of argv[0], not the whole path. | |
7644 | * copy.c (main): Return 0, not 1. | |
7645 | * copy.c (setup_sections): Fix due to change in bfd_make_section | |
7646 | now failing if asked for a duplicate section. | |
7647 | * strip.c, ostrip.c: Removed obsolete files. | |
7648 | * ar.c, not-ranlib.c, maybe-ranlib.c: | |
7649 | Change encoding of is_ranlib variable to be consistent | |
7650 | with is_strip for strip.copy (i.e -1 to means use argv[0]). | |
7651 | ||
7652 | Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com) | |
7653 | ||
7654 | * version.c (program_version): Update to version 1.92. | |
7655 | ||
7656 | Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com) | |
7657 | ||
7658 | * ar.c (get_pos_bfd): Previous fix was missing a "break". | |
7659 | ||
7660 | Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com) | |
7661 | ||
7662 | * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction | |
7663 | encodings. (Thaks to David Wood) | |
7664 | ||
7665 | Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com) | |
7666 | ||
7667 | * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes. | |
7668 | * ar.c (get_pos_bfd): Fix to handling of before/after | |
7669 | positioning options. | |
7670 | * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue, | |
7671 | since libiberty contains vfprintf etc if otherwise missing. | |
7672 | * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL | |
7673 | type operands, as used by branch instructions. | |
7674 | * nm.c: Delegate printing of symbols to BFD, | |
7675 | by using bfd_print_symbol to do the formatting. | |
7676 | ||
7677 | Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com) | |
7678 | ||
7679 | * ar.c (write_archive.c): added unlink before rename since some | |
7680 | systems can't rename onto an existant file. | |
7681 | ||
7682 | Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com) | |
7683 | ||
7684 | * nm.c: now doesn't crash if a symbol with no section and no | |
7685 | SEC_ABS appears. | |
7686 | ||
7687 | Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com) | |
7688 | ||
7689 | * Makefile.in, version.c: Bump to version 1.91. | |
7690 | ||
7691 | Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com) | |
7692 | ||
7693 | * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c, | |
7694 | i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c, | |
7695 | * strip.c: Add or update Copyright notice. | |
7696 | * TODO: Add note on 'nm -a'. | |
7697 | * version.c: Update version number to 1.90. | |
7698 | * Makefile.in: Fix making of documentation for dist. | |
7699 | ||
7700 | Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com) | |
7701 | ||
7702 | * README: New file. | |
7703 | * Makefile.in: New kludgy rules for making a tarfile. | |
7704 | * Makefile.in: Fix bindir path. | |
7705 | ||
7706 | Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com) | |
7707 | ||
7708 | * Makefile.in: add targets binutils.mm, binutils.me | |
7709 | ||
7710 | Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com) | |
7711 | ||
7712 | * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies. | |
7713 | ||
7714 | Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com) | |
7715 | ||
7716 | * Makefile.in: add target "binutils.ms" | |
7717 | ||
7718 | * binutils.texinfo: minor restructuring for texi2roff comfort. | |
7719 | ||
7720 | Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com) | |
7721 | ||
7722 | Restructure configuration scheme for bfd, binutils, ld. | |
7723 | ||
7724 | * include/sys/h-*.h: Move to bfd/hosts/h-*.h. | |
7725 | * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. | |
7726 | Change some config names to match other dirs. | |
7727 | * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() | |
7728 | get defined first. | |
7729 | * Makefile.in: Use -I. to get sysdep.h. | |
7730 | ||
7731 | Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com) | |
7732 | ||
7733 | * nm.c (print_symbols): Handle NULL name field of symbol. | |
7734 | * Makefile.in: Removed spurious comment. | |
7735 | ||
7736 | Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com) | |
7737 | ||
7738 | * binutils.texinfo: minor typos, phrasing, formatting fixes. | |
7739 | ||
7740 | Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com) | |
7741 | ||
7742 | * configure.in: Get host file from ../bfd/config, not config. | |
7743 | * config/*: Remove config directory and its files. | |
7744 | ||
7745 | Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com) | |
7746 | ||
7747 | * Makefile.in: new targets binutils.dvi, binutils.info | |
7748 | ||
7749 | * binutils.texinfo: remove most remaining FIXME's, delete | |
7750 | references to __.SYMDEF by name | |
7751 | ||
7752 | ||
7753 | Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com) | |
7754 | ||
7755 | * objdump.c (print_address) Print addresses nicely. | |
7756 | ||
7757 | Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com) | |
7758 | ||
7759 | * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c: | |
7760 | Make two different binaries for ar and ranlib, instead of | |
7761 | distinguishing them at run time using argv[0]. | |
7762 | (Old behavior is still available if you "make ar_with_ranlib", | |
7763 | but it is not the default.) | |
7764 | * ranlib.sh (new): An alternative one-line | |
7765 | shell implementation of ranlib. | |
7766 | ||
7767 | Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com) | |
7768 | ||
7769 | * objdump.c: Cope with renames of a few BFD types & enums. | |
7770 | ||
7771 | Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com) | |
7772 | ||
7773 | * binutils.texinfo: add new file (rudimentary docn) | |
7774 | ||
7775 | Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com) | |
7776 | ||
7777 | * config/hmake-news: Add new file (for Sony NEWSOS3). | |
7778 | * bucomm.c (fatal): Conditionally compile fatal() depending on | |
7779 | MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS. | |
7780 | * objdump.c (dump_headers): Trivial output format change. | |
7781 | * objdump.c (display_info): Loop over integers, not enums, | |
7782 | to appease old compilers. | |
7783 | ||
7784 | Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com) | |
7785 | ||
37cc8ec1 AM |
7786 | *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit |
7787 | object files. | |
252b5132 RH |
7788 | |
7789 | Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com) | |
7790 | from bother | |
7791 | * objdump.c (print_address): Make disasembled output more | |
7792 | consistent with gdb and as: Add 0x when printing hex. | |
7793 | Don't print extra leading zeros. | |
7794 | Attempt to not print "filename.o". | |
7795 | * objdump.c: Add some enum-to-int casts to accomodate old compilers. | |
7796 | ||
7797 | ||
7798 | Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com) | |
7799 | ||
7800 | * copy.c: Change =& constructs to = &, since they confuse older | |
7801 | C compilers. | |
7802 | ||
7803 | \f | |
7804 | Local Variables: | |
7805 | mode: change-log | |
7806 | left-margin: 8 | |
7807 | fill-column: 74 | |
7808 | version-control: never | |
7809 | End: |