Jeff Holcomb
c0304ac51d
Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com>
...
* readelf.c (get_dynamic_type): Remove empty default from switch
statement.
1998-07-24 23:58:30 +00:00
Ian Lance Taylor
3a66870a3e
tipo
1998-07-24 20:34:08 +00:00
Ian Lance Taylor
5817018a53
* Makefile.am (install-exec-local): Don't remove the file before
...
checking whether $(bindir) == $(tooldir)/bin. From "Maciej
W. Rozycki" <macro@ds2.pg.gda.pl>.
* Makefile.in: Rebuild.
1998-07-24 20:29:01 +00:00
Ian Lance Taylor
05ec3b4162
rebuild dependencies
1998-07-24 19:16:35 +00:00
Nick Clifton
b460b2684e
Remoe spurious header file inclusion.
1998-07-24 16:40:56 +00:00
Ian Lance Taylor
9af55dcfdf
remove d30v sanitization
1998-07-24 04:27:42 +00:00
Ulrich Drepper
cd38a064c7
Update.
1998-07-23 00:09:31 +00:00
Ulrich Drepper
3b9f0cb69b
Consistantly use elf_ prefix for *_reloc_type functions.
1998-07-23 00:08:44 +00:00
Nick Clifton
f97d05dc1b
Get relocation numbers from header files, rather than using built in
...
functions.
1998-07-22 23:32:58 +00:00
Ulrich Drepper
043e6949fd
Update.
1998-07-22 22:02:02 +00:00
Ulrich Drepper
133a451e9f
Remove definition of functions to return relocation symbol strings.
...
They now get implicitly defined when include the system specific ELF
header.
1998-07-22 22:00:20 +00:00
Ulrich Drepper
842dbd0d61
Before include system specific ELF header define
...
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. For now
used for ppc, mips, and mn10300.
1998-07-22 20:55:31 +00:00
Vladimir Makarov
862a531349
* binutils-all/objcopy.exp: Polish output about fail for objcopy
...
(simple copy), strip with/without saving a symbol for object file
and executable.
1998-07-22 18:10:50 +00:00
Nick Clifton
f5d660b679
Ooops - added gettext'isation missed out from previous delta
1998-07-22 17:29:11 +00:00
Nick Clifton
e293b0962e
Display number of unrecognised relocations.
1998-07-22 17:28:17 +00:00
Vladimir Makarov
7943e38d43
Moving entry about changes in testsuite/binutils-all/objcopy.exp from
...
ChangeLog to testsuite/ChangeLog.
1998-07-22 15:05:52 +00:00
Ulrich Drepper
f207d1d868
*** empty log message ***
1998-07-21 20:16:10 +00:00
Ulrich Drepper
5892b09993
Use symbolic names of relocation entries for the various
...
architectures. Correct more layout details. Print names of MIPS
specific section types. Print Alpha, ARM, and MIPS relocation type
names.
1998-07-21 20:15:58 +00:00
Ian Lance Taylor
8339eb6566
Mon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* addr2line.c (find_address_in_section): Only consider a section
if the pc value is completely contained within it.
(translate_addresses): Don't crash if functionname or filename are
null.
1998-07-20 16:52:49 +00:00
Ulrich Drepper
c546f3a091
process_symbol_table): Fix little alignment problem in printed table header.
1998-07-20 14:49:03 +00:00
Ulrich Drepper
6c4b8d0f36
Correct reading of .dynamic section.
...
(dynamic_section): Now a global variable.
(process_mips_fpe_exception, process_mips_specific, process_arch_specific):
New functions.
(get_file_header): Call process_arch_specific.
1998-07-20 14:18:35 +00:00
Ulrich Drepper
5821de310f
Add support for processor specific information on MIPS.
1998-07-19 23:31:57 +00:00
Ulrich Drepper
19808d3f79
Fix several versioning related bugs. Produce nicer output.
1998-07-19 22:18:24 +00:00
Ian Lance Taylor
326d0b2545
From Christian Holland <CHolland@de.lucent.com>:
...
* ieee.c (parse_ieee): Initialize info.global_vars and
info.global_types.
(parse_ieee_atn): Ignore register lifetime information reportedly
emitted by MRI compiler.
1998-07-10 20:19:22 +00:00
Ian Lance Taylor
1ea2c345cf
* Makefile.am (MAINTAINERCLEANFILES): Define.
...
* Makefile.in: Rebuild.
1998-07-09 17:08:26 +00:00
Jeff Law
d76c93e68c
* readelf.c (byte_get): Use PARAMS in prototype.
...
(error): Make it work with non-ANSI compilers.
(warn): Likewise.
(get_ver_flags): Don't use an ANSI prototype in the definition.
1998-07-08 03:55:07 +00:00
Ian Lance Taylor
d06fb99076
* objcopy.c (filter_bytes): Set size correctly if the size of the
...
section is not an even multiple of the interleave. Based on patch
from Brion Stone <Brion.Stone@attws.com>.
1998-07-07 17:27:00 +00:00
Ian Lance Taylor
66d4501431
Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de>
...
* configure.com: Add vax/vms support.
* makefile.vms-in: Renamed from makefile.vms. Add substitutions
now done by configure.com.
1998-07-02 19:02:27 +00:00
Ian Lance Taylor
7fc0b65fa2
* stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
...
integers with real upper bounds. Handle a lower bound one larger
than the upper bound as a signed integer. Handle 8 byte signed
integers.
(stab_demangle_template): Optionally return the demangled name of
the template.
(stab_demangle_qualified): Treat a template name as a tagged
type.
(stab_demangle_fund_type): Likewise.
1998-07-02 00:46:49 +00:00
Nick Clifton
9eaac302dc
Minor formatting improvements.
1998-07-01 23:30:34 +00:00
Ian Lance Taylor
3b83ab769a
fix indentation
1998-07-01 22:05:41 +00:00
Ian Lance Taylor
a95d955c68
rebuild
1998-07-01 18:34:33 +00:00
Ian Lance Taylor
6763b6e161
new files for windres
1998-07-01 18:33:06 +00:00
Ian Lance Taylor
0b3377c426
x
1998-07-01 18:32:49 +00:00
Ian Lance Taylor
72574626a9
* rclex.l: Add casts and change types to avoid warnings.
...
* rcparse.y: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.
* Makefile.am: Rebuild dependencies.
(HFILES): Remove readelf.h.
* Makefile.in: Rebuild.
Based on patches from Andrew Kozin
<Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>:
* winduni.h: New file, from windres.h.
* winduni.c: New file, from windres.c.
* windres.c: Move Unicode functions into winduni.c.
* windres.h: Move Unicode declarations into winduni.h. Include
winduni.h.
(RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows
macro. Change all uses.
(RT_PLUGPLAY, RT_VXD): Correct values.
* Makefile.am (HFILES): Add windres.h.
(CFILES): Add winduni.c.
(windres_SOURCES): Add winduni.c.
1998-07-01 18:30:20 +00:00
Nick Clifton
df6e153ca8
remove readelf.h from file list
1998-06-30 16:25:20 +00:00
Nick Clifton
cb436f39aa
Improved portability of readelf
1998-06-30 00:03:05 +00:00
Frank Ch. Eigler
4775a8a5a9
* Attempt to make readelf.c compile under IRIX6 cc by inserting
...
non-functional "break;" in switch statement.
1998-06-29 07:40:02 +00:00
Vladimir Makarov
6cddf7d967
* objcopy.c (strip_main): keep_specific_list == NULL as additional
...
condition to set up strip all symbols by default.
(copy_archive): don't change archive when error in object files of
the archive.
PR16197
1998-06-26 22:25:39 +00:00
Ian Lance Taylor
d8332b2c48
rebuild dependencies
1998-06-25 00:02:38 +00:00
Ian Lance Taylor
c5673804b8
* stabs.c (parse_number): Sign extend negative values correctly if
...
bfd_vma is larger than unsigned long.
1998-06-24 21:54:13 +00:00
Nick Clifton
0bbdd534d2
Fixed parsing of output to cope with .call_table_data sections on v850
1998-06-24 16:22:25 +00:00
Ian Lance Taylor
2d93867897
Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com>
...
* Makefile.am (install-exec-local): Don't let EXEEXT interfere
with the program transform name.
* Makefile.in: Rebuild.
1998-06-23 19:01:50 +00:00
Nick Clifton
ebb6416960
Rewrite of readelf to use fopen/fread rather than mmap.
1998-06-23 18:12:44 +00:00
Ian Lance Taylor
59bbaa1950
* readelf.c: Include bfd.h and bucomm.h before system header
...
files.
(parse_args): Change type of c from char to int.
1998-06-22 22:28:49 +00:00
Ian Lance Taylor
2f300fe69e
add d30v sanitization to readelf
1998-06-13 15:15:13 +00:00
Ian Lance Taylor
030bf387cc
rebuild
1998-06-12 23:41:52 +00:00
Tom Tromey
365fac52c2
* po/Make-in (all-yes): If maintainer mode, depend on .pot file.
...
($(PACKAGE).pot): Unconditionally depend on POTFILES.
1998-06-12 22:25:09 +00:00
Michael Meissner
1e3d6cc401
Make sure .gcc_except_table fits in the section header table
1998-06-12 21:00:00 +00:00
Michael Meissner
a09db9ba57
Add PowerPC support to readelf; Print machine specific flags; Print endianess; Make widening more portable
1998-06-12 20:50:03 +00:00
Nick Clifton
c18f8aef72
Fix sunOS build of readelf.
...
Fixed -Wall warnigs when built under Linux.
1998-06-12 00:56:39 +00:00
Ian Lance Taylor
1075246d73
* stabs.c (struct stab_handle): Add self_crossref field.
...
(parse_stab_string): If a tag is a cross reference to itself,
don't define it in the tags list.
(parse_stab_type): Set info->self_crossref.
* debug.c (struct debug_type_real_list): Define.
(debug_get_real_type): Add list parameter. Change all callers.
Check for circularity to avoid crashing when it occurs.
1998-06-11 22:45:08 +00:00
Nick Clifton
f4792b683c
Ooops - forgopt to check this in with the previous delta!
1998-06-11 22:32:44 +00:00
Nick Clifton
764668738f
Add 'readelf' to binutils.
1998-06-11 21:51:56 +00:00
Ian Lance Taylor
aaaf948f2d
* objcopy.c (setup_section): Adjust the section size if copy_byte
...
is >= 0.
(copy_section): Do not call bfd_set_section_size.
1998-06-05 22:44:15 +00:00
Nick Clifton
ce770ed5f4
Add missing \n\ from help description.
1998-06-04 16:13:47 +00:00
Ian Lance Taylor
105ba43fc5
* Makefile.am (YACC): Correct bison -L option.
...
* Makefile.in: Rebuild.
1998-06-03 23:59:39 +00:00
Ian Lance Taylor
144826805f
* binutils.texi, objdump.1: Document -p/--private-headers.
1998-06-03 23:32:22 +00:00
Ian Lance Taylor
bba897857d
x
1998-06-03 23:19:32 +00:00
Nick Clifton
537b2e5e86
Implemented new command line options: --change-section-vma and --change-section-lma.
...
Tidied up the code.
1998-06-03 22:54:50 +00:00
Nick Clifton
e48127735d
Add new function: non_fatal().
1998-06-03 19:13:40 +00:00
Ian Lance Taylor
83058b8c7b
From Yuli Barcohen <yuli.barcohen@telrad.co.il>:
...
* debug.c (debug_type_samep): Avoid endless loops comparing
function and method parameter types.
1998-06-01 22:28:07 +00:00
Nick Clifton
061ed861b0
Add support for interworking in DLLs.
...
Document dlltool.
1998-05-14 21:11:16 +00:00
Nick Clifton
cbf35aef3f
Include 1998 in copyright strings.
1998-05-14 21:05:14 +00:00
Nick Clifton
6f005bdcb1
Support Win32 style directory separators.
1998-05-14 21:03:51 +00:00
Nick Clifton
b1e901371e
Extended help information provided about command line options.
1998-05-08 17:36:22 +00:00
Ian Lance Taylor
ead3130290
Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de>
...
* makefile.vms: Run dec c with /nodebug. Pass CC value when
calling make.
1998-05-06 19:29:52 +00:00
Ian Lance Taylor
ee66b572a8
fix xgettext invocation
1998-05-06 18:16:28 +00:00
Nick Clifton
4c2cea9dbd
Build dlltool for thumb-pe target
1998-05-05 22:21:23 +00:00
Ian Lance Taylor
803f093def
* Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf
...
sysdump coffdump to avoid extra $(EXEEXT).
* Makefile.in: Rebuild.
Also rebuild configure with correct version of autoconf.
1998-05-04 02:07:04 +00:00
Geoffrey Noer
fdcf7943a0
Wed Apr 29 22:22:55 1998 Geoffrey Noer <noer@cygnus.com>
...
* configure.in: Stop appending EXEEXT to the end of
SRCONV_PROG (wrong because that variable may contain multiple
programs)
* Makefile.am: instead, add EXEEXTs to each SRCONV_PROG
program
* Makefile.in: regenerate
* configure: regenerate
1998-04-30 05:23:50 +00:00
Geoffrey Noer
1bfa8616c3
Wed Apr 29 18:05:52 1998 Geoffrey Noer <noer@cygnus.com>
...
* configure.in: Stop appending EXEEXT to the end of
SRCONV_PROG (wrong because that variable may contain multiple
programs)
* Makefile.in: instead, add EXEEXTs to each SRCONV_PROG
program
* configure: regenerate
1998-04-30 01:15:38 +00:00
Tom Tromey
faaba487f8
* addr2line.c (main): Conditionally call setlocale.
...
* windres.c (main): Likewise.
* sysdump.c (main): Likewise.
* strings.c (main): Likewise.
* srconv.c (main): Likewise.
* size.c (main): Likewise.
* objdump.c (main): Likewise.
* objcopy.c (main): Likewise.
* nm.c (main): Likewise.
* nlmconv.c (main): Likewise.
* dlltool.c (main): Likewise.
* coffdump.c (main): Likewise.
* ar.c (main): Likewise.
* bucomm.h: Include <locale.h> if HAVE_LOCALE_H.
(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
1998-04-29 02:44:49 +00:00
Tom Tromey
5873cbec2b
Fixed xgettext invocation in .Sanitize files
1998-04-29 00:11:07 +00:00
Ian Lance Taylor
c027e8b019
clean up IMPORTS changes
1998-04-29 00:04:11 +00:00
Bill Moyer
ddfe59af91
Updated ChangeLog to reflect IMPORT support changes in dlltool.
1998-04-28 18:09:53 +00:00
Bill Moyer
a4e5fd18f9
dlltool.c: Added support for IMPORTS.
...
dlltool.h: Redefined declaration of def_import().
defparse.y: Redefined IMPORT rule.
1998-04-28 17:36:17 +00:00
Ian Lance Taylor
5b10df4a85
* configure.in: Change version number to 2.9.4
...
* configure: Rebuild.
1998-04-27 20:42:00 +00:00
Tom Tromey
d6f3da9bc4
If xgettext fails, make Sanitize fail
1998-04-23 05:17:30 +00:00
Tom Tromey
3d96e9b4cf
.Sanitize now re-computes gettext-related files
1998-04-22 22:40:45 +00:00
Tom Tromey
55c7812d44
* po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
1998-04-22 22:13:58 +00:00
Ian Lance Taylor
7d2ac7015e
fix sanitization for gettext changes
1998-04-22 16:00:14 +00:00
Tom Tromey
19ac4b08f0
* Makefile.am (INCLUDES): Search intl dirs for headers; define
...
LOCALEDIR.
* addr2line.c (main): Call setlocale, bindtextdomain, textdomain.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* dlltool.c (main): Likewise.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* size.c (main): Likewise.
* srconv.c (main): Likewise.
* strings.c (main): Likewise.
* sysdump.c (main): Likewise.
* windres.c (main): Likewise.
1998-04-22 07:58:44 +00:00
Tom Tromey
9d04d6183d
* Many files: Added gettext invocations around user-visible
...
strings.
* bucomm.h: Added gettext-related includes and defines.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and
po/Makefile. Use AM_PROG_LEX.
* Makefile.am (SUBDIRS): New macro.
(POTFILES): Likewise.
(po/POTFILES.in): New target.
(LDADD): Added INTLLIBS.
(objdump_LDADD): Likewise.
(c__filt_LDADD): Likewise.
(ar_LDADD): Likewise.
(ranlib_LDADD): Likewise.
(dlltool_LDADD): Likewise.
(windres_LDADD): Likewise.
* po/Make-in, po/POTFILES.in, po/binutils.pot: New files.
1998-04-22 05:32:22 +00:00
Ian Lance Taylor
22947e96cd
Tue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz>
...
* objcopy.c (preserve_dates): New file static variable.
(smart_rename): If preserve_dates, call set_times when copying.
(strip_main): Remove preserve_dates local variable.
(copy_main): Likewise.
1998-04-21 20:08:36 +00:00
Ian Lance Taylor
d69831f684
* Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
...
rcparse.h, and rcparse.c
* Makefile.in: Rebuild.
1998-04-07 19:41:52 +00:00
Ian Lance Taylor
80ae9dea4b
* Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that
...
Makefile.in doesn't have an empty continuation line.
(bin_PROGRAMS): Likewise.
* Makefile.in: Rebuild.
1998-04-06 20:25:20 +00:00
Ian Lance Taylor
5327f59f00
* Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
...
(MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*.
(mostlyclean-local): New target.
* Makefile.in: Rebuild.
1998-04-03 19:49:49 +00:00
Ian Lance Taylor
27e0fef5af
From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu
...
<hjl@gnu.org>:
* ar.c (usage): Mention S modifier.
(main): Add S modifier.
* ar.1, binutils.texi: Document S modifier.
1998-04-01 20:57:21 +00:00
Ian Lance Taylor
ac0835f233
Wed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* binutils.texi: Use @itemx for a secondary item in a table.
1998-04-01 18:12:56 +00:00
Ian Lance Taylor
de869287dd
* dep-in.sed: Add rule to remove @OBJDIR@.
...
* Makefile.am (dep.sed): Substitute for @OBJDIR@.
* Makefile.in: Rebuild.
1998-03-31 23:45:24 +00:00
Ian Lance Taylor
f3aa01e2a4
* configure.in: Set version to 2.9.1.
...
* configure: Rebuild.
1998-03-30 22:35:51 +00:00
Ian Lance Taylor
3e22b90090
* Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h,
...
rcparse.h, and nlmheader.h.
* Makefile.in: Rebuild.
1998-03-30 22:30:28 +00:00
Ian Lance Taylor
d3c1453d09
Fix some gcc -Wall warnings:
...
* nlmconv.c (main): Add casts to avoid warnings.
(alpha_mangle_relocs): Likewise.
* objdump.c (dump_section_stabs): Likewise.
* size.c (print_sysv_format): Likewise.
* srcconv.c (wr_ob): Likewise.
* wrstabs.c (stab_modify_type): Likewise.
(stab_variable): Likewise.
* nlmconv.c (main): Initialize variables to avoid warnings.
* nm.c (sort_symbols_by_size): Likewise.
* objdump.c (disassemble_bytes): Likewise.
* wrstabs.c (stab_end_class_type): Likewise.
* coffgrok.c (do_sections_p2): Change j to unsigned int.
(do_lines): Change l to unsigned int.
* nlmheader.y (yylex): Change i to unsigned int.
* nm.c (print_symbol): Change j to long.
* size.c (lprint_number): Comment out.
* srconv.c (wr_ob): Change i to bfd_size_type.
* sysdump.c (unit_info_list): Comment out.
(object_body_list, program_structure, debug_list): Likewise.
* sysinfo.y (yyerror): Return value.
1998-03-28 22:45:56 +00:00
Richard Henderson
77c9b27d97
* defparse.y (explist): Allow epsilon.
...
Suggestion from Jonathan-Harris@psion.com .
1998-03-27 01:08:40 +00:00
Richard Henderson
b4b91a539b
* coffgrok.c (do_sections_p1): Use the section's lma instead of vma
...
for the benefit of prom loaders.
pr 14947
1998-03-27 01:05:06 +00:00
Ian Lance Taylor
ee09ab7f89
Based on patch from H.J. Lu <hjl@gnu.org>:
...
* Makefile.am (DISTSTUFF): New variable.
(diststuff): New target.
(DISTCLEANFILES): New variable.
* Makefile.in: Rebuild.
1998-03-25 18:06:21 +00:00
Ian Lance Taylor
48c9f0ebd5
* rclex.l: Accept { and } as synonyms for BEGIN and END.
1998-03-25 00:33:29 +00:00
Richard Henderson
a3a4bb5d4a
* objcopy.c (compare_section_lma): Rename from _vma.
...
(copy_object): Gap fill based on LMA not VMA.
* binutils.texi: Update and clarify.
* objcopy.1: Likewise.
PR 14917
1998-02-18 02:45:07 +00:00
Ian Lance Taylor
c9b3e42e6b
* dlltool.c (make_one_lib_file): Don't add 1 to hint.
1998-02-18 01:34:41 +00:00