Ian Lance Taylor
a475297cf1
* ldmisc.c (vfinfo): Correct handling of 0 in %W case.
1996-06-21 16:46:10 +00:00
Ian Lance Taylor
e8f4671749
Fri Jun 21 12:35:27 1996 Richard Henderson <rth@tamu.edu>
...
* elf64-alpha.c: New file.
* config.bfd (alpha-*-linuxecoff*): New target.
(alpha-*-linux*, alpha-*-elf*): New targets.
* configure.in (bfd_elf64_alpha_vec): New vector.
* configure: Rebuild.
* targets.c (bfd_elf64_alpha_vec): Declare.
(bfd_target_vector): Add bfd_elf64_alpha_vec if BFD64.
* reloc.c (BFD_RELOC_ALPHA_GPDISP): Define.
* bfd-in2.h, libbfd.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD64_BACKENDS): Add elf64-alpha.o.
(BFD64_BACKENDS_CFILES): Add elf64-alpha.c.
1996-06-21 16:40:43 +00:00
Ian Lance Taylor
3309648e5f
Fri Jun 21 12:33:24 1996 Richard Henderson <rth@tamu.edu>
...
* alpha.h: New file.
* common.h (EM_ALPHA): Define.
start-sanitize-arc
(EM_CYGNUS_ARC): Change to not conflict with EM_ALPHA.
end-sanitize-arc
1996-06-21 16:34:37 +00:00
David Edelsohn
b9110a3c4f
* coffcode.h (coff_set_alignment_hook): Change COFF_IMAGE_WITH_PE
...
ifdef to COFF_WITH_PE.
(coff_compute_section_file_positions): Likewise.
(coff_write_object_contents): Likewise. Delete COFF_OBJ_WITH_PE.
* pe-{arm,i386,ppc}.c (COFF_OBJ_WITH_PE): Delete.
* peicode.h (pe_bfd_copy_private_bfd_data): Delete ifdef
COFF_IMAGE_WITH_PE, always include.
1996-06-20 23:59:08 +00:00
Ian Lance Taylor
edec3111a2
* config/obj-aout.c (obj_emit_relocations): Give an error if the
...
relocation symbol was not resolved.
* config/obj-coff.c (do_relocs_for): Likewise.
1996-06-20 23:42:18 +00:00
Ian Lance Taylor
7ca8e36e61
* expr.c (struct expr_symbol_line): Define.
...
(expr_symbol_lines): New static variable.
(make_expr_symbol): Add entry to expr_symbol_lines.
(expr_symbol_where): New function.
* expr.h: Use extern on function declarations.
(expr_symbol_where): Declare.
* symbols.c (resolve_symbol_value): Try to use expr_symbol_where
rather than printing the meaningless name of an expression
symbol.
1996-06-20 23:14:13 +00:00
Ian Lance Taylor
bacecac849
* ecoff.c (ecoff_armap_hash): If hlog is 0, just return 0, rather
...
than relying on a right shift of 32.
1996-06-20 22:23:22 +00:00
David Edelsohn
1a7b4b7ced
* configure.in: Revise sol-thread.o test.
...
* configure: Regenerated.
* source.c (find_source_lines): Reassign size to result of read.
1996-06-20 21:21:27 +00:00
Ken Raeburn
8d190aa344
* Makefile.in (taz): Handle case where tex3patch didn't even get checked out.
...
Also, if it was found, put the symlink in a new util subdirectory.
1996-06-20 21:01:42 +00:00
Ken Raeburn
214f540d12
* config/tc-i386.c (md_number_to_chars): Deleted.
...
* config/tc-i386.h (md_number_to_chars): New macro.
* config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in the file.
(load_symbol_address, load_expression): Use build_mem.
(build_operate): New function.
(emit_addq_r): Use it.
Wed Mar 13 22:14:14 1996 Pat Rankin <rankin@eql.caltech.edu>
* symbols.c (colon): #if VMS, use S_SET_OTHER to store `const_flag'.
Tue Mar 5 14:31:45 1996 Pat Rankin <rankin@eql.caltech.edu>
* config/tc-vax.h (NOP_OPCODE): Define.
Sun Feb 4 21:01:03 1996 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.h (S_IS_COMMON): Define.
(S_IS_LOCAL): Check for \002 as well as \001.
(LONGWORD_ALIGNMENT): New macro.
(SUB_SEGMENT_ALIGN): Use it.
Fri Jan 26 17:44:09 1996 Pat Rankin <rankin@eql.caltech.edu>
* config/vms-conf.h: Reconcile with conf.in.
1996-06-20 20:06:44 +00:00
David Edelsohn
9ca108cdd0
* peicode.h (coff_swap_scnhdr_out): ".drectve" doesn't have trailing 0.
1996-06-20 19:36:35 +00:00
Ian Lance Taylor
180b9a3805
* rs6k.h: Remove obsolete file.
1996-06-20 19:04:10 +00:00
Ian Lance Taylor
55745b34b0
Add enough support to understand the gcc svr3.ifile script:
...
* ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add
BIND keyword.
* ldgram.y: Add BIND token.
(section): Recognize GROUP.
(opt_ext_with_type): Recognize a couple of cases of BIND.
* ldlang.c (init_os): Don't do anything if section is already
initialized. Call exp_init_os on addr_tree field.
(exp_init_os): New static function.
(map_input_to_output_sections): Call exp_init_os on assignment
expression.
(lang_place_orphans): Check for common sections by name COMMON
rather than by common_section field. Don't warn about absence of
[COMMON] command.
1996-06-20 18:23:24 +00:00
Michael Meissner
c180142240
Add support for Linux on PowerPC
1996-06-20 16:31:16 +00:00
Fred Fish
3f8eefba65
* gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
...
avoid backing up over prompt. At every input, make sure insert
point is at least after command start, handle control-u to delete
current input line.
(tclsh): Handle backspace to avoid backing up over prompt. Handle
control-u to delete current input line.
1996-06-20 15:50:37 +00:00
Ian Lance Taylor
793f9558f8
* write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
...
defined.
1996-06-20 01:45:14 +00:00
Ian Lance Taylor
84577ddeeb
* doc/as.texinfo: Document that any number of hex digits can
...
follow \x.
1996-06-20 01:34:19 +00:00
Ian Lance Taylor
4264a46e65
* sparc-dis.c (print_insn_sparc): Remove unused local variable i.
...
Set imm_added_to_rs1 even if the source and destination register
are not the same.
1996-06-20 01:18:47 +00:00
Ian Lance Taylor
25eb508ed4
* objdump.c (stabs): Change from struct internal_nlist * to
...
bfd_byte *.
(print_section_stabs): Fetch stabs information directly, rather
than assuming that struct internal_nlist is the right size.
1996-06-20 01:00:26 +00:00
Geoffrey Noer
b613bfbf2c
Changes to gdbtk configury so cygwin32 hosts (in addition to go32)
...
are configured without gdbtk
1996-06-20 00:29:38 +00:00
Ian Lance Taylor
0d6cae1e69
* as.c (struct defsym_list): Define.
...
(defsyms): New static variable.
(parse_args): Just put --defsym arguments on defsyms list, rather
than defining them.
(main): Define defsyms after output file is created.
1996-06-19 21:08:03 +00:00
Ian Lance Taylor
6e3f7f1bf9
* config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
...
cpu32. From Eric Norum <Eric.Norum@usask.ca>.
1996-06-19 20:33:30 +00:00
Ian Lance Taylor
c635473f30
* sparc-opc.c: Add some two operand forms of the wr instruction.
1996-06-19 19:56:51 +00:00
Ian Lance Taylor
ad8e053482
* i386.h: Correct opcode values for faddp, fsubp, fsubrp, fmulp,
...
fdivp, and fdivrp. Add ffreep.
1996-06-19 19:52:04 +00:00
Ian Lance Taylor
11de29d03b
* binutils.texi: Document change to binary format: file position
...
based on load address, not section VMA.
1996-06-19 18:50:41 +00:00
Ian Lance Taylor
8095b665cb
* as.c (emulation_name): Remove unused static variable.
...
(default_emul_bfd_name): Add return NULL to avoid warning.
* ecoff.c (ecoff_stab): Remove unused variables name and
name_end.
* frags.c (frag_new): Remove unused variable tmp.
* hash.c (hash_grow): Parenthesize + within <<.
(hash_print_statistics): Use %lu, not %d, to print unsigned
long variables.
* messages.c: Include "libiberty.h".
(fprint_value): Add cast to avoid printf warning.
(sprint_value): Likewise.
* read.c: Include "ecoff.h".
(emit_expr): Add casts to avoid printf warnings.
* read.h: Use extern for function declarations.
(pop_insert): Declare.
* stabs.c: Include "ecoff.h".
* subsegs.c (subseg_set_rest): Remove unused variables tmp,
former_last_fragP, and new_fragP.
* subsegs.h (subsegs_print_statistics): Declare.
* symbols.c (debug_verify_symchain): Change macro to discard
arguments.
* write.c (dump_section_relocs): Likewise.
* write.h: Use extern for function declarations.
(write_print_statistics): Declare.
* config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
warning.
* config/e-mipself.c (mipself_bfd_name): Likewise.
* config/obj-elf.h (elf_ecoff_set_ext): Declare.
1996-06-19 18:42:42 +00:00
Ian Lance Taylor
9753202d00
* config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
...
insn_error rather than calling check_absolute_expr.
1996-06-19 18:34:30 +00:00
Ian Lance Taylor
9ee759fc91
* config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
...
emit relocations against external symbols.
1996-06-19 17:06:41 +00:00
Ian Lance Taylor
faa3f5397d
* config/tc-alpha.c (tc_gen_reloc): Output a sensible error
...
message if bfd_reloc_type_lookup fails, rather than calling
assert.
1996-06-19 17:01:22 +00:00
Ian Lance Taylor
7fc6a16a7f
* elf.c (map_sections_to_segments): Fix up the test for -Ttext to
...
approximate the correct answer if SIZEOF_HEADERS was not used.
1996-06-19 16:30:27 +00:00
Tom Tromey
492b9bf044
Updated documentation for lose-inet -> keep-inet change
1996-06-19 15:40:45 +00:00
Ian Lance Taylor
c2073f05cf
* binary.c (binary_set_section_contents): Set section file
...
position based on LMA rather than VMA.
1996-06-19 15:39:08 +00:00
Ian Lance Taylor
7b9b1eb22e
* config/tc-alpha.c (alpha_force_relocation): Add
...
BFD_RELOC_12_PCREL to switch.
1996-06-19 15:33:44 +00:00
Ian Lance Taylor
4838929ec7
Wed Jun 19 11:19:25 1996 Manfred Hollstein KS/EIC5 60/3/142 #40283 <manfred@lts.sel.alcatel.de>
...
* linker.c (_bfd_generic_link_output_symbols): Don't output any
symbols if info->strip == strip_all.
1996-06-19 15:23:21 +00:00
Jason Merrill
9deb948534
Mon Jun 17 16:34:46 1996 Jason Merrill <jason@yorick.cygnus.com>
...
* Makefile.in (taz): texinfo/tex3patch no longer exists.
1996-06-19 01:28:24 +00:00
Jeff Law
88ea21e50c
* compile.c (sim_load): Treat the H8/S like the H8/300H for now.
...
* run.c (main): Treat the H8/S like the H8/300H for now.
More sanitize H8/S stuff.
1996-06-18 23:33:49 +00:00
Jeff Law
d15396dfe5
* h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
...
(h8300_command): Likewise.
(set_machine): Likewise.
(set_machine_hook): Likewise.
(_initialize_h8300m): Likewise.
* config/h8300/tm-h8300.h (h8300smode): Declare.
More sanitized H8/S work.
1996-06-18 23:29:39 +00:00
Jeff Law
934f9fa0ff
* dis-asm.h (print_insn_h8300s): Declare.
...
end-sanitize-h8s
More H8/S stuff.
1996-06-18 23:20:37 +00:00
Jeff Law
a3dbd3269f
* h8300.h (H8300SMAGIC): Define.
...
(H8300SBADMAG): Define.
end-sanitize-h8s
H8/S stuff
1996-06-18 23:20:15 +00:00
Jeff Law
04f5f28af7
* h8300.h: Reorder various #defines for readability.
...
(ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define.
(BITOP): Accept additional (unused) argument. All callers changed.
(EBITOP): Likewise.
(O_LAST): Bump.
(ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes.
start-sanitize-h8s
* h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define.
(O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define.
(BITOP, EBITOP): Handle new H8/S addressing modes for
bit insns.
(UNOP3): Handle new shift/rotate insns on the H8/S.
(insns using exr): New instructions.
(tas, mac, ldmac, clrmac, ldm, stm): New instructions.
end-sanitize-h8s
You guessed it. More H8/S junk.
1996-06-18 23:19:44 +00:00
Jeff Law
cc97381776
* h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
...
to just "mode".
start-sanitize-h8s
* disassemble.c (disassembler): Handle H8/S.
* h8300-dis.c (print_insn_h8300s): New function for H8/S.
end-sanitize-h8s
Even more H8/S goo.
1996-06-18 23:00:38 +00:00
Jeff Law
71415be57c
* scripttempl/h8300s.sc: New file for H8/S.
...
* emulpararms/h8300s.sh: New file for H8/S.
* Makefile.in (ALL_EMULATIONS): Add H8/S.
(e_h8300s.c): Add dependencies.
* configure.tgt: Add H8/S to targ_extra_emuls.
H8/S linker stuff. Sanitized until status of this code is known.
1996-06-18 22:55:30 +00:00
Jeff Law
2459179f7a
* coff-h8300.c: Remove #if 0 code.
...
(compatable): Don't allow mixing/matching of different architectures.
Just stuff I noticed.
start-sanitize-h8s
* archures.c (bfd_mach_h8300s): Add.
* bfd-in2.h: Rebuilt.
* coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too.
(BADMAG): Likewise.
(h8300_reloc16_estimate): Likewise.
(h8300_reloc16_extra_cases): Likewise.
(h8300_bfd_link_add_symbols): Likewise.
* coffcode.h (coff_set_arch_mach_hook): Likewise.
(coff_set_flags): Likewise.
* cpu-h8300.c (h8300_scan): Likewise.
Add H8/S to bfd_h8300_arch list.
end-sanitize-h8s
H8/S support. Sanitized away until we know its official status.
1996-06-18 22:26:09 +00:00
Ian Lance Taylor
24b018ee72
* read.c (s_fill): Don't warn about a zero repeat count.
1996-06-18 22:17:40 +00:00
Ian Lance Taylor
1b5dbf7446
* ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
...
<sergei@msil.sps.mot.com>.
1996-06-18 22:08:44 +00:00
Ian Lance Taylor
2e71dfc02c
* configure.tgt (i[345]86*-*-isc*): New target. From
...
<uddeborg@carmen.se>.
1996-06-18 21:58:52 +00:00
Ian Lance Taylor
c674dcaa71
* config/tc-mips.c (mips_ip): Don't warn about using AT as a
...
coprocessor register.
1996-06-18 21:57:56 +00:00
Ian Lance Taylor
d75ea6de3d
* core.c (core_create_line_syms): Use xstrdup rather than strdup.
...
* source.c (source_file_lookup_path): Likewise.
1996-06-18 21:37:38 +00:00
Ian Lance Taylor
d945323396
* config/tc-i386.c (md_assemble): When checking the size of a
...
register to set the size of an instruction, do a bitwise and with
Reg8 and Reg16 rather than requiring the type to be exactly Reg8
or Reg16.
1996-06-18 21:15:35 +00:00
Jeff Law
3d0afe12c5
* config/tc-h8300.c (parse_reg): Tweak error messages.
...
(build_bytes): Likewise.
(skip_colonthing): Handle :32 suffix.
(get_specific): Promote L_24 to L_32 if it makes a match.
Don't always promote L_8 to L_16.
(do_a_fix_imm): Clean up L_32 and L_24 handling.
H8/S related stuff that doesn't need to be sanitized.
start-sanitize-h8s
* config/tc-h8300.c (Smode): New variable.
(h8300hmode): Turn off Hmode.
(h8300smode): New function. Turn on Smode and Hmode.
(md_pseudo_table): New ".h8300s" pseudo-op.
(parse_reg): Handle "exr" register.
(get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
Handle "mach" and "machl" operands for ldmac.
(get_specific): Handle "stm.l" and "ldm.l".
(build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
* config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
(Smode): Declare.
end-sanitize-h8s
Sanitized H8/S stuff until we know its status.
1996-06-18 20:28:20 +00:00