aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-12Fix behaviour of unaligned data directivesNick Clifton2-2/+9
2001-08-12Make --verbose always display linker scriptNick Clifton7-18/+63
2001-08-12* config/mn10300/mn10300.mt (TM_FILE): Delete.Andrew Cagney5-73/+35
* configure.tgt: Add mn10300 to list of mulit-arch targets. * config/mn10300/tm-mn10300.h: Delete file. Move contents ... * mn10300-tdep.c: To here.
2001-08-12Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.Andrew Cagney3-8/+16
2001-08-12* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.Andrew Cagney3-2/+8
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and sp_regnum.
2001-08-12* doublest.c (convert_doublest_to_floatformat): RenameAndrew Cagney3-67/+102
floatformat_from_doublest. Make static. (convert_floatformat_to_doublest): Rename floatformat_to_doublest. Make static. (floatformat_to_doublest): New function. (floatformat_from_doublest): New function. (host_float_format, host_double_format, host_long_double_format): New static variables. (store_floating, extract_floating): Always use floatformat_to_doublest and floatformat_from_doublest. * doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
2001-08-12* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.Andrew Cagney3-2/+6
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
2001-08-12*** empty log message ***gdbadmin1-1/+1
2001-08-11replace direct invocation og elf vma print functions with indirect invocationNick Clifton5-6/+38
2001-08-11 * config/tc-mips.c: Fix a comment typo.Kazu Hirata2-1/+5
2001-08-112001-08-10 Andreas Jaeger <aj@suse.de>Andreas Jaeger6-31/+73
* elf64-sparc.c: Add missing prototypes. * elf32-cris.c: Likewise. * elf32-i370.c: Likewise. * elf64-hppa.c: Likewise. * elf64-s390.c: Likewise.
2001-08-11* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.Andrew Cagney12-19/+113
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.h (legacy_virtual_frame_pointer): Declare. * arch-utils.c: Include "gdb_assert.h". (legacy_virtual_frame_pointer): Define. * Makefile.in (arch-utils.o): Depends on gdb_assert.h. * tracepoint.c (encode_actions): Make frame_reg an int. Make frame_offset a LONGEST. * ax-gdb.c (gen_frame_args_address): Ditto. (gen_frame_locals_address): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize virtual_frame_pointer. (mn10300_virtual_frame_pointer): Make static. Update parameter list to match function signature. * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
2001-08-11 * gdb-events.sh: Add architecture_changed event.Keith Seitz6-2/+45
* gdbarch.sh: Include gdb-event.h. (gdbarch_update_p): Notify UIs when architecture changes. * gdb-events.h: Regenerated. * gdb-events.c: Regenerated. * gdbarch.c: Regenerated.
2001-08-11*** empty log message ***gdbadmin1-1/+1
2001-08-10(lbasename): Change function declaration to return a const char pointer.Andrew Cagney4-4/+14
2001-08-102001-08-10 Michael Snyder <msnyder@redhat.com>Michael Snyder2-8/+16
* regcache.c (legacy_write_register_gen): Don't 'optimize out' a write_register to a pseudo-reg. Target_store_pseudo_register needs to get called, because these regs may be computed and may have side-effects.
2001-08-102001-08-10 H.J. Lu <hjl@gnu.org>H.J. Lu22-34/+62
* gas/mips/e32-rel2.d: Updated for the objdump output change. * gas/mips/e32el-rel2.d: Likewise. * gas/mips/elf-rel.d: Likewise. * gas/mips/elf-rel2.d: Likewise. * gas/mips/elf-rel3.d: Likewise. * gas/mips/elf_e_flags1.d: Likewise. * gas/mips/elf_e_flags2.d: Likewise. * gas/mips/elf_e_flags3.d: Likewise. * gas/mips/elf_e_flags4.d: Likewise. * gas/mips/elfel-rel.d: Likewise. * gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise. * gas/mips/empic.d: Likewise. * gas/mips/mips16-e.d: Likewise. * gas/mips/mips16-f.d: Likewise. * gas/mips/mipsel16-f.d: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/tmips16-e.d: Likewise. * gas/mips/tmipsel16-e.d: Likewise. * gas/mips/mips16-f.d: Fix the symbol table output. * gas/mips/mipsel16-f.d: Fix the endian. * gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f.
2001-08-10 * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.Andreas Jaeger2-1/+17
Add prototypes where needed.
2001-08-102001-08-10 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+9
* bfd.c (bfd_sprintf_vma): Fix a typo in the last change. (bfd_fprintf_vma): Likewise.
2001-08-102001-08-10 H.J. Lu <hjl@gnu.org>H.J. Lu3-19/+41
* nm.c (print_value): Add one arg, bfd *. (print_value): Replace fprintf_vma with bfd_fprintf_vma. (print_symbol_info_bsd): Also pass `abfd' to print_value (). (print_symbol_info_sysv): Likewise. (print_symbol_info_posix): Likewise. * objdump.c (dump_section_header): Replace printf_vma with bfd_printf_vma. (print_section_stabs): Likewise. (dump_bfd_header): Likewise. (objdump_print_value): Replace sprintf_vma with bfd_sprintf_vma. (disassemble_bytes): Likewise. (dump_reloc_set): Likewise.
2001-08-102001-08-10 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+7
* bfd.c (bfd_sprintf_vma): Don't return void. (bfd_fprintf_vma): Likewise.
2001-08-10 * gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves.Richard Sandiford7-12/+21
* gas/mips/mips-gp32-fp64.d: Likewise. * gas/mips/mips-abi32.d: Likewise. * gas/mips/mips-gp32-fp32-pic.d: Likewise. * gas/mips/mips-gp32-fp64-pic.d: Likewise. * gas/mips/mips-abi32-pic.d: Likewise.
2001-08-10 * config/tc-mips.c (move_register): New function.Richard Sandiford2-13/+36
(macro_build): Remove OPCODE_IS_MEMBER's gp32 argument. (mips_ip): Likewise. (macro2): Use move_register rather than macro_build for moves. (mips16_macro): Likewise. (macro): Likewise. Handle M_MOVE.
2001-08-10 * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32Richard Sandiford3-4/+10
argument. * mips-opc.c (G6): Undefine. (mips_builtin_opcodes): Remove gp32 entry for "move". Add macro as the first "move" alternative.
2001-08-10 * opcode/mips.h (INSN_GP32): Remove.Richard Sandiford2-11/+11
(OPCODE_IS_MEMBER): Remove gp32 parameter. (M_MOVE): New macro identifier.
2001-08-10 * gdb-events.sh: Deal with event notifications with noKeith Seitz2-15/+31
arguments.
2001-08-10 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypesAndreas Jaeger15-817/+815
to build warnings. * configure: Regenerate.
2001-08-102001-08-10 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-1/+5
* remote.c (read_frame): Correct off-by-one error in condition.
2001-08-10 * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quietAlan Modra2-8/+16
warning if not BFD64. Add braces so emacs auto format works. (bfd_elf_fprintf_vma): Likewise.
2001-08-10 * libxcoff.h (struct xcoff_backend_data_rec): Constify src paramAlan Modra5-52/+146
of _xcoff_swap_ld*. * coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external param to agree with libxcoff.h. (xcoff_swap_ldhdr_out): Likewise. (xcoff_swap_ldsym_in): Likewise. (xcoff_swap_ldsym_out): Likewise. (xcoff_swap_ldrel_in): Likewise. (xcoff_swap_ldrel_out): Likewise. (xcoff_create_csect_from_smclas): Likewise. * coff64-rs6000.c: Add missing prototypes. (xcoff64_swap_ldhdr_in): Modify type of external param to agree with libxcoff.h. (xcoff64_swap_ldhdr_out): Likewise. (xcoff64_swap_ldsym_in): Likewise. (xcoff64_swap_ldsym_out): Likewise. (xcoff64_swap_ldrel_in): Likewise. (xcoff64_swap_ldrel_out): Likewise. (xcoff64_ppc_relocate_section): Make static. (xcoff64_slurp_armap): Likewise. (xcoff64_archive_p): Likewise. (xcoff64_openr_next_archived_file): Likewise. (xcoff64_sizeof_headers): Likewise. (xcoff64_is_lineno_count_overflow): Likewise. (xcoff64_is_reloc_count_overflow): Likewise. (xcoff64_loader_symbol_offset): Likewise. (xcoff64_loader_reloc_offset): Likewise. * elf64-gen.c: Add missing prototypes.
2001-08-10 * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.Alan Modra3-25/+14
Comment indentation of #pragma. * macro.c (alloca): Likewise.
2001-08-10Move one entry from gas/ChangeLog to gas/testsuite/ChangeLog.Alan Modra2-15/+13
Remove gas/ from file names. Fix FOPEN_W comment.
2001-08-10Revert 2001-08-08 changes.Alan Modra6-108/+116
2001-08-10*** empty log message ***gdbadmin1-1/+1
2001-08-092001-08-09 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+13
* elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64. (bfd_elf_fprintf_vma): Likewise.
2001-08-092001-08-09 H.J. Lu <hjl@gnu.org>H.J. Lu4-4/+10
* bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved to ... * elf-bfd.h: Here. * bfd-in2.h: Regenerated.
2001-08-092001-08-09 H.J. Lu <hjl@gnu.org>H.J. Lu5-0/+100
* bfd-in.h (bfd_sprintf_vma): New prototype. (bfd_fprintf_vma): Likewise. (bfd_elf_sprintf_vma): Likewise. (bfd_elf_fprintf_vma): Likewise. (bfd_printf_vma): New. Defined with bfd_fprintf_vma. * bfd-in2.h: Regenerated. * bfd.c (bfd_sprintf_vma): New. Defined. (bfd_fprintf_vma): Likewise. * elf.c (bfd_elf_sprintf_vma): New. Defined. (bfd_elf_fprintf_vma): Likewise.
2001-08-09 * alpha.c: Add missing prototypes.Alan Modra6-1/+27
* sparc.c: Likewise. * tahoe.c: Likewise. * vax.c: Likewise. * i386.c: Likewise. (i386_iscall): Don't use DEFUN.
2001-08-09 * dis-buf.c (generic_strcat_address): Add missing prototype.Alan Modra2-0/+9
#if 0 the functions as it is unused.
2001-08-09 * readelf.c: Add missing prototypes.Alan Modra3-107/+62
* objdump.c: Likewise. Format existing prototypes.
2001-08-09 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.Alan Modra2-0/+4
2001-08-09 * symbols.c: Add missing prototypes.Alan Modra7-17/+55
* config/e-i386elf.c: Likewise. * config/e-i386coff.c: Likewise. * config/e-i386aout.c: Likewise. * config/obj-coff.c: Likewise. (def_symbol_in_progress, stack): Move definition. * config/obj-elf.c: Add missing prototypes. (obj_elf_change_section): Make static. (obj_elf_parse_section_letters): Likewise. (obj_elf_section_word): Likewise. (obj_elf_section_type): Likewise.
2001-08-09 * coff-rs6000.c: Add missing prototypes.Alan Modra11-100/+268
(xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow, xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset, xcoff_loader_reloc_offset): Make static. * dwarf1.c: Add missing prototypes. * dwarf2.c: Add missing prototypes. (struct abbrev_info): Move definition. (struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise. * elf.c: Add missing prototypes. * elf32-gen.c: Likewise. * elf32-i386.c: Likewise. * elf32-ppc.c: Likewise. (ppc_elf_sort_rela): Use PTR instead of "void *". * elflink.h: Add missing prototypes. Formatting fixes. * merge.c: Add missing prototypes. (last4_eq): Use PTR instead of "void *". (last_eq): Likewise. * syms.c: Add missing prototypes.
2001-08-09 * scripttempl/elf.sc: Move non-text .dynamic section beforeAlan Modra18-19/+45
.plt/.got/.sdata* group. (OTHER_GOT_SECTIONS): Move to immediately after .got. (OTHER_SDATA_SECTIONS): Add. * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than OTHER_GOT_SECTIONS. * emulparams/crislinux.sh: Likewise. * emulparams/elf32b4300.sh: Likewise. * emulparams/elf32bmip.sh: Likewise. * emulparams/elf32bmipn32.sh: Likewise. * emulparams/elf32bsmip.sh: Likewise. * emulparams/elf32btsmip.sh: Likewise. * emulparams/elf32ebmip.sh: Likewise. * emulparams/elf32elmip.sh: Likewise. * emulparams/elf32l4300.sh: Likewise. * emulparams/elf32lmip.sh: Likewise. * emulparams/elf32lsmip.sh: Likewise. * emulparams/elf32ltsmip.sh: Likewise. * emulparams/elf64bmip.sh: Likewise. * emulparams/elf64btsmip.sh: Likewise. * emulparams/elf64ltsmip.sh: Likewise.
2001-08-09Fix formattingNick Clifton3-83/+100
2001-08-09Change 'partial_inplace' to true (this target uses REL relocations) andNick Clifton2-2/+8
'pcrel_offset' to false (the PC is implied, not stored in the offset).
2001-08-09merge from gccDJ Delorie2-4/+25
2001-08-09*** empty log message ***gdbadmin1-1/+1
2001-08-082001-08-08 Don Howard <dhoward@redhat.com>Don Howard2-2/+7
* stabsread.c (read_type): Add support for const and volatile modifiers.
2001-08-08 * config/tc-ppc.c (md_apply_fix3): Replace haphazard code forAlan Modra2-32/+34
determining reloc type with code reading operands->reloc field.