platform/upstream/binutils.git
22 years ago Support on-demand global register allocation from
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:24:03 +0000 (08:24 +0000)]
Support on-demand global register allocation from
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.

22 years ago Perform on-demand global register allocation from
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:18:56 +0000 (08:18 +0000)]
Perform on-demand global register allocation from
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.

22 years ago * gas/mmix/basep-1b.d, gas/mmix/basep-2b.d, gas/mmix/basep-7.d,
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:16:05 +0000 (08:16 +0000)]
* gas/mmix/basep-1b.d, gas/mmix/basep-2b.d, gas/mmix/basep-7.d,
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.

22 years ago Support on-demand global register allocation by passing on
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:09:47 +0000 (08:09 +0000)]
Support on-demand global register allocation by passing on
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.

22 years ago * mmix.h: Tweak comments.
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:05:13 +0000 (08:05 +0000)]
* mmix.h: Tweak comments.
(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.

22 years agoSupport small archive for pre AIX 4.3
Tom Rix [Fri, 1 Feb 2002 05:47:14 +0000 (05:47 +0000)]
Support small archive for pre AIX 4.3

22 years agoRun "make dep-am"
Alan Modra [Fri, 1 Feb 2002 03:26:35 +0000 (03:26 +0000)]
Run "make dep-am"

22 years ago2002-01-31 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Feb 2002 02:05:13 +0000 (02:05 +0000)]
2002-01-31  Michael Snyder  <msnyder@redhat.com>

* 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.

22 years ago2002-01-31 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Feb 2002 01:49:54 +0000 (01:49 +0000)]
2002-01-31  Michael Snyder  <msnyder@redhat.com>

* printcmd.c (disassemble_command): Remove an ancient
artifact of an old merge.

22 years agomerge from gcc
DJ Delorie [Fri, 1 Feb 2002 01:34:09 +0000 (01:34 +0000)]
merge from gcc

22 years ago * basic_blocks.c: Replace bool with boolean, TRUE with true and
Alan Modra [Fri, 1 Feb 2002 01:18:06 +0000 (01:18 +0000)]
* basic_blocks.c: Replace bool with boolean, TRUE with true and
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.

22 years ago2002-01-31 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Feb 2002 01:14:20 +0000 (01:14 +0000)]
2002-01-31  Michael Snyder  <msnyder@redhat.com>

* 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.

22 years ago2002-01-31 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Feb 2002 01:08:05 +0000 (01:08 +0000)]
2002-01-31  Michael Snyder  <msnyder@redhat.com>

* 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.

22 years agoMove doc/ entries to correct changelog
Alan Modra [Fri, 1 Feb 2002 01:04:37 +0000 (01:04 +0000)]
Move doc/ entries to correct changelog

22 years ago2002-01-31 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Feb 2002 01:01:21 +0000 (01:01 +0000)]
2002-01-31  Michael Snyder  <msnyder@redhat.com>

* target.c (target_xfer_memory): Add spaces, coding standard.

22 years ago2002-01-31 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Feb 2002 00:49:53 +0000 (00:49 +0000)]
2002-01-31  Michael Snyder  <msnyder@redhat.com>

* target.c (do_xfer_memory): Add missing line to trust-readonly
code: check bfd SEC_READONLY flag for section.

