Alan Modra [Sun, 9 Sep 2001 14:01:17 +0000 (14:01 +0000)]
* expr.c (expr): Move code setting "retval" to the end of the loop,
and rearrange for efficiency. For "PIC code" subtraction, use
"rightseg" rather than recalculating. For "symbol OP symbol"
subtract, set "retval" to absolute_section if symbols in same
section.
* symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
O_symbol. Simplify a +/- b code. Allow equality and non-equality
comparisons on symbols from any section. Allow other comparison
operators as for subtraction.
(symbol_equated_reloc_p): New predicate function.
* symbols.h (symbol_equated_reloc_p): Declare.
* write.c (adjust_reloc_syms): Use symbol_equated_reloc_p.
(write_relocs): Likewise.
(write_object_file): Likewise.
(relax_segment <rs_machine_dependent>): Ensure segment for
expression syms is set correctly.
* config/tc-mips.c (md_estimate_size_before_relax): Likewise.
* config/tc-i386.c (md_assemble <Output jumps>): Don't lose part
of a complex expression when setting up frag_var.
Richard Henderson [Sun, 9 Sep 2001 06:58:06 +0000 (06:58 +0000)]
* elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
relocation errors. Fail gp-relative relocations against
dynamic symbols.
gdbadmin [Sun, 9 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sat, 8 Sep 2001 23:34:53 +0000 (23:34 +0000)]
Fix truncated 2001-08-23 entry.
Mark Kettenis [Sat, 8 Sep 2001 10:53:45 +0000 (10:53 +0000)]
* gdbint.texinfo (Host Definition): Remove description of
MEM_FNS_DECLARED.
Mark Kettenis [Sat, 8 Sep 2001 10:50:07 +0000 (10:50 +0000)]
* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
Mark Kettenis [Sat, 8 Sep 2001 10:43:27 +0000 (10:43 +0000)]
* gdbint.texinfo (Host Definition): Remove description of R_OK.
Mark Kettenis [Sat, 8 Sep 2001 10:39:54 +0000 (10:39 +0000)]
* config/arm/xm-linux.h, config/ia64/xm-linux.h,
config/m68k/xm-linux.h, config/mips/xm-linux.h,
config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
redundant inclusion of <unistd.h>.
Mark Kettenis [Sat, 8 Sep 2001 10:28:20 +0000 (10:28 +0000)]
* gdbint.texinfo (Host Definition): Remove description of
HAVE_SIGSETMASK.
Mark Kettenis [Sat, 8 Sep 2001 10:16:57 +0000 (10:16 +0000)]
* gdbtypes.h (struct block): Add forward declaration.
Alan Modra [Sat, 8 Sep 2001 05:47:01 +0000 (05:47 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
as well as DEF_DYNAMIC in test for avoided copy relocs.
(allocate_plt_and_got_and_discard_relocs): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
(allocate_plt_and_got_and_discard_relocs): Likewise.
Eric Christopher [Sat, 8 Sep 2001 04:16:12 +0000 (04:16 +0000)]
mischeckin. fixed.
Eric Christopher [Sat, 8 Sep 2001 02:34:56 +0000 (02:34 +0000)]
2001-09-07 Eric Christopher <echristo@redhat.com>
* gas/mips/mips64.d: Change to use mipsisa64.
* gas/mips/mips32.d: Change to use mipsisa32.
Richard Henderson [Sat, 8 Sep 2001 01:12:00 +0000 (01:12 +0000)]
* config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
require_seq and allow_seq. Let !literal omit the sequence number.
(tokenize_arguments): Reject sequence numbers of !allow_seq.
gdbadmin [Sat, 8 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jakub Jelinek [Fri, 7 Sep 2001 22:41:03 +0000 (22:41 +0000)]
* config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
section symbols the same way as externs.
Andrew Cagney [Fri, 7 Sep 2001 21:33:08 +0000 (21:33 +0000)]
* defs.h (enum return_reason): Renumber so that all values are
negative.
(RETURN_MASK): Negate reason.
(catch_exception_ftype): Declare.
(catch_exceptions): Declare.
* top.c (catcher): New function, based on catch_errors. Add in
parameter func_uiout and out parameters func_val, func_caught and
func_cleanup. Change type of func to catch_exceptions_ftype.
Save/restore uiout.
(struct catch_errors_args): Define.
(do_catch_errors): New function.
(catch_errors): Rewrite, use do_catch_errors and catcher.
(catch_exceptions): New function, use catcher.
Jim Blandy [Fri, 7 Sep 2001 21:27:36 +0000 (21:27 +0000)]
Correctly parse register values provided by the monitor.
* rom68k-rom.c: #include "value.h".
(is_hex_digit, hex_digit_value, is_whitespace,
rom68k_supply_one_register): New static functions.
(rom68k_supply_register): Call rom68k_supply_one_register, instead
of monitor_supply_register; the latter was incorrectly parsing
the values.
* Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
Jeff Law [Fri, 7 Sep 2001 17:35:04 +0000 (17:35 +0000)]
* emulparams/h8300helf.sh: Move stack to a much higher memory address.
* emulparams/h8300self.sh: Similarly.
Mark Kettenis [Fri, 7 Sep 2001 15:22:11 +0000 (15:22 +0000)]
* config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
to using setpgid if available now.
Thiemo Seufer [Fri, 7 Sep 2001 06:09:45 +0000 (06:09 +0000)]
Fix wrong ChangeLog entries
Thiemo Seufer [Fri, 7 Sep 2001 05:54:12 +0000 (05:54 +0000)]
Reallow unrestricted use of .set mipsX pseudo-op in gas.
Update testcases accordingly.
Thiemo Seufer [Fri, 7 Sep 2001 05:00:37 +0000 (05:00 +0000)]
* elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handling
of R_MIPS_PC16.
* config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL.
(macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded
PIC, BFD_RELOC_16_PCREL for the rest.
(mips_ip): Likewise.
(md_pcrel_from): return the right offset for the differently shifted
pcrel relocs.
(md_apply_fix): Handle BFD_RELOC_16_PCREL.
* gas/mips/beq.d: Check branches to external labels.
* gas/mips/beq.s: Likewise.
* gas/mips/bge.d: Likewise.
* gas/mips/bge.s: Likewise.
* gas/mips/bgeu.d: Likewise.
* gas/mips/bgeu.s: Likewise.
* gas/mips/blt.d: Likewise.
* gas/mips/blt.s: Likewise.
* gas/mips/bltu.d: Likewise.
* gas/mips/bltu.s: Likewise.
* gas/mips/elempic.d: Switch from R_MIPS_GNU_REL16_S2 to R_MIPS_PC16.
* gas/mips/empic.d: Likewise.
* gas/mips/empic.s: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
gdbadmin [Fri, 7 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Thiemo Seufer [Thu, 6 Sep 2001 21:30:15 +0000 (21:30 +0000)]
* elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO
definitions.
(mips_elf64_howto_table_rel): Likewise.
Keith Seitz [Thu, 6 Sep 2001 20:59:18 +0000 (20:59 +0000)]
From Ian Roxborough <irox@redhat.com>
* configure.in: Use ITCL_LIB_FULL_PATH and
ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
for gdb.
* configure: Regenerated.
Kevin Buettner [Thu, 6 Sep 2001 20:50:48 +0000 (20:50 +0000)]
Don't use error result from find_stab_function_addr().
Thiemo Seufer [Thu, 6 Sep 2001 20:02:20 +0000 (20:02 +0000)]
* gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16
relocations, tradtional variant.
Tom Rix [Thu, 6 Sep 2001 15:20:01 +0000 (15:20 +0000)]
Fix import symbols for AIX.
Elena Zannoni [Thu, 6 Sep 2001 12:01:36 +0000 (12:01 +0000)]
2001-09-04 Elena Zannoni <ezannoni@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Add
explanation of TARGET_PRINT_INSN macro.
gdbadmin [Thu, 6 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Elena Zannoni [Wed, 5 Sep 2001 23:44:44 +0000 (23:44 +0000)]
2001-09-05 Elena Zannoni <ezannoni@redhat.com>
* gdbarch.sh: Move include of dis-asm.h so it is generated earlier
in gdbarch.h.
(TARGET_PRINT_INSN): Multiarch.
* gdbarch.h: Regenerate.
* gdbarch.c: Regenerate.
* arch-utils.c (legacy_print_insn): New function.
* arch-utils.h (legacy_print_insn): Export.
* cris-tdep.c (cris_delayed_get_disassembler): Use
TARGET_PRINT_INSN, instead of tm_print_insn.
* d10v-tdep.c (print_insn): Ditto.
* d30v-tdep.c (print_insn): Ditto.
* m32r-tdep.c (dump_insn): Ditto.
* v850-tdep.c (v850_scan_prologue): Ditto.
* mcore-tdep.c (mcore_dump_insn): Ditto.
* sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
Michael Snyder [Wed, 5 Sep 2001 23:26:21 +0000 (23:26 +0000)]
Fix typo.
Jim Blandy [Wed, 5 Sep 2001 23:07:32 +0000 (23:07 +0000)]
* gdbtypes.h (struct type): Doc fix.
Michael Snyder [Wed, 5 Sep 2001 23:07:08 +0000 (23:07 +0000)]
2001-08-31 Jason Molenda (jmolenda@apple.com)
* c-valprint.c (c_val_print): Second call to check_typedef ()
is no longer necessary.
Richard Henderson [Wed, 5 Sep 2001 20:20:37 +0000 (20:20 +0000)]
* config/tc-ia64.c (FUNC_IPLT_RELOC): New.
(pseudo_func): Add @iplt.
(pseudo_opcode): Add data16 and data16.ua.
(md_begin): Set iplt pseudo.
(ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
Nick Clifton [Wed, 5 Sep 2001 16:00:13 +0000 (16:00 +0000)]
Set correct value for default (PE) stack size.
Richard Henderson [Wed, 5 Sep 2001 03:00:14 +0000 (03:00 +0000)]
* elf64-alpha.c (SKIP_HOWTO): New.
(elf64_alpha_howto_table): Use it to remove dead ECOFF relocs.
Fix sizes of 16-bit mem format relocs.
(elf64_alpha_reloc_map): Update to match.
(elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate.
(elf64_alpha_relax_without_lituse): Likewise.
(elf64_alpha_check_relocs): Handle GPREL16.
(elf64_alpha_relocate_section): Likewise.
* reloc.c (BFD_RELOC_ALPHA_USER_*): Remove.
(BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New.
* bfd-in2.h, libbfd.h: Rebuild.
Richard Henderson [Wed, 5 Sep 2001 02:54:37 +0000 (02:54 +0000)]
* alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.
(R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
Elena Zannoni [Wed, 5 Sep 2001 02:54:15 +0000 (02:54 +0000)]
2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz <drow@mvista.com>
* dbxread.c (free_header_files): Make global.
(init_header_files): Likewise.
* stabsread.h (free_header_files): Add prototype.
(init_header_files): Likewise.
* mdebugread.c (mdebug_build_psymtabs): Initialize
properly before using the stabs debug reader.
Richard Henderson [Wed, 5 Sep 2001 02:52:17 +0000 (02:52 +0000)]
* alpha.h (struct alpha_operand): Pack elements into bitfields.
Richard Henderson [Wed, 5 Sep 2001 02:39:43 +0000 (02:39 +0000)]
* config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
(MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove.
(alpha_macros): Remove occurrences of same.
(O_lituse_addr, O_gprel): New.
(DUMMY_RELOC_LITUSE_*): New.
(s_alpha_ucons, s_alpha_arch): Prototype.
(alpha_reloc_op): Construct elements via DEF macro.
(ALPHA_RELOC_SEQUENCE_OK): Remove.
(struct alpha_reloc_tag): Rename from alpha_literal_tag; rename
members to not be literal specific.
(next_sequence_num): New.
(md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for
added/removed BFD relocations.
(alpha_force_relocation, alpha_fix_adjustable): Likewise.
(alpha_adjust_symtab_relocs): Handle GPDISP relocs as well.
(tokenize_arguments): Parse ! relocations properly.
(find_macro_match): Delete unused macro argument types.
(assemble_insn): Add reloc parameter; emit that instead of the
default as appropriate.
(get_alpha_reloc_tag): New. Split from ...
(emit_insn): ... here. Allocate a reloc tag for GPDISP.
(assemble_tokens): Don't search macros if user relocation present.
Copy reloc sequence number to insn struct.
(emit_ldgp): Remove user reloc handling.
(load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise.
(emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise.
(emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise.
* config/tc-alpha.h (tc_adjust_symtab): Always define.
(struct alpha_fix_tag): Name members less literal specific.
* gas/alpha/alpha.exp: New file.
* gas/alpha/elf-reloc-1.[sd]: New test.
* gas/alpha/elf-reloc-2.[sl]: New test.
* gas/alpha/elf-reloc-3.[sl]: New test.
* gas/alpha/elf-reloc-4.[sd]: New test.
* gas/alpha/fp.exp: Remove file.
* gas/alpha/fp.s: Output to .data not .rdata.
* gas/alpha/fp.d: Adjust to match.
Jeff Law [Wed, 5 Sep 2001 02:26:04 +0000 (02:26 +0000)]
* readelf.c: Include elf/h8 for H8 series definitions.
(guess_is_rela): H8 series if RELA.
(dump_relocations): Handle H8 series relocations.
* testsuite/binutils/all/readelf.exp: Expect readelf -wi to
fail for the H8 series.
Elena Zannoni [Wed, 5 Sep 2001 02:13:11 +0000 (02:13 +0000)]
2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz <drow@mvista.com>
* dbxread.c (dbx_symfile_read): Only reinitialize
the psymbol list if mainline or if both static
and global lists are empty.
* dwarf2read.c (dwarf2_build_psymtabs): Likewise.
* dwarfread.c (dwarf_build_psymtabs): Likewise.
* xcoffread.c (xcoff_initial_scan): Likewise.
* os9kread.c (os9k_symfile_read): Likewise.
Jeff Law [Wed, 5 Sep 2001 02:05:07 +0000 (02:05 +0000)]
Tue Sep 4 20:06:09 2001 Jeffrey A Law (law@cygnus.com)
* gas/all/gas.exp (
930509a): Expect failure on the H8/300 ELF port.
* gas/h8300/ffxx1-elf.d: Update due to recent changes to H8/300
ELF toolchain.
* gas/h8300/h8300-elf.exp: Likewise.
* gas/macros/macros.exp: Expect failure on all H8/300 ports.
* gas/vtable/vtable.exp: Do not run tests on H8/300 ELF ports.
Elena Zannoni [Wed, 5 Sep 2001 02:02:44 +0000 (02:02 +0000)]
2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz <drow@mvista.com>
* mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
a name specially.
Jeff Law [Wed, 5 Sep 2001 02:01:08 +0000 (02:01 +0000)]
* tc-h8300.c (tc_gen_reloc): Give an error if we try to take the
address of two symbols in different sections.
gdbadmin [Wed, 5 Sep 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Tue, 4 Sep 2001 21:33:56 +0000 (21:33 +0000)]
merge from gcc
Jeff Law [Tue, 4 Sep 2001 21:06:01 +0000 (21:06 +0000)]
* elf32-h8300.c (elf32_h8_relax_section): New function.
(elf32_h8_relax_delete_bytes): Likewise.
(elf32_h8_symbol_address_p): Likewise.
(elf32_h8_get_relocated_section_contents): Likewise.
(bfd_elf32_bfd_relax_section): Define.
(bfd_elf32_bfd_get_relocated_section_contents): Likewise.
Jeff Law [Tue, 4 Sep 2001 17:29:36 +0000 (17:29 +0000)]
* elf32-h8300.c (special): New function.
(h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in
all relocations.
(elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit
relocations. Fix problems with the true 24bit reloc R_H8_DIR24R8.
Fix minor problems with 8bit and 16bit PC relative relocations.
Alan Modra [Tue, 4 Sep 2001 01:58:07 +0000 (01:58 +0000)]
* i386-dis.c (grps): Don't print the implicit al/ax/eax register
for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
gdbadmin [Tue, 4 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jeff Holcomb [Mon, 3 Sep 2001 19:54:33 +0000 (19:54 +0000)]
2001-08-30 Jeff Holcomb <jeffh@redhat.com>
* gdb.base/remote.c: Use a small buffer for targets with 16-bit
ints.
Jeff Holcomb [Mon, 3 Sep 2001 19:47:48 +0000 (19:47 +0000)]
2001-09-03 Jeff Holcomb <jeffh@redhat.com>
* configure.in: Enable libstdc++-v3 for h8300 targets.
Andreas Jaeger [Mon, 3 Sep 2001 07:29:50 +0000 (07:29 +0000)]
* emultempl/beos.em: Declare prototypes for comparions functions,
adjust definitions.
Andreas Jaeger [Mon, 3 Sep 2001 06:43:37 +0000 (06:43 +0000)]
* emultempl/aix.em: Add missing prototype.
* emultempl/lnk960.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf_oabi.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/gld960.em: Likewise.
* emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
for prototype declaration.
gdbadmin [Mon, 3 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sun, 2 Sep 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sat, 1 Sep 2001 21:38:05 +0000 (21:38 +0000)]
Make GDB use libiberty regex implementation.
* gdb_regex.h: Normalize protection against multiple inclusion.
Include "xregex.h" instead of "gnu-regex.h".
* cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
* cli/cli-decode.c: Likewise.
* Makefile.in (REGEX): Remove.
(GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
(ADD_FILES, ADD_DEPS): Remove $(REGEX).
(POSSLIBS): Remove.
(TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
(irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
gdb_regex.h in list of dependencies.
(gnu-regex.o): Remove rule.
* gnu-regex.c, gnu-regex.h: Remove files.
Andreas Jaeger [Sat, 1 Sep 2001 10:29:27 +0000 (10:29 +0000)]
* vms-tir.c: Add missing prototypes.
* vms-hdr.c: Likewise.
* vms-gsd.c: Likewise.
* vms-misc.c: Likewise.
gdbadmin [Sat, 1 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jeff Law [Fri, 31 Aug 2001 22:43:55 +0000 (22:43 +0000)]
* config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's
offset match H8 ELF spec.
(md_section_align): Alternate implementation for BFD_ASSEMBLER.
(md_apply_fix): Fix argument and return types for BFD_ASSEMBLER.
H.J. Lu [Fri, 31 Aug 2001 21:41:10 +0000 (21:41 +0000)]
2001-08-31 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename
with bad relocation.
Eric Christopher [Fri, 31 Aug 2001 21:28:05 +0000 (21:28 +0000)]
2001-08-31 Eric Christopher <echristo@redhat.com>
Jason Eckhardt <jle@redhat.com>
* ldmain.c (get_emulation): Add support for -mips32 and -mips64.
Eric Christopher [Fri, 31 Aug 2001 21:24:28 +0000 (21:24 +0000)]
2001-08-31 Eric Christopher <echristo@redhat.com>
Jason Eckhardt <jle@redhat.com>
* bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
mips32_4k and mips64.
* bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64. Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
* bfd/cpu-mips.c: Ditto.
* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
* bfd/bfd-in2.h: Regenerate.
Eric Christopher [Fri, 31 Aug 2001 21:21:54 +0000 (21:21 +0000)]
mips3264 support
Eric Christopher [Fri, 31 Aug 2001 21:15:00 +0000 (21:15 +0000)]
2001-08-31 Eric Christopher <echristo@redhat.com>
Jason Eckhardt <jle@redhat.com>
* mips-dis.c: Add support for bfd_mach_mipsisa32 and
bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64.
Eric Christopher [Fri, 31 Aug 2001 21:06:40 +0000 (21:06 +0000)]
2001-08-31 Eric Christopher <echristo@redhat.com>
Jason Eckhardt <jle@redhat.com>
* config/tc-mips.c (mips_cpu_info): Add support for mipsisa32,
5kc, and 20kc. Clean up old entries.
Andreas Jaeger [Fri, 31 Aug 2001 20:05:24 +0000 (20:05 +0000)]
* tic54x-opc.c: Add default initializers to avoid warnings.
* arc-opc.c: Include "sysdep.h" to get stdio.h as include file.
* arc-ext.c: Likewise.
Kevin Buettner [Fri, 31 Aug 2001 19:58:41 +0000 (19:58 +0000)]
Don't let a branch unit nop terminate the prologue scan.
Jakub Jelinek [Fri, 31 Aug 2001 19:20:12 +0000 (19:20 +0000)]
* elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory
value into R_ALPHA_RELATIVE's addend.
(elf64_alpha_finish_dynamic_symbol): Likewise.
Jeff Law [Fri, 31 Aug 2001 17:43:52 +0000 (17:43 +0000)]
* tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h.
(build_bytes): Mark fixups for PCrel branches as signed. For
OBJ_ELF, make sure the reloc's offset points to the first byte
to be modified.
(md_convert_frag): Update definiton based on BFD_ASSEMBLER.
* tc-h8300.h (relocation mappings): Add.
Nick Clifton [Fri, 31 Aug 2001 16:24:39 +0000 (16:24 +0000)]
amend entry to mention only if not USE_REL
Nick Clifton [Fri, 31 Aug 2001 16:23:25 +0000 (16:23 +0000)]
Do not rightshift recomputed addend during relocatable link if not USE_REL.
Nick Clifton [Fri, 31 Aug 2001 16:16:14 +0000 (16:16 +0000)]
Fix off-by-one error whilst sweeping vtable relocs
Andreas Jaeger [Fri, 31 Aug 2001 13:30:13 +0000 (13:30 +0000)]
* emultempl/pe.em: Add missing prototypes.
(gld_${EMULATION_NAME}_after_open): Remove extra args to
pe_find_data_imports.
(pr_sym): Add unused attribute.
Eric Christopher [Fri, 31 Aug 2001 06:37:20 +0000 (06:37 +0000)]
2001-08-30 Eric Christopher <echristo@redhat.com>
Jason Eckhardt <jle@redhat.com>
* config.sub: Add support for mipsisa32.
Eric Christopher [Fri, 31 Aug 2001 05:45:40 +0000 (05:45 +0000)]
2001-08-30 Eric Christopher <echristo@redhat.com>
* config.sub, config.guess: Import latest from subversions.
Jim Blandy [Fri, 31 Aug 2001 01:24:24 +0000 (01:24 +0000)]
* gdb.texinfo (`add-symbol-file'): Correct synopsis.
Explain what it means to load relocatable files.
Jim Blandy [Fri, 31 Aug 2001 00:40:45 +0000 (00:40 +0000)]
* symfile.c (sections_overlap): New function.
(map_overlay_command): Call sections_overlap, instead of using
incorrect logic to recognize overlapping sections.
Jim Blandy [Fri, 31 Aug 2001 00:36:23 +0000 (00:36 +0000)]
* symfile.c (load_command): Invalidate the overlay cache.
gdbadmin [Fri, 31 Aug 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Thu, 30 Aug 2001 23:57:06 +0000 (23:57 +0000)]
*** empty log message ***
Mark Kettenis [Thu, 30 Aug 2001 21:53:47 +0000 (21:53 +0000)]
* config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
H.J. Lu [Thu, 30 Aug 2001 21:26:26 +0000 (21:26 +0000)]
2001-08-30 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (mips_elf_calculate_relocation): Revert the last
2 changes.
(_bfd_mips_elf_adjust_dynamic_symbol): Allocate dynamic
relocations for weak definitions.
Joern Rennecke [Thu, 30 Aug 2001 21:08:43 +0000 (21:08 +0000)]
* gas/h8300/h8300.exp (do_h8300_cbranch): Remove invocation.
(do_h8300_branch, do_h8300h_cbranch, do_h8300h_branch): Likewise.
(do_h8300s_cbranch, do_h8300s_branch, ffxx1): Likwise.
* gas/h8300/h8300-coff.exp, gas/h8300/h8300-elf.exp: New files.
* gas/h8300/branch-elf.s, gas/h8300/branchh-elf.s: Likewise.
* gas/h8300/branchs-elf.s, gas/h8300/ffxx1-elf.d: Likewise.
* gas/h8300/ffxx1-elf.s: Likewise.
* gas/h8300/branch.s, gas/h8300/branchh.s: Move to:
* gas/h8300/branch-coff.s, gas/h8300/branchh-coff.s
* gas/h8300/branchs.s, gas/h8300/ffxx1.d: Move to:
* gas/h8300/branchs-coff.s, gas/h8300/ffxx1-coff.d .
* gas/h8300/ffxx1.s: Move to:
* gas/h8300/ffxx1-coff.s .
Jeff Law [Thu, 30 Aug 2001 20:38:35 +0000 (20:38 +0000)]
Nuts. Checked in wrong version of previous patch. Fixed.
Jeff Law [Thu, 30 Aug 2001 20:15:06 +0000 (20:15 +0000)]
Thu Aug 30 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
* tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't
define for BFD_ASSEMBLER.
(tc_reloc_mangle): Likewise.
(tc_gen_reloc): New function for BFD_ASSEMBLER.
More of Joern's patches with minor changes s/OBJ_ELF/BFD_ASSEMBLER/
Keith Seitz [Thu, 30 Aug 2001 16:34:04 +0000 (16:34 +0000)]
* lib/gdb.exp: Move all insight-related functionality into
separate file.
* lib/insight-support.exp: New file.
H.J. Lu [Thu, 30 Aug 2001 16:02:40 +0000 (16:02 +0000)]
2001-08-30 H.J. Lu <hjl@gnu.org>
* Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo.
(BFD32_BACKENDS_CFILES): Add elf32-h8300.c.
* Makefile.in: Rebuild.
H.J. Lu [Thu, 30 Aug 2001 15:24:18 +0000 (15:24 +0000)]
2001-08-30 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (mips_elf_calculate_relocation): Don't create
dynamic relocation for undefined weak symbols when creating
executables. Check h->root.root.type, instead of h->root.type.
Tom Rix [Thu, 30 Aug 2001 12:48:35 +0000 (12:48 +0000)]
Fix for xty_ld symbols
Nick Clifton [Thu, 30 Aug 2001 12:19:49 +0000 (12:19 +0000)]
omitted in previous delta
Jeff Law [Thu, 30 Aug 2001 02:15:58 +0000 (02:15 +0000)]
* elf32-h8300.c (h8_elf_howto_table): Add new PC relative
relocations.
(h8_reloc_map): Similarly.
(elf32_h8_final_link_relocate): Remove incorrect overflow tests.
Add support for PC relative relocations.
Andrew Cagney [Thu, 30 Aug 2001 01:45:30 +0000 (01:45 +0000)]
Cleanups. Now passes!
Jeff Law [Thu, 30 Aug 2001 00:08:12 +0000 (00:08 +0000)]
* elf32-h8300.c: Put all prototypes together.
(elf32_h8_info_to_howto): Parameter elf_reloc is used.
(elf32_h8_final_link_relocate): New function for linker.
(elf32_h8_relocate_section): Similarly.
(elf_backend_relocate_section): Define.
gdbadmin [Thu, 30 Aug 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Frank Ch. Eigler [Wed, 29 Aug 2001 20:36:06 +0000 (20:36 +0000)]
* gdb/sid connect fix, etc.
2001-08-29 Frank Ch. Eigler <fche@redhat.com>
* config/sid.exp (sid_start): Never set sid verbosity; disable
expect_background {} that consumed its stdout; tolerate </dev/null.
Attempt to set endianness override in "sid" protocol mode. Cleanup.
DJ Delorie [Wed, 29 Aug 2001 20:03:08 +0000 (20:03 +0000)]
merge from gcc