Commit graph

23276 commits

Author SHA1 Message Date
Jeff Law
d5394da7ec * Re-add lost change:
* elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field
        "movm_stack_size".
        (mn10300_elf_relax_section): Include stack space for register saves
        in the imm8 field of a "call" instruction.
        (compute_function_info): Determine how much stack is allocated by
        the movm instruction.  Fix typo.
        (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size.
1998-07-23 17:30:54 +00:00
Ian Carmichael
f07122bc9e * VU memory now accessed via kseg1. 1998-07-23 17:05:08 +00:00
Jeff Law
4b6651c925 * am33.igen: Add some missing instructions.
Missed a few last week... Grrr.
1998-07-23 16:31:41 +00:00
Ian Lance Taylor
bf00990ea9 * scripttempl/aout.sc: If ALIGNMENT is defined, use it to set
alignment of end symbol.
	* scripttempl/elf.sc: Likewise.
	* emulparams/sun4.sh (ALIGNMENT): Define.
	* emulparams/elf32_sparc.sh (ALIGNMENT): Define.
	* ldint.texinfo (emulation parameters): Document ALIGNMENT.
1998-07-23 16:31:01 +00:00
Ian Lance Taylor
899ea5062e rebuild 1998-07-23 16:25:52 +00:00
Ian Lance Taylor
e42578b65e * ld-elfvers/vers.exp: Just check for i?86 rather than checking
for i386, i486, and i586.
	(objdump_versionstuff): If we can't find the line, dump the file.
1998-07-23 16:24:15 +00:00
Jeff Law
6ae1456eb5 * am33.igen: Autoincrement loads/store fixes. 1998-07-23 16:06:50 +00:00
Jeff Law
b706e6b44d * gas/mn10300/am33_8.s: Test DSP autoincrement memory loads/stores.
* gas/mn10300/basic.exp: Corresponding changes.
1998-07-23 15:52:27 +00:00
Jeff Law
47254a1631 * m10300-opc.c: Add DSP autoincrement memory loads/stores. 1998-07-23 15:51:24 +00:00
Ian Lance Taylor
511068f6c3 * elf32-sparc.c (elf_backend_got_header_size): Define as 4.
* elf64-sparc.c (elf_backend_got_header_size): Define as 8.
1998-07-23 15:40:18 +00:00
Jeff Law
be7e9f7200 * gas/mn10300/am_*.s: Test autoincrement memory loads/stores.
* gas/mn10300/basic.exp: Corresponding changes.
1998-07-23 15:23:16 +00:00
Jeff Law
b0b57954c5 * m10300-opc.c: Add autoincrement memory loads/stores. 1998-07-23 15:22:17 +00:00
Catherine Moore
3d1d5c8bb2 Wed Jul 22 19:29:00 Catherine Moore <clm@cygnus.com>
* arm.h: Rename relocations.
1998-07-23 00:32:11 +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
Ulrich Drepper
873e2f6aa6 Update. 1998-07-22 23:46:33 +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
Nick Clifton
6ff4269b8a Move reloc definitions into headers in include/elf 1998-07-22 23:29:51 +00:00
Nick Clifton
36dd637fc4 Reloc macros tidied up. i386 and v850 reloc macros added.
New file created to contain reloc macros: reloc-macros.h
1998-07-22 23:27:31 +00:00
Jeff Law
faac4767b1 * mips-opc.c: Make phmadh and phmsbh synonyms for phmaddh and
phmsubh respectively.
pr16537
1998-07-22 23:07:38 +00:00
Ulrich Drepper
043e6949fd Update. 1998-07-22 22:02:02 +00:00
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