22 years ago*** empty log message ***
gdbadmin [Fri, 1 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 31 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agoFix tipo.
Andrew Cagney [Thu, 31 Jan 2002 20:45:17 +0000 (20:45 +0000)]
Fix tipo.

22 years agoDeal with target architecture that have a pointer size that is different from
Jason Thorpe [Thu, 31 Jan 2002 19:21:54 +0000 (19:21 +0000)]
Deal with target architecture that have a pointer size that is different from
the host architectures pointer size.

(Nick missed this file when he committed the patch.)

22 years agomerge from gcc
DJ Delorie [Thu, 31 Jan 2002 19:01:15 +0000 (19:01 +0000)]
merge from gcc

22 years ago2002-01-31 David O'Brien <obrien@FreeBSD>
David O'Brien [Thu, 31 Jan 2002 19:00:53 +0000 (19:00 +0000)]
2002-01-31  David O'Brien  <obrien@FreeBSD>
* 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>

22 years agoDeal with target architecture that have a pointer size that is different from
Nick Clifton [Thu, 31 Jan 2002 18:37:58 +0000 (18:37 +0000)]
Deal with target architecture that have a pointer size that is different from
the host architectures pointer size.

22 years ago * cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
Hans-Peter Nilsson [Thu, 31 Jan 2002 17:55:16 +0000 (17:55 +0000)]
* cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
New functions.

22 years agoAdd support for OpenRISC 32-bit embedded processor
Nick Clifton [Thu, 31 Jan 2002 17:33:08 +0000 (17:33 +0000)]
Add support for OpenRISC 32-bit embedded processor

22 years ago * alpha.c (alpha_Instruction): Don't use.
Alan Modra [Thu, 31 Jan 2002 12:56:08 +0000 (12:56 +0000)]
* alpha.c (alpha_Instruction): Don't use.
(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.

22 years agoReplace 'return false' with a return of a bfd_reloc_ error code.
Nick Clifton [Thu, 31 Jan 2002 11:17:22 +0000 (11:17 +0000)]
Replace 'return false' with a return of a bfd_reloc_ error code.

22 years ago * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
Hans-Peter Nilsson [Thu, 31 Jan 2002 10:46:24 +0000 (10:46 +0000)]
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
unexport unreferenced symbols when --export-dynamic.  Call
_bfd_elf_strtab_delref when unexporting.

22 years ago * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,
Hans-Peter Nilsson [Thu, 31 Jan 2002 10:42:18 +0000 (10:42 +0000)]
* ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,
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.

22 years agooops - omitted from previous delta
Nick Clifton [Thu, 31 Jan 2002 09:24:16 +0000 (09:24 +0000)]
oops - omitted from previous delta

22 years ago * chew.c (courierize): Don't modify @command params.
Alan Modra [Thu, 31 Jan 2002 06:23:17 +0000 (06:23 +0000)]
* chew.c (courierize): Don't modify @command params.

22 years ago2002-01-30 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 31 Jan 2002 05:08:41 +0000 (05:08 +0000)]
2002-01-30  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
        Allow a start function above main.
        * gdb.threads/linux-dp.exp: Fix copyright date.

22 years ago2002-01-30 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 31 Jan 2002 05:05:29 +0000 (05:05 +0000)]
2002-01-30  Daniel Jacobowitz  <drow@mvista.com>

        * 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.

22 years ago2002-01-30 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 31 Jan 2002 05:03:31 +0000 (05:03 +0000)]
2002-01-30  Daniel Jacobowitz  <drow@mvista.com>

        * 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.

22 years ago2002-01-30 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 31 Jan 2002 04:42:30 +0000 (04:42 +0000)]
2002-01-30  Daniel Jacobowitz  <drow@mvista.com>

        * bfd-in.h: Include <stdbool.h> if it is available.
        * bfd-in2.h: Regenerated.

22 years ago * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should
Alan Modra [Thu, 31 Jan 2002 04:13:14 +0000 (04:13 +0000)]
* elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should
not go via the plt.

22 years ago* defs.h (vwarning): Declare.
Andrew Cagney [Thu, 31 Jan 2002 04:10:51 +0000 (04:10 +0000)]
* defs.h (vwarning): Declare.
(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.

22 years ago * ld-scripts/crossref.exp: Allow foo to have a leading dot.
Alan Modra [Thu, 31 Jan 2002 03:57:52 +0000 (03:57 +0000)]
* ld-scripts/crossref.exp: Allow foo to have a leading dot.
* 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.

22 years ago2002-01-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 31 Jan 2002 03:57:42 +0000 (03:57 +0000)]
2002-01-30  Michael Snyder  <msnyder@redhat.com>

