Ulrich Drepper
86b9b00b99
Rewrite relocation definition using macros.
1998-07-22 22:01:56 +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
30483570cf
Let ELF header now define the macros to get the enum.
1998-07-22 21:59:00 +00:00
Nick Clifton
c13661938a
Chnage type from 'unsigned char' to 'unsigned int' to avoid K&R compatability issue.
1998-07-22 20:58:50 +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
Ulrich Drepper
fea6fcb9c7
Fix typo.
1998-07-22 20:50:46 +00:00
Ian Lance Taylor
7ae26f2731
* ieee.c (ieee_find_nearest_line): Change filename_ptr and
...
functionname_ptr to be const. Change line_ptr to be unsigned.
* coffcode.h (coff_link_output_has_begun): Simplify handling when
macro is not defined. Change second parameter from bfd_link_info
to coff_final_link_info. Add prototype.
(coff_final_link_postscript): Simplify handling when macro is not
defined. Add prototype.
1998-07-22 20:44:52 +00:00
Ulrich Drepper
91e32e23ff
Before include system specific ELF header define
...
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.
1998-07-22 20:40:28 +00:00
Ulrich Drepper
0d930c6c88
Rewrite relocation definition using macros.
1998-07-22 20:40:09 +00:00
Ulrich Drepper
ddffd87116
Rewrite relocation definition using macros.
1998-07-22 20:11:54 +00:00
Ulrich Drepper
767af63c2c
Before include system specific ELF header define
...
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.
1998-07-22 20:11:16 +00:00
Frank Ch. Eigler
e4d7741205
* Bringing over sky (dvp) gas change from branch.
...
Wed Jul 22 17:39:28 1998 Frank Ch. Eigler <fche@cygnus.com>
* config/tc-dvp.c (parse_float): Accept 0xhex constants
also for VU LOI operand.
1998-07-22 18:38:27 +00:00
Ian Lance Taylor
1ca268445f
* doc/as.texinfo: Add documentation for .end, .exitm, .fail,
...
.ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
.print, .purgem, and .struct. Remove documentation for
.app-file.
1998-07-22 18:38:26 +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
Ian Lance Taylor
39e4bca406
* elf64-mips.c (mips_elf64_reloc_type): Copy Ulrich's elf32-mips.c
...
temporary patch over to elf64-mips.c as well.
1998-07-22 17:47:42 +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
92a7119c1f
elf32-mips.c (reloc_type): Temporarily disable definition of standard
...
relocation since they are now defined in elf/mips.h.
1998-07-22 01:35:34 +00:00
Ulrich Drepper
5e37b2da13
(reloc_type): Temporarily disable definition of standard relocation since
...
they are now defined in elf/mips.h.
1998-07-22 01:34:44 +00:00
Doug Evans
7422fa0cc8
* cpu.h,extract.c: Regenerate. pc-rel calcs done on f_dispNN now.
...
* cpux.h,readx.c,semx.c: Ditto.
1998-07-21 23:54:10 +00:00
Doug Evans
b817384cca
* cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
...
Update call to insert_operand.
1998-07-21 23:50:34 +00:00
Doug Evans
b00ea55caf
regenerate, get displacement operand shifts right
1998-07-21 23:46:56 +00:00
Doug Evans
cac4e5a481
* cgen-utils.c: Include bfd.h.
...
(sim_disassemble_insn): Update call to CGEN_EXTRACT_FN.
1998-07-21 23:26:53 +00:00
Doug Evans
0cc2fbf340
tweak
1998-07-21 21:08:03 +00:00
Doug Evans
fbc8134df6
* cgen-opc.in (@arch@_cgen_lookup_insn): Update call to
...
CGEN_EXTRACT_FN.
(@arch@_cgen_get_insn_operands): @arch@_cgen_get_operand renamed to
@arch_cgen_get_int_operand.
* cgen-asm.in (insert_insn_normal): New arg `pc', callers updated.
Update call to @arch@_cgen_insert_operand.
(@arch@_cgen_assemble_insn): Update call to CGEN_INSERT_FN.
* cgen-dis.in (print_normal): Delete use of CGEN_PCREL_OFFSET.
(extract_insn_normal): New arg `pc', callers updated.
Update call to @arch@_cgen_extract_operand.
(print_insn): Update call to CGEN_EXTRACT_FN.
* m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.
1998-07-21 20:59:23 +00:00
Doug Evans
5eb29e2c4f
use macros for version numbers
1998-07-21 20:47:38 +00:00
Jeff Holcomb
46cd3dab3b
sanitize fix
1998-07-21 20:43:16 +00:00
Doug Evans
ca2b987fae
* cgen.h (cgen_version_{major,minor,fixlevel}): Declare.
...
(cgen_insert_fn,cgen_extract_fn): New arg `pc'.
(get_operand,put_operand): Replaced with get_{int,vma}_operand,
set_{int,vma}_operand.
1998-07-21 20:36:13 +00:00
Jeff Holcomb
0146d1637e
sanitize fix
1998-07-21 20:26:20 +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
Ulrich Drepper
3ab64530cc
Update.
1998-07-21 20:12:44 +00:00
Ulrich Drepper
f4e87c4625
Platform specific relocation definitions.
1998-07-21 20:12:27 +00:00
Ulrich Drepper
37e4be8306
Add R_PPC_* entries.
1998-07-21 20:11:51 +00:00
Ulrich Drepper
d91aa0bb96
Add R_MN10300_* entries.
1998-07-21 20:11:30 +00:00
Ulrich Drepper
c27d2e1867
Add R_MIPS_* and SHT_MIPS_* entries.
1998-07-21 20:11:08 +00:00
Martin Hunt
9c56157ffa
(gdb_listfiles): Fix comments and cleanup.
1998-07-21 18:40:06 +00:00
Jeff Law
0a78550778
* am33.igen: Add most am33 DSP instructions.
1998-07-21 15:50:14 +00:00
Richard Henderson
965d5a46be
* elf-bfd.h (struct elf_backend_data): Add got_ & plt_header_size.
...
* elf32-i386.c (elf_backend_got_header_size): Define.
(elf_backend_plt_header_size): Define.
* elf32-m68k.c, elf32-mips.c, elf32-ppc.c: Likewise.
* elf32-sparc.c, elf64-alpha.c, elf64-sparc.c: Likewise.
* elfxx-target.h: Provide a default of zero.
* elflink.c (_bfd_elf_create_got_section): Use got_header_size.
* elflink.h (elf_gc_common_finalize_got_offsets): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't remove a PLT
entry from an executable, even if the plt refcount goes to 0.
1998-07-21 01:54:28 +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
Ian Lance Taylor
490e0e1339
Mon Jul 20 12:47:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* aoutx.h (NAME(aout,find_nearest_line)): Also remember the
directory name at the line number.
* elf.c (_bfd_elf_find_nearest_line): Also consider symbols
with an unspecified type.
1998-07-20 16:50:34 +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
1b734be6cf
Add lots of DT_MIPS_* symbols.
1998-07-19 23:30:10 +00:00
Ulrich Drepper
55412e05e2
(PT_MIPS_OPTIONS): New symbol.
1998-07-19 22:27:05 +00:00
Ulrich Drepper
19808d3f79
Fix several versioning related bugs. Produce nicer output.
1998-07-19 22:18:24 +00:00
Martin Hunt
4d14b2522a
Sun Jul 19 02:11:45 1998 Martin M. Hunt <hunt@cygnus.com>
...
* symtab.c (decode_line_2): Instead of printing a prompt
and calling command_line_input() without a prompt, just
call it with the proper args. This makes the GUI work too.
Sat Jul 18 12:28:39 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdbtk_cleanup): Add call to tcl function
gdbtk_cleanup. We need this so the GUI gets to clean
up no matter how GDB exits.
1998-07-19 09:33:34 +00:00
Ian Lance Taylor
c5f3dafb29
* ylwrap: Don't use a full path name if the source file is in the
...
same directory. From hjl@lucon.org (H.J. Lu).
1998-07-17 18:52:26 +00:00