From: Ian Lance Taylor Date: Wed, 12 Jun 1996 03:14:14 +0000 (+0000) Subject: * objdump.c (dump_reloc_set): Add sec parameter. Change all X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11548211825849412a1a924a5fa10c426bc9be00;p=binutils-gdb.git * objdump.c (dump_reloc_set): Add sec parameter. Change all callers. If with_line_numbers is set, display line numbers of relocation entries. * binutils.texi, objdump.1: Document -l with -r. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 047b7709952..ace581ec36d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,17 @@ +Tue Jun 11 20:12:15 1996 Ian Lance Taylor + + * objdump.c (dump_reloc_set): Add sec parameter. Change all + callers. If with_line_numbers is set, display line numbers of + relocation entries. + * binutils.texi, objdump.1: Document -l with -r. + +Mon Jun 10 23:42:59 1996 Ian Lance Taylor + + * ar.c (open_inarch): Report BFD error message if an archive can + not be recognized. List matching formats if the file is + ambiguously recognized. + (ranlib_touch): Likewise. + Thu Jun 6 13:56:14 1996 Ian Lance Taylor * README: Add notes on how to build if you don't have ar. diff --git a/binutils/NEWS b/binutils/NEWS new file mode 100644 index 00000000000..7e0322cf2f7 --- /dev/null +++ b/binutils/NEWS @@ -0,0 +1,103 @@ +-*- text -*- + +Changes since binutils 2.6 + +* Added --enable-shared and --enable-commonbfdlib options to configure. + +* Added --debugging argument to objdump and objcopy. + +* Added --defined-only argument to nm. + +* Added --remove-leading-char argument to objcopy. + +* The objdump --line-numbers option is now meaningful with --reloc. + +Changes since binutils 2.5 + +* Added -N/--strip-symbol and -K/--keep-symbol arguments to strip and objcopy. + +* Added several arguments to objcopy to provide some control over how the new + file is laid out in memory. Also added binary output format to BFD to permit + generating plain binary files. + +* Added --start-address and --stop-address options to objdump. + +* ar and ranlib now work on AIX. The tools are now built by default on AIX. + +Changes since binutils 2.4 + +* Changed objdump -dr to dump the relocs interspersed with the assembly + listing, for a more useful listing of relocateable files. + +* Changed objdump -d/--disassemble to only disassemble SEC_CODE sections. + Added -D/--disassemble-all option to disassemble all sections. + +* Added --size-sort option to nm. + +* strip and objcopy should now be able to handle dynamically linked ELF + executables. + +Changes since binutils 2.3 + +* Support for HP-PA (by Jeff Law), i386 Mach (by David Mackenzie), RS/6000 and + PowerPC (except ar and ranlib; by Ian Taylor). + +* Support for Irix 5. + +* Programs `strip' and `objcopy' will not attempt to write dynamically linked + ELF output files, since BFD currently can't create them properly. + +Changes since binutils 2.2 + +* A new --stabs argument has been added to objdump to dump stabs sections in + ELF and COFF files. + +* A new program, nlmconv, has been added. It can convert object files into + Novell NetWare Loadable Modules. + +* The strings program has been added. + +Changes since binutils 2.1 + +* The 'copy' program has been renamed to 'objcopy', for consistency with + 'objdump', and because 'copy' might more plausibly be used as a synonym for + 'cp'. + +* The new stand-alone program c++filt is a filter that converts encoded + (mangled) C++ assembly-level identifiers to user-level names. (Note: This + may get moved to the gcc distribution.) + +* nm -o on an archive now prefixes each line with the archive name, matching + the output from BSD nm. + +* ar (and ld) can now read (but not write) BSD4.4-style archives. + +* New support for H8500, Z8000, and the Hitach SH. + +* Dis-assembler interface changed to allow sharing with gdb. + +* There is new Elf code, but it is not yet ready for general use. + +* There is the beginnings of a test suite. + +Changes since binutils 2.0 + +* There is now support for writing ECOFF files, so ld and the other utilities + should work on Risc/Ultrix and Irix. Please let us know how well this works. + +* ar now automatically creates a symbol table (a __.SYMDEF member, in the BSD + version), if there are any object files in the archive. So running ranlib is + now redundant (unless the non-standard q command is used). This is required + for Posix.2 conformance. + +* The archive-reading code now reads both BSD-style and SYSV-style archives + independently of the selected target format. This is to encourage people to + switch to SYSV-format, which has a number of advantages. + +* The strip and copy programs now have options to remove debug-symbols only + and/or local symbols only. They now also support long options. + + +Local variables: +fill-column: 79 +End: diff --git a/binutils/binutils.texi b/binutils/binutils.texi index 0d055bf3f25..aff80f8c4cf 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -1120,9 +1120,9 @@ Display information only for section @var{name}. @item -l @itemx --line-numbers @cindex source filenames for object files -Label the display (using debugging information) with the filename -and source line numbers corresponding to the object code shown. -Only useful with @samp{-d} or @samp{-D}. +Label the display (using debugging information) with the filename and +source line numbers corresponding to the object code or relocs shown. +Only useful with @samp{-d}, @samp{-D}, or @samp{-r}. @item -m @var{machine} @itemx --architecture=@var{machine} diff --git a/binutils/objdump.1 b/binutils/objdump.1 index e3c4a25db0c..fba8d6b9da7 100644 --- a/binutils/objdump.1 +++ b/binutils/objdump.1 @@ -200,7 +200,7 @@ Display information only for section \c .B \-\-line\-numbers Label the display (using debugging information) with the filename and source line numbers corresponding to the object code shown. -Only useful with \fB\-d\fP or \fB\-D\fP. +Only useful with \fB\-d\fP, \fB\-D\fP, or \fB\-r\fP. .TP .BI "\-m " "machine"\c