aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-02-01 * chew.c (WORD): Eliminate.Alan Modra2-29/+58
2002-02-01 * configure.in (build_warnings): Add -Wstrict-prototypesAlan Modra7-421/+401
-Wmissing-prototypes. * aclocal.m4: Regenerate. * gconfig.in: Regenerate. * configure: Regenerate. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate.
2002-02-01 * ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d,Hans-Peter Nilsson43-0/+766
ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d, ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d, ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s, ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s, ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d, ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d, ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d, ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d, ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d, ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s, ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d, ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests.
2002-02-01 * alpha.c (alpha_find_call): Warning fixes.Alan Modra25-223/+446
* mips.c (mips_find_call): Likewise. * sparc.c (sparc_find_call): Likewise. * basic_blocks.c: Warning fixes. Eliminate DEFUN. * call_graph.c: Likewise. * cg_arcs.c: Likewise. * cg_dfn.cp: Likewise. * gprof.c: Likewise. * gprof.h: Likewise. * hist.c: Likewise. * search_list.c: Likewise. * source.c: Likewise. * source.h: Likewise. * sym_ids.c: Likewise. * symtab.c: Likewise. * symtab.h: Likewise. * utils.c: Likewise. * cg_print.c: Likewise. (struct function_map, symbol_map, symbol_map_count): Move declaration to.. * corefile: ..here. * corefile.c: Warning fixes. Eliminate DEFUN. (struct function_map): Remove declaration. * gmon_io.c: Warning fixes. Eliminate DEFUN. (gmon_io_read_64): Make static. (gmon_io_write_64): Likewise. (gmon_read_raw_arc): Likewise. (gmon_write_raw_arc): Likewise. (gmon_io_write_8): Don't pass char, pass int param. * gmon_io.h (gmon_io_write_8): Likewise. and a few copyright dates that should have been done previously.
2002-02-01 Support on-demand global register allocation fromHans-Peter Nilsson5-15/+93
R_MMIX_BASE_PLUS_OFFSET relocs. * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from mmix_set_reg_section_vma. Call _bfd_mmix_finalize_linker_allocated_gregs. (mmix_before_allocation): New function. (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation. (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation. * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP. (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents. * emultempl/mmo.em (gldmmo_before_allocation): Define to default. (mmo_after_open): New function. (LDEMUL_AFTER_OPEN): Define to mmo_after_open. * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
2002-02-01 Perform on-demand global register allocation fromHans-Peter Nilsson3-43/+866
R_MMIX_BASE_PLUS_OFFSET relocs. * elf64-mmix.c (struct bpo_reloc_section_info, struct bpo_reloc_request, struct bpo_greg_section_info): New. (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, bpo_reloc_request_sort_fn, mmix_elf_relax_section, _bfd_mmix_check_all_relocs, _bfd_mmix_prepare_linker_allocated_gregs, _bfd_mmix_finalize_linker_allocated_gregs): New functions. (elf_mmix_howto_table): Correct src_mask for most relocs. (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New case. (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New case. Fix typo in comment. New label do_mmix_reloc. (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to store first object file with a base-plus-offset reloc. Call mmix_elf_check_common_relocs for the part common with mmo. (mmix_elf_final_link): Write out linker-allocated register contents section. (elf_backend_gc_sweep_hook): Define. (bfd_elf64_bfd_relax_section): Define. * mmo.c: Don't include <ctype.h> (mmo_init): Correct init-once logic.
2002-02-01 * gas/mmix/basep-1b.d, gas/mmix/basep-2b.d, gas/mmix/basep-7.d,Hans-Peter Nilsson12-0/+195
gas/mmix/err-bpo2.s, gas/mmix/basep-3b.d, gas/mmix/err-bpo3.s, gas/mmix/basep-4.d, gas/mmix/err-bpo4.s, gas/mmix/err-bpo5.s, gas/mmix/basep-5.d, gas/mmix/basep-6.d: New tests.
2002-02-01 Support on-demand global register allocation by passing onHans-Peter Nilsson5-42/+100
base-plus-offset relocs to the linker. * config/tc-mmix.c: Tweak and fix typos in comments. (allocate_undefined_gregs_in_linker): New variable. (OPTION_LINKER_ALLOCATED_GREGS): New option macro. (md_longopts): Add --linker-allocated-gregs. (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. <case OPTION_LINKER_ALLOCATED_GREGS>: New. (md_show_usage): Update text for -x. Add text for --linker-allocated-gregs. (tc_gen_reloc): Derive default value for addend from val and baddsy. Use addsec and bfd_is_abs_section in more places. Don't emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable GREG if allocate_undefined_gregs_in_linker. * doc/as.texinfo (Overview) <Target MMIX options>: Add --linker-allocated-gregs. * doc/c-mmix.texi (MMIX-Opts): Add blurb about --linker-allocated-gregs. Mention that it's implied by -x. (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. (MMIX-mmixal): Clarify dated comparison and location of MMIXware. * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
2002-02-01 * mmix.h: Tweak comments.Hans-Peter Nilsson2-2/+27
(MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME): New. [BFD_ARCH_SIZE] (_bfd_mmix_prepare_linker_allocated_gregs, _bfd_mmix_finalize_linker_allocated_gregs, _bfd_mmix_check_all_relocs): Provide prototypes.
2002-02-01Support small archive for pre AIX 4.3Tom Rix4-4/+17
2002-02-01Run "make dep-am"Alan Modra15-199/+298
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder3-29/+43
* breakpoint.c (break_at_finish_command): Export. (break_at_finish_at_depth_command): Export. (tbreak_at_finish_command): Export. (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and "tbreak" commands, which are HPPA specific.
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder2-15/+4
* printcmd.c (disassemble_command): Remove an ancient artifact of an old merge.
2002-02-01merge from gccDJ Delorie2-8/+13
2002-02-01 * basic_blocks.c: Replace bool with boolean, TRUE with true andAlan Modra19-109/+123
FALSE with false throughout. * basic_blocks.h: Likewise. * cg_arcs.c: Likewise. * cg_dfn.c: Likewise. * cg_print.c: Likewise. * corefile.c: Likewise. * gmon_io.c: Likewise. * gprof.c: Likewise. * hist.c: Likewise. * mips.c: Likewise. * source.c: Likewise. * source.h: Likewise. * sym_ids.c: Likewise. * sym_ids.h: Likewise. * symtab.h: Likewise. * tahoe.c: Likewise. * vax.c: Likewise. * gprof.h: Likewise. (TRUE): Don't define. (FALSE): Don't define.
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder3-8/+18
* symfile.h (enum overlay_debugging_state): Define enum constant values for overlay mode. * symfile.c (overlay_debugging): Use enums instead of literals. (overlay_is_mapped, overlay_auto_command, overlay_manual_command): Ditto.
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder2-49/+56
* breakpoint.c (insert_breakpoints, remove_breakpoint, breakpoint_here_p, breakpoint_inserted_here_p, breakpoint_thread_match, bpstat_stop_status, describe_other_breakpoints, check_duplicates, clear_command): Coding standard fixes.
2002-02-01Move doc/ entries to correct changelogAlan Modra2-18/+25
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+4
* target.c (target_xfer_memory): Add spaces, coding standard.
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+10
* target.c (do_xfer_memory): Add missing line to trust-readonly code: check bfd SEC_READONLY flag for section.
2002-02-01*** empty log message ***gdbadmin1-1/+1
2002-01-31daily updateAlan Modra1-1/+1
2002-01-31Fix tipo.Andrew Cagney2-3/+7
2002-01-31Deal with target architecture that have a pointer size that is different fromJason Thorpe1-3/+0
the host architectures pointer size. (Nick missed this file when he committed the patch.)
2002-01-31merge from gccDJ Delorie4-2/+11
2002-01-312002-01-31 David O'Brien <obrien@FreeBSD>David O'Brien3-303/+295
* configure.in: Recognize the differences in core files from FreeBSD 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as 5-CURRENT. * configure: Regenerate. Approved by: Nick Clifton <nickc@cambridge.redhat.com> <m3k7tyuzzd.fsf@north-pole.nickc.cambridge.redhat.com>
2002-01-31Deal with target architecture that have a pointer size that is different fromNick Clifton9-368/+488
the host architectures pointer size.
2002-01-31 * cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):Hans-Peter Nilsson2-1/+59
New functions.
2002-01-31Add support for OpenRISC 32-bit embedded processorNick Clifton67-6466/+14615
2002-01-31 * alpha.c (alpha_Instruction): Don't use.Alan Modra34-175/+204
(alpha_find_call): Avoid use of bitfields and casts between pointers and integers of different sizes. Avoid endian problems when cross-compiling. * vax.c (vax_find_call): Likewise. (struct modebyte): Don't use. (vax_operandmode): Pass in an unsigned char *. (vax_operandlength): Likewise. (vax_reladdr): Rename to vax_offset and return relative offset rather than address. * i386.c (i386_find_call): Avoid casts between pointers and integers of different sizes. * sparc.c (sparc_find_call): Likewise. Avoid endian problems. * tahoe.c (tahoe_find_call): Likewise. (tahoe_reladdr): Rename to tahoe_offset and return relative offset rather than address. * basic_blocks.h: Don't include headers here. * call_graph.h: Likewise. * cg_arcs.h: Likewise. * cg_print.h: Likewise. * corefile.h: Likewise. * gmon_io.h: Likewise. * gmon_out.h: Likewise. * hertz.h: Likewise. * hist.h: Likewise. * source.h: Likewise. * sym_ids.h: Likewise. * symtab.h: Likewise. * gprof.h: Don't include ansidecl.h, do include bfd.h. (bool): Don't typedef. * alpha.c: Adjust #include's for above header changes. * basic_blocks.c: Likewise. * call_graph.c: Likewise. * cg_arcs.c: Likewise. * cg_dfn.c: Likewise. * cg_print.c: Likewise. * corefile.c: Likewise. * gmon_io.c: Likewise. * gprof.c: Likewise. * hertz.c: Likewise. * hist.c: Likewise. * i386.c: Likewise. * mips.c: Likewise. * sparc.c: Likewise. * sym_ids.c: Likewise. * symtab.c: Likewise. * tahoe.c: Likewise. * utils.c: Likewise. * vax.c: Likewise. * po/POTFILES.in: Regenerate.
2002-01-31Replace 'return false' with a return of a bfd_reloc_ error code.Nick Clifton2-4/+10
2002-01-31 * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don'tHans-Peter Nilsson2-2/+14
unexport unreferenced symbols when --export-dynamic. Call _bfd_elf_strtab_delref when unexporting.
2002-01-31 * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,Hans-Peter Nilsson8-2/+108
ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests. * ld-cris/cris.exp: Split run_dump_tests in two parts, executing tests named *dso-*.d first and copying their tmpdir/dump to files named as the .d-file.
2002-01-31oops - omitted from previous deltaNick Clifton2-22/+22
2002-01-31 * chew.c (courierize): Don't modify @command params.Alan Modra2-22/+36
2002-01-312002-01-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-4/+10
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling. Allow a start function above main. * gdb.threads/linux-dp.exp: Fix copyright date.
2002-01-312002-01-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-10/+16
* gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'. (check_philosopher_stack): Check for manager thread before checking for a just-starting thread.
2002-01-312002-01-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+34
* symtab.c (find_pc_sect_psymtab): Do not search psymtabs for data symbols, since we search based on textlow and texthigh. (find_pc_sect_symtab): Likewise.
2002-01-312002-01-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-11/+30
* bfd-in.h: Include <stdbool.h> if it is available. * bfd-in2.h: Regenerated.
2002-01-31 * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions shouldAlan Modra2-3/+11
not go via the plt.
2002-01-31* defs.h (vwarning): Declare.Andrew Cagney5-38/+39
(warning_begin): Delete declaration. * utils.c (vwarning): New function. (warning): Call vwarning. (warning_begin): Delete function. * rs6000-nat.c (vmap_ldinfo): Use the function warning to print the warning message. * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to warning_begin.
2002-01-31 * ld-scripts/crossref.exp: Allow foo to have a leading dot.Alan Modra5-4/+12
* ld-scripts/cross1.t: Add .opd. * ld-undefined/undefined.exp: Allow leading dot on sym names. * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms.
2002-01-312002-01-30 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+11
* NEWS: Mention "set trust-readonly-sections" command.
2002-01-312002-01-30 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+12
* NEWS: Mention generate-core-file command.
2002-01-312002-01-15 Michael Snyder <msnyder@redhat.com>Michael Snyder2-6/+43
* target.c: New command, "set trust-readonly-sections on". (do_xfer_memory): Honor the suggestion to trust readonly sections by reading them from the object file instead of from the target. (initialize_targets): Register command "set trust-readonly-sections".
2002-01-31merge from gccDJ Delorie3-9/+19
2002-01-31* parse.c (target_map_name_to_register): Simplify, search regs andAndrew Cagney2-10/+7
pseudo-regs using a single loop.
2002-01-31Mention i386 FP problem.Andrew Cagney2-0/+18
2002-01-31*** empty log message ***gdbadmin1-1/+1
2002-01-30daily updateAlan Modra1-1/+1