* NEWS: Mention "set trust-readonly-sections" command.

22 years ago2002-01-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 31 Jan 2002 02:33:20 +0000 (02:33 +0000)]
2002-01-30  Michael Snyder  <msnyder@redhat.com>

* NEWS: Mention generate-core-file command.

22 years ago2002-01-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 31 Jan 2002 02:31:06 +0000 (02:31 +0000)]
2002-01-15  Michael Snyder  <msnyder@redhat.com>

* 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".

22 years agomerge from gcc
DJ Delorie [Thu, 31 Jan 2002 02:21:27 +0000 (02:21 +0000)]
merge from gcc

22 years ago* parse.c (target_map_name_to_register): Simplify, search regs and
Andrew Cagney [Thu, 31 Jan 2002 02:13:56 +0000 (02:13 +0000)]
* parse.c (target_map_name_to_register): Simplify, search regs and
pseudo-regs using a single loop.

22 years agoMention i386 FP problem.
Andrew Cagney [Thu, 31 Jan 2002 01:31:54 +0000 (01:31 +0000)]
Mention i386 FP problem.

22 years ago*** empty log message ***
gdbadmin [Thu, 31 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 30 Jan 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-30 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 30 Jan 2002 22:38:56 +0000 (22:38 +0000)]
2002-01-30  Daniel Jacobowitz  <drow@mvista.com>

        From Neil Booth <neil@daikokuya.demon.co.uk>:
        * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
        warnings.

22 years ago* config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
Mark Kettenis [Wed, 30 Jan 2002 22:32:38 +0000 (22:32 +0000)]
* config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
* config/i386/i386v42mp.mh: Add i387-nat.o .
* i386v4-nat.c: Include i387-nat.h.
(supply_fpregset): Use i387_supply_fsave.
(fill_fpregset): Use i387_fill_fsave.

22 years ago * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
Richard Sandiford [Wed, 30 Jan 2002 18:25:30 +0000 (18:25 +0000)]
* config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
and mod.

22 years agoTidy up formatting in bfd-in2.h
Nick Clifton [Wed, 30 Jan 2002 18:12:17 +0000 (18:12 +0000)]
Tidy up formatting in bfd-in2.h

22 years ago* arm-tdep.c (arm_call_dummy_words): Define.
Richard Earnshaw [Wed, 30 Jan 2002 16:35:51 +0000 (16:35 +0000)]
* arm-tdep.c (arm_call_dummy_words): Define.
* arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
* config/arm/tm-arm.h (CALL_DUMMY_P): Define.
(CALL_DUMMY_WORDS): Define.
(arm_call_dummy_words): Declare.
* config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
(arm_linux_call_dummy_words): Declare.

22 years agoFixes for better translation into other languages
Nick Clifton [Wed, 30 Jan 2002 16:07:28 +0000 (16:07 +0000)]
Fixes for better translation into other languages

22 years agoUnify messages in coff-arm.c and elf32-arm.h.
Philipp Thomas [Wed, 30 Jan 2002 14:51:39 +0000 (14:51 +0000)]
Unify messages in coff-arm.c and elf32-arm.h.

22 years ago * m68klinux-nat.c: Fix last change to use regcache_collect
Andreas Schwab [Wed, 30 Jan 2002 13:57:33 +0000 (13:57 +0000)]
* m68klinux-nat.c: Fix last change to use regcache_collect
instead of referencing registers[] directly.

22 years agoUpdated Swedish translation
Nick Clifton [Wed, 30 Jan 2002 10:49:04 +0000 (10:49 +0000)]
Updated Swedish translation

22 years agoDon't translate debugging message.
Nick Clifton [Wed, 30 Jan 2002 10:31:28 +0000 (10:31 +0000)]
Don't translate debugging  message.

22 years agoUse full section name in error messages.
Nick Clifton [Wed, 30 Jan 2002 10:28:47 +0000 (10:28 +0000)]
Use full section name in error messages.

22 years ago2002-01-29 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 30 Jan 2002 05:00:07 +0000 (05:00 +0000)]
2002-01-29  Daniel Jacobowitz  <drow@mvista.com>

        * nm.c (print_value): Mark abfd unused.

22 years ago * elf64-ppc.c (func_desc_adjust): Only provide missing function
Alan Modra [Wed, 30 Jan 2002 03:47:37 +0000 (03:47 +0000)]
* elf64-ppc.c (func_desc_adjust): Only provide missing function
descriptor symbols for undefined function code syms.  Clear
ELF_LINK_NON_ELF so that they can stay weak.

22 years ago2002-01-29 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 30 Jan 2002 02:22:14 +0000 (02:22 +0000)]
2002-01-29  Chris Demetriou  <cgd@broadcom.com>
            Mitch Lichtenberg  <mpl@broadcom.com>

        * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
        * emultempl/mipself.em: New file to handle MIPS ELF embedded
        reloc creation (ld --embedded-relocs).

22 years ago2002-01-29 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 30 Jan 2002 02:20:13 +0000 (02:20 +0000)]
2002-01-29  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs.
        * ld-mips-elf/emrelocs-el.d: Likewise.
        * ld-mips-elf/emrelocs1.s: Likewise.
        * ld-mips-elf/emrelocs2.s: Likewise.
        * ld-mips-elf/emrelocs.ld: Likewise.
        * ld-mips-elf/mips-elf.exp: Add the above to the list of tests.

22 years ago2002-01-29 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 30 Jan 2002 02:19:21 +0000 (02:19 +0000)]
2002-01-29  Chris Demetriou  <cgd@broadcom.com>
            Mitch Lichtenberg  <mpl@broadcom.com>

        * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype.
        * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function
        to handle 32-bit ELF embedded reloc (ld --embedded-relocs)
        generation.
        * bfd-in2.h: Regenerate.

22 years ago2002-01-29 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 30 Jan 2002 02:14:19 +0000 (02:14 +0000)]
2002-01-29  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (tc_gen_reloc): Arrange for
        BFD_RELOC_PCREL_HI16_S relocations to be output relative to
        their LO16 parts, even for ELF.

22 years ago2002-01-29 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 30 Jan 2002 02:13:20 +0000 (02:13 +0000)]
2002-01-29  Chris Demetriou  <cgd@broadcom.com>

        * elf32-mips.c: Add additional comments about HI16 relocation
        processing.
        (_bfd_mips_elf_hi16_reloc): Don't subtract address here for
        pc-relative relocations.  (Reverts change made on 2001-10-31.)
        (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here
        for pc-relative relocations.
        (mips_elf_calculate_relocation): Add a comment about a kludge
        in the R_MIPS_GNU_REL_HI16 handling.
        (_bfd_mips_elf_relocate_section): Implement that kludge;
        adjust pc-relative HI16 relocation for difference in HI16 and
        LO16 addresses, since it can't easily be done in
        mips_elf_calculate_relocation.

22 years agoDelete REGISTER_NAME_ALIAS_HOOK.
Andrew Cagney [Wed, 30 Jan 2002 00:18:17 +0000 (00:18 +0000)]
Delete REGISTER_NAME_ALIAS_HOOK.

22 years ago*** empty log message ***
gdbadmin [Wed, 30 Jan 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 29 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agoZap >>>>
Andrew Cagney [Tue, 29 Jan 2002 21:37:15 +0000 (21:37 +0000)]
Zap >>>>

22 years ago2002-01-28 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 29 Jan 2002 20:24:27 +0000 (20:24 +0000)]
2002-01-28  Michael Snyder  <msnyder@redhat.com>

* regcache.c (legacy_read_register_gen): Need to be able to
read pseudo-register as well as real register.
(legacy_write_register_gen): Ditto.

22 years ago2002-01-29 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 29 Jan 2002 17:07:57 +0000 (17:07 +0000)]
2002-01-29  Daniel Jacobowitz  <drow@mvista.com>

        * config/tc-i386.c: Protect definitions of true and false
        from redefinition.

22 years ago2002-01-29 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 29 Jan 2002 16:54:04 +0000 (16:54 +0000)]
2002-01-29  Daniel Jacobowitz  <drow@mvista.com>

        * unwind-ia64.c (unw_decoder): Change second argument
        to unsigned int, to match function prototypes.

22 years ago2002-01-29 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 29 Jan 2002 16:46:37 +0000 (16:46 +0000)]
2002-01-29  Daniel Jacobowitz  <drow@mvista.com>

        * objdump.c: Include "getopt.h" after "bucomm.h" so that
        __GNU_LIBRARY__ will be defined.
        * size.c: Likewise.

22 years agoRevise and update ``Releasing GDB''.
Andrew Cagney [Tue, 29 Jan 2002 16:32:02 +0000 (16:32 +0000)]
Revise and update ``Releasing GDB''.

22 years agoArrgh! Revert last change.
Alan Modra [Tue, 29 Jan 2002 14:52:12 +0000 (14:52 +0000)]
Arrgh!  Revert last change.

22 years ago * elf64-ppc.c (func_desc_adjust): Don't supply missing function
Alan Modra [Tue, 29 Jan 2002 14:04:04 +0000 (14:04 +0000)]
* elf64-ppc.c (func_desc_adjust): Don't supply missing function
descriptor symbols.

22 years ago * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32
Martin Schwidefsky [Tue, 29 Jan 2002 11:14:35 +0000 (11:14 +0000)]
* elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32
relocations with PC32 relocations for undefined or weak symbols.
* elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise.
* elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise.

22 years agoEliminate TARGET_BYTE_ORDER.
Andrew Cagney [Tue, 29 Jan 2002 04:42:45 +0000 (04:42 +0000)]
Eliminate TARGET_BYTE_ORDER.

22 years ago* arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
Andrew Cagney [Tue, 29 Jan 2002 03:51:19 +0000 (03:51 +0000)]
* arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
(target_byte_order): Initialize to BFD_ENDIAN_BIG.
(initialize_current_architecture): Update target_byte_order using
information from BFD.
* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
* config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
* config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.

Update doco.

22 years ago* config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
Andrew Cagney [Tue, 29 Jan 2002 03:08:28 +0000 (03:08 +0000)]
* config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
* vax-tdep.c (INVALID_FLOAT): To here.  Document why it is broken.

* rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
#ifdef INVALID_FLOAT.
* infcmd.c (do_registers_info): Ditto.
* values.c (unpack_double): Ditto.  Add comment.

* config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
already commented out.

22 years ago*** empty log message ***
gdbadmin [Tue, 29 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoelf/dwarf2.h: Sync with gcc version.
Jason Merrill [Mon, 28 Jan 2002 23:26:53 +0000 (23:26 +0000)]
elf/dwarf2.h: Sync with gcc version.

22 years agodaily update
Alan Modra [Mon, 28 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Mon, 28 Jan 2002 22:03:14 +0000 (22:03 +0000)]
merge from gcc

22 years ago2002-01-27 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Mon, 28 Jan 2002 19:15:46 +0000 (19:15 +0000)]
2002-01-27  David O'Brien  <obrien@FreeBSD.org>
* cgen.h (BFD_VERSION): Use BFD_VERSION_DATE instead.

Approved by:  Nick Clifton <nickc@cambridge.redhat.com>
              <m3k7u2g5uc.fsf@north-pole.nickc.cambridge.redhat.com>

22 years ago* elfcore.h (elf_core_file_p): Improve comment for last change.
Jason Thorpe [Mon, 28 Jan 2002 16:48:52 +0000 (16:48 +0000)]
* elfcore.h (elf_core_file_p): Improve comment for last change.

22 years ago * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
Jakub Jelinek [Mon, 28 Jan 2002 13:34:39 +0000 (13:34 +0000)]
* config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
made because of .weak, if they are neither defined nor used in any
way.

22 years ago2002-01-27 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 28 Jan 2002 04:59:39 +0000 (04:59 +0000)]
2002-01-27  Daniel Jacobowitz  <drow@mvista.com>

        From Steve Ellcey <sje@cup.hp.com>:
        * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI.
        (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd,
        lt_cv_file_magic_test_file): Set to appropriate values for HP-UX
        IA64.
        * ltcf-c.sh (archive_cmds, hardcode_*): Ditto.
        * ltconfig (shlibpath_*, dynamic_linker, library_names_spec,
        soname_spec, sys_lib_search_path_spec): Ditto.

Various configure scripts regenerated.

22 years ago*** empty log message ***
gdbadmin [Mon, 28 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* elfcore.h (elf_core_file_p): Set the machine architecture
Jason Thorpe [Sun, 27 Jan 2002 23:27:23 +0000 (23:27 +0000)]
* elfcore.h (elf_core_file_p): Set the machine architecture
before processing the program headers.

22 years agodaily update
Alan Modra [Sun, 27 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * gdb.texinfo: Fix typos and markup. From Dmitry Sivachenko
Eli Zaretskii [Sun, 27 Jan 2002 09:34:24 +0000 (09:34 +0000)]
* gdb.texinfo: Fix typos and markup.  From Dmitry Sivachenko
<mitya@cavia.pp.ru>.

22 years ago * i386.c (i386_iscall): Static.
Richard Henderson [Sun, 27 Jan 2002 02:43:52 +0000 (02:43 +0000)]
    * i386.c (i386_iscall): Static.
        * tahoe.c (indirectchild, tahoe_operandmode): Static.
        (tahoe_operandlength, tahoe_reladdr): Static.
        * vax.c (indirectchild): Static.

22 years ago* configure.in (*-*-netbsd*): New. Skip target-newlib,
Jason Thorpe [Sun, 27 Jan 2002 02:14:43 +0000 (02:14 +0000)]
* configure.in (*-*-netbsd*): New.  Skip target-newlib,
target-libiberty, and target-libgloss.  Skip Java-related
libraries if not supported for NetBSD on target CPU.

22 years ago*** empty log message ***
gdbadmin [Sun, 27 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 26 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
Andreas Schwab [Sat, 26 Jan 2002 22:23:23 +0000 (22:23 +0000)]
* config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
* m68klinux-nat.c: Update ptrace interface for fetching/storing
registers and add support for PTRACE_GETREGS.

22 years ago * configure.in <64-bit configuration>: If using gcc, check and
Hans-Peter Nilsson [Sat, 26 Jan 2002 21:55:54 +0000 (21:55 +0000)]
* configure.in <64-bit configuration>: If using gcc, check and
emit error for egcs-1.1.2.
* configure: Regenerate.

22 years ago * Makefile.in (install): Depend on install-info.
Hans-Peter Nilsson [Sat, 26 Jan 2002 21:35:45 +0000 (21:35 +0000)]
* Makefile.in (install): Depend on install-info.

22 years ago * Makefile.am (install): Depend on install-info.
Hans-Peter Nilsson [Sat, 26 Jan 2002 21:33:06 +0000 (21:33 +0000)]
* Makefile.am (install): Depend on install-info.
* Makefile.in: Regenerate.

22 years ago * doc/Makefile.am (install): Depend on install-info.
Hans-Peter Nilsson [Sat, 26 Jan 2002 21:27:36 +0000 (21:27 +0000)]
* doc/Makefile.am (install): Depend on install-info.
* doc/Makefile.in: Regenerate.