Daniel Jacobowitz [Thu, 1 Aug 2002 15:04:41 +0000 (15:04 +0000)]
2002-08-01 H.J. Lu <hjl@gnu.org>
Daniel Jacobowitz <drow@mvista.com>
* dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
.debug_line section unless it has line information.
Nick Clifton [Thu, 1 Aug 2002 14:03:01 +0000 (14:03 +0000)]
Revert Adam Nemet's THUMB PLT patch
Andreas Schwab [Thu, 1 Aug 2002 12:16:36 +0000 (12:16 +0000)]
Fix typo.
Nick Clifton [Thu, 1 Aug 2002 06:47:58 +0000 (06:47 +0000)]
Bump version number.
H.J. Lu [Thu, 1 Aug 2002 06:29:44 +0000 (06:29 +0000)]
2002-07-31 H.J. Lu <hjl@gnu.org>
* configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
--enable-64-bit-bfd.
H.J. Lu [Thu, 1 Aug 2002 06:24:53 +0000 (06:24 +0000)]
Enable x86-64 for Linux/i386 if 64bit BFD is selected.
gdbadmin [Thu, 1 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 1 Aug 2002 00:00:06 +0000 (00:00 +0000)]
daily update
Joel Brobecker [Wed, 31 Jul 2002 22:35:48 +0000 (22:35 +0000)]
* dwarf2read.c (set_cu_language): Add handler for LANG_Ada95.
This does not change anything at the moment, but will be helpful
later when full Ada support is integrated.
H.J. Lu [Wed, 31 Jul 2002 22:26:53 +0000 (22:26 +0000)]
Enable 64bit emulations for Linux/mips if 64bit BFD is selected.
Kevin Buettner [Wed, 31 Jul 2002 20:26:49 +0000 (20:26 +0000)]
* mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi"
help message.
Kevin Buettner [Wed, 31 Jul 2002 20:08:20 +0000 (20:08 +0000)]
* mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct
and save it in a local variable. Use variable in later test.
Kevin Buettner [Wed, 31 Jul 2002 19:08:46 +0000 (19:08 +0000)]
* mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
test. (Thanks to Daniel Jacobowitz.)
Kevin Buettner [Wed, 31 Jul 2002 18:13:24 +0000 (18:13 +0000)]
* mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64.
(mips_abi_strings): Add "n64".
(mips_gdbarch_init): Add test for n64 abi. Add MIPS_ABI_N64 case.
Kevin Buettner [Wed, 31 Jul 2002 17:22:06 +0000 (17:22 +0000)]
* config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
(REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide.
Kevin Buettner [Wed, 31 Jul 2002 17:01:01 +0000 (17:01 +0000)]
* utils.c (host_pointer_to_address, address_to_host_pointer):
Use gdb_assert() instead of explicit call to internal_error().
Nick Clifton [Wed, 31 Jul 2002 16:23:29 +0000 (16:23 +0000)]
Fix bugs and remove compile time warnings for N"32K port.
Jakub Jelinek [Wed, 31 Jul 2002 15:04:06 +0000 (15:04 +0000)]
* elf32-i386.c (elf_i386_copy_indirect_symbol): Swap tls_type
if _bfd_elf_link_hash_copy_indirect will swap got.refcount.
Nick Clifton [Wed, 31 Jul 2002 12:50:09 +0000 (12:50 +0000)]
Add new field to bfd_link structure and use it to control how common symbols
are extracted from archives.
Nick Clifton [Wed, 31 Jul 2002 12:04:47 +0000 (12:04 +0000)]
Add support for Thumb PLT entries with interworking
Nick Clifton [Wed, 31 Jul 2002 09:59:03 +0000 (09:59 +0000)]
Retroactively add entry for Lars Brinkhoff's contribution of the PDP-11 and
2.11BSD a.out support.
Nick Clifton [Wed, 31 Jul 2002 09:38:04 +0000 (09:38 +0000)]
Rename function arguments to avoid shadowing global symbols of the same name.
Nick Clifton [Wed, 31 Jul 2002 09:17:52 +0000 (09:17 +0000)]
Fix range check for immediate operand.
Chris Demetriou [Wed, 31 Jul 2002 05:48:31 +0000 (05:48 +0000)]
2002-07-30 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (mips_cpu_info_table): Clean up entries related
to Broadcom SB-1 core support.
Chris Demetriou [Wed, 31 Jul 2002 05:44:54 +0000 (05:44 +0000)]
2002-07-30 Chris Demetriou <cgd@broadcom.com>
* mips.igen (do_load_double, do_store_double): New functions.
(LDC1, SDC1): Rename to...
(LDC1b, SDC1b): respectively.
(LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.
Thiemo Seufer [Wed, 31 Jul 2002 00:32:10 +0000 (00:32 +0000)]
* Makefile.am: Add n32 ABI support.
* Makefile.in: Regenerate.
* config.bfd: Add n32 vectors to mips64*-*-linux* targets. Treat 64
bit vectors for mips*-*-linux targets as optional.
* configure.in: Add n32 ABI vectors.
* configure: Regenerate.
* elf32-mips.c (mips_elf32_object_p): Reject n32 ABI files.
* elfn32-mips.c: New file, n32 ABI support.
* targets.c: Add n32 ABI vectors.
Alan Modra [Wed, 31 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 31 Jul 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Thiemo Seufer [Tue, 30 Jul 2002 23:56:28 +0000 (23:56 +0000)]
* config/tc-mips.c (mips_target_format): Fix formatting.
Add recognition of n32 ABI formats.
Thiemo Seufer [Tue, 30 Jul 2002 23:48:30 +0000 (23:48 +0000)]
* Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
for n32 ABI support.
* Makefile.in: Regenerate.
* configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
n32 ABI emulations for these 64 bit targets.
* emulparams/elf32bmipn32.sh: Expand comment.
* emulparams/elf32btsmipn32.sh: New file, for traditional big endian
n32 ABI.
* emulparams/elf32ltsmipn32.sh: Likewise for little endian.
DJ Delorie [Tue, 30 Jul 2002 23:15:26 +0000 (23:15 +0000)]
* configure.in: Move generic linux case to end. Copy generic
linux noconfigdirs to mips*-*-linux* entry and new
powerpc64*-*-linux* entry. Add target-libffi for the latter.
Kevin Buettner [Tue, 30 Jul 2002 19:59:06 +0000 (19:59 +0000)]
Configury changes to enable recently added AIX thread support.
Maciej W. Rozycki [Tue, 30 Jul 2002 19:27:31 +0000 (19:27 +0000)]
* tc-mips.c (load_address): Don't clobber $at when loading a
64-bit address in non-PIC code if noat is in effect.
(macro): Likewise.
Maciej W. Rozycki [Tue, 30 Jul 2002 19:24:54 +0000 (19:24 +0000)]
* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
used in division/multiply macro expansions similarly to how they
are used in the variants with break instructions.
(macro2): Likewise.
Daniel Jacobowitz [Tue, 30 Jul 2002 19:03:49 +0000 (19:03 +0000)]
* ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)
(ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums.
(fetch_core_registers, ppc_linux_supply_gregset)
(ppc_linux_supply_fpregset): New functions.
(ppc_linux_regset_core_fns): New.
(_initialize_ppc_linux_tdep): Call add_core_fns.
* ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset
and ppc_linux_supply_gregset.
* ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset.
(supply_fpregset): Call ppc_linux_supply_fpregset.
* config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and
corelow.o.
* config/powerpc/linux.mt (TDEPFILES): Add corelow.o.
Kevin Buettner [Tue, 30 Jul 2002 18:51:23 +0000 (18:51 +0000)]
* gdb.base/shlib-call.exp (additional_flags): Conditionally
set Irix-specific compile and link flags.
Nick Clifton [Tue, 30 Jul 2002 17:32:30 +0000 (17:32 +0000)]
Add arm-*-nto port.
Nick Clifton [Tue, 30 Jul 2002 15:53:18 +0000 (15:53 +0000)]
Updated Translations
Daniel Jacobowitz [Tue, 30 Jul 2002 15:42:07 +0000 (15:42 +0000)]
* symtab.c (lookup_symbol): Demangle before lowercasing.
Jakub Jelinek [Tue, 30 Jul 2002 14:33:40 +0000 (14:33 +0000)]
* readelf.c (OPTION_DEBUG_DUMP): Define.
(options): Use it.
(usage): Update help.
(parse_args): Handle --debug-dump separately from -w.
* doc/binutils.texi (readelf): Update documentation.
Jakub Jelinek [Tue, 30 Jul 2002 14:28:55 +0000 (14:28 +0000)]
* elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type.
* ldlang.c (lang_add_section): Don't turn .tbss into normal sections
for relocatable link.
(lang_size_sections_1): Don't make .tbss zero size for relocatable
link.
Andrew Cagney [Tue, 30 Jul 2002 13:45:15 +0000 (13:45 +0000)]
2002-07-30 Andrew Cagney <
ac131313@redhat.com>
* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).
Nick Clifton [Tue, 30 Jul 2002 10:56:04 +0000 (10:56 +0000)]
Add per-section and per-sub-section literal pools.
Nick Clifton [Tue, 30 Jul 2002 09:07:00 +0000 (09:07 +0000)]
Update copyright notice
Alan Modra [Tue, 30 Jul 2002 07:41:15 +0000 (07:41 +0000)]
* ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target.
* ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp,
ld-linkonce/linkonce.exp, ld-shared/shared.exp,
ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux*
targets.
* ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s,
ld-discard/static.s: Add whitespace before assembler directives.
Ulrich Drepper [Tue, 30 Jul 2002 07:02:54 +0000 (07:02 +0000)]
(Executing the Program): Add documentation on how to use bbconv.pl.
Jim Blandy [Tue, 30 Jul 2002 07:01:23 +0000 (07:01 +0000)]
Patch from David Carlton <carlton@math.stanford.edu>:
* gdbinit.in: Move the `dir' commands that add GDB's own source
directory to the search path to the end, so that the `gdb' source
directory will be searched first.
Alan Modra [Tue, 30 Jul 2002 05:49:24 +0000 (05:49 +0000)]
* aoutx.h (some_aout_object_p): Clean up tdata properly on error.
* archive.c (bfd_generic_archive_p): Likewise.
* coff-rs6000.c (_bfd_xcoff_archive_p): Likewise.
(_bfd_xcoff_archive_p): Use bfd_scan_vma in place of strtol.
* coff64-rs6000.c (xcoff64_slurp_armap): Likewise.
(xcoff64_archive_p): Likewise.
(xcoff64_openr_next_archived_file): Likewise.
(xcoff64_archive_p): Clean up tdata properly on error.
* coffgen.c (coff_real_object_p): Likewise.
(coff_object_p): Release filehdr and opthdr.
* ecoff.c (_bfd_ecoff_archive_p): Clean up tdata properly on error.
* ieee.c (ieee_archive_p): Likewise.
* ihex.c (ihex_object_p): Likewise.
(ihex_mkobject): Always allocate tdata.
* peicode.h (pe_ILF_object_p): Release bfd_alloc'd buffer on error.
* srec.c (srec_mkobject): Always allocate tdata.
(srec_object_p): Clean up tdata properly on error.
(symbolsrec_object_p): Likewise.
* versados.c (versados_object_p): Likewise.
* vms-misc.c (_bfd_vms_get_record): Use bfd_malloc instead of malloc,
and bfd_realloc instead of realloc.
(add_new_contents): Use bfd_alloc instead of bfd_malloc for sections.
* vms.c (vms_initialize): Always allocate tdata. Use bfd_alloc in
place of bfd_malloc, simplifying error freeing. Free hash table too.
(vms_object_p): Clean up tdata on error.
(vms_mkobject): Don't complain on stderr if vms_initialize fails.
(vms_close_and_cleanup): Adjust for bfd_alloc use.
Alan Modra [Tue, 30 Jul 2002 05:40:20 +0000 (05:40 +0000)]
* elfxx-ia64.c (elfNN_ia64_final_write_processing): Set e_flags.
gdbadmin [Tue, 30 Jul 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 30 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Kevin Buettner [Mon, 29 Jul 2002 23:35:56 +0000 (23:35 +0000)]
* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
source files. The ``-o'' option doesn't work with the ``-E'' option
when using the Irix compiler.
Michael Snyder [Mon, 29 Jul 2002 23:17:10 +0000 (23:17 +0000)]
2002-07-29 Michael Snyder <msnyder@redhat.com>
* cp1.c (fp_recip2): Modify initialization expression so that
GCC will recognize it as constant.
Andrew Cagney [Mon, 29 Jul 2002 22:55:26 +0000 (22:55 +0000)]
2002-07-29 Andrew Cagney <
ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
Chris Demetriou [Mon, 29 Jul 2002 21:07:12 +0000 (21:07 +0000)]
[ gas/testsuite/ChangeLog ]
2002-07-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking.
* gas/mips/elf_ase_mips16.s: Likewise.
* gas/mips/mips.exp: Run the new test.
[ ld/testsuite/ChangeLog ]
2002-07-26 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.
Andrew Cagney [Mon, 29 Jul 2002 19:54:42 +0000 (19:54 +0000)]
2002-07-25 Andrew Cagney <cagney@redhat.com>
* regcache.c (struct regcache_descr): Rename nr_registers to
nr_cooked_registers. Revise comments describing the structure
member fields.
(init_regcache_descr): Update.
(init_legacy_regcache_descr): Update.
(read_register_gen, write_register_gen): When a cooked register in
the raw register range, directly access the value from the raw
register cache.
DJ Delorie [Mon, 29 Jul 2002 18:01:19 +0000 (18:01 +0000)]
merge from gcc
Andrey Volkov [Mon, 29 Jul 2002 17:01:57 +0000 (17:01 +0000)]
Add dependences to Makefile.in and include sim-h8300 in compile.c
Andrey Volkov [Mon, 29 Jul 2002 16:57:18 +0000 (16:57 +0000)]
sim-h8300.h: Rename all enums from H8300_ to SIM_H8300_
Andrew Cagney [Mon, 29 Jul 2002 16:34:07 +0000 (16:34 +0000)]
2002-07-26 Andrew Cagney <
ac131313@redhat.com>
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
Alan Modra [Mon, 29 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 29 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 28 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 28 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Sat, 27 Jul 2002 02:03:45 +0000 (02:03 +0000)]
* utils.c (host_pointer_to_address, address_to_host_pointer):
Change internal_error() message to indicate function responsible
for the error.
Kevin Buettner [Sat, 27 Jul 2002 01:54:15 +0000 (01:54 +0000)]
* ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
calls to local_hex_string_custom().
Kevin Buettner [Sat, 27 Jul 2002 01:41:15 +0000 (01:41 +0000)]
Configury changes for IRIX shared library support and IRIX OSABI support.
Kevin Buettner [Sat, 27 Jul 2002 01:28:43 +0000 (01:28 +0000)]
Add Irix osabi support.
Kevin Buettner [Sat, 27 Jul 2002 01:05:07 +0000 (01:05 +0000)]
* irix5-nat.c: Move IRIX shared library support from here...
* solib-irix.c: ...to here. Revised substantially to work with
generic solib framework.
Kevin Buettner [Sat, 27 Jul 2002 00:10:11 +0000 (00:10 +0000)]
Fix formatting problem in most recent entry.
Kevin Buettner [Sat, 27 Jul 2002 00:06:19 +0000 (00:06 +0000)]
Delete disabled code.
Alan Modra [Sat, 27 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 27 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Fri, 26 Jul 2002 23:15:52 +0000 (23:15 +0000)]
Add fpscr support to aix-thread.c and rs6000-nat.c.
Kevin Buettner [Fri, 26 Jul 2002 23:12:59 +0000 (23:12 +0000)]
* aix-thread.c (special_register_p, supply_sprs64, supply_sprs32)
(fetch_regs_user_thread, fetch_regs_kernel_thread, fill_sprs64)
(fill_sprs32, store_regs_user_thread, store_regs_kernel_thread):
Add support for the fpscr register.
* rs6000-nat.c (regmap, fetch_inferior_registers)
(store_inferior_registers, fetch_core_registers): Likewise.
Kevin Buettner [Fri, 26 Jul 2002 22:26:44 +0000 (22:26 +0000)]
Eliminate FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM.
Richard Sandiford [Fri, 26 Jul 2002 18:56:25 +0000 (18:56 +0000)]
[bfd/]
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Merge ASE
flags into resulting BFD.
[ld/testsuite/]
* ld-mips-elf/mips16-1.d,
* ld-mips-elf/mips16-1[ab].s: New test.
* ld-mips-elf/mips-elf.exp: Run it.
Bernd Schmidt [Fri, 26 Jul 2002 11:14:04 +0000 (11:14 +0000)]
Change from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.sh
Alan Modra [Fri, 26 Jul 2002 05:32:05 +0000 (05:32 +0000)]
* elf32-i386.c (elf_i386_link_hash_table_create): Clear
tls_ldm_got.refcount.
Alan Modra [Fri, 26 Jul 2002 04:19:12 +0000 (04:19 +0000)]
* gas/ppc/altivec.d: Invoke "as" with "-a32".
Alan Modra [Fri, 26 Jul 2002 04:18:42 +0000 (04:18 +0000)]
* config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
rather than PPC_OPCODE_32 for powerpc64*.
Kevin Buettner [Fri, 26 Jul 2002 00:47:45 +0000 (00:47 +0000)]
Revise comment from previous commit.
Kevin Buettner [Fri, 26 Jul 2002 00:43:30 +0000 (00:43 +0000)]
* rs6000-nat.c (ppc-tdep.h): Include.
(fetch_registers, store_register): Don't access registers[]
directly. Instead, use supply_register() or
regcache_collect() as appropriate.
(find_toc_address): Format hex address with local_hex_string().
Alan Modra [Fri, 26 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 26 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Thiemo Seufer [Thu, 25 Jul 2002 15:35:14 +0000 (15:35 +0000)]
* elf64-mips.c: Update TODO comment.
(mips_elf64_higher_reloc,mips_elf64_highest_reloc,
mips_elf64_gprel16_reloca): Remove prototypes.
(mips16_jump_reloc,mips16_gprel_reloc): Add functions.
(UNUSED_RELOC): Replace by EMPTY_RELOC.
(mips_elf64_howto_table_rel): Use special R_MIPS_HI16 handling. Remove
wrong comments. Remove disfunctional support of R_MIPS_HIGHER and
R_MIPS_HIGHEST.
(mips_elf64_howto_table_rela): Fix handling of R_MIPS_GPREL16 and
R_MIPS_GOT16. Remove wrong comments.
(elf_mips16_jump_howto,elf_mips16_gprel_howto,
elf_mips_gnu_vtinherit_howto,elf_mips_gnu_vtentry_howto): New, code
from elf32-mips.c.
(mips_elf64_hi16_reloc): Fix formatting.
(mips_elf64_higher_reloc,mips_elf64_highest_reloc): Remove.
(mips_elf64_got16_reloc): Fix formatting. Remove superfluous code.
Better comment. Fall back to R_MIPS_GOT_DISP instead of abort().
(mips_elf64_gprel16_reloc): Make static. Add check for
partial_inplace.
(mips_elf64_gprel16_reloca): Remove.
(mips_elf64_literal_reloc): New function.
(mips_elf64_gprel32_reloc): Fix formatting.
(mips_elf64_shift6_reloc): Fix comment. Make static.
(mips16_jump_reloc,mips16_gprel_reloc): New functions, code from
elf32-mips.c.
(elf_reloc_map,mips_reloc_map): New mapping table, similiar as in
elf32-mips.c
(bfd_elf64_bfd_reloc_type_lookup): Use the mapping table. Enable GNU
specific relocations.
(mips_elf64_rtype_to_howto): Enable GNU specific relocations.
(mips_elf64_object_p): Invert logic to check for SGI-ish ABI.
(ELF_MAXPAGESIZE): Add comment.
Andrew Cagney [Thu, 25 Jul 2002 13:57:57 +0000 (13:57 +0000)]
2002-07-25 Andrew Cagney <
ac131313@redhat.com>
* config/djgpp/fnchange.lst: Rename bfd/elf32-fr30.c and
bfd/elf32-frv.c.
Richard Sandiford [Thu, 25 Jul 2002 11:07:47 +0000 (11:07 +0000)]
Fix comment from last commit.
Nick Clifton [Thu, 25 Jul 2002 10:31:28 +0000 (10:31 +0000)]
New translations
Richard Sandiford [Thu, 25 Jul 2002 09:48:07 +0000 (09:48 +0000)]
[gas/]
* doc/c-mips.texi: Remove -mcpu. Document -mabi.
* configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
(USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
* configure, config.in: Regenerate.
* config/tc-mips.c (file_mips_abi): Rename to mips_abi.
(mips_set_options): Remove "abi" field.
(mips_opts): Update accordingly. Replace all uses of mips_opts.abi
with mips_abi.
(mips_cpu): Remove.
(mips_arch_string, mips_arch_info): New vars.
(mips_tune_string, mips_tune_info): New vars.
(ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
(mips_isa_to_str, mips_cpu_to_str): Remove.
(mips_ip): If the selected architecture is a generic ISA rather
than a processor, only mention the ISA level in error messages.
(OPTION_MCPU): Remove.
(OPTION_FP64): New.
(md_longopts): Add -mfp64, remove -mcpu.
(mips_set_option_string): New fn.
(md_parse_option): Make -mipsN update file_mips_isa rather than
mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
Don't let -mgp32 and -mfp32 change the ABI.
(show): Move to end of file. Constify string argument.
(md_show_usage): Move to the end of the file. Read available
architectures from mips_cpu_info_table.
(mips_set_architecture): New fn.
(mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
is an alias for -march=mipsN. Don't change the ABI based on other
flags. Infer the register size from the ABI as well as the
architecture. Complain about more conflicting arguments.
Unify logic with GCC.
(s_mipsset): Don't change the ABI.
(mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
(mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
"mipsN"-type entries. Remove entries that vary only in the
manufacturer's prefix, or that have "000" replaced by "k".
Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
(mips_parse_cpu): New fn.
(mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
(mips_cpu_info_from_isa): Minor formatting tweak.
[gas/testsuite]
* gas/mips/mips-gp32-fp64.d,
* gas/mips/mips-gp32-fp64-pic.d: Add -mfp64.
Richard Sandiford [Thu, 25 Jul 2002 09:44:39 +0000 (09:44 +0000)]
* opcode/mips.h (CPU_R2000): Remove.
Alan Modra [Thu, 25 Jul 2002 06:54:51 +0000 (06:54 +0000)]
* elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define
as elf_link_record_local_dynamic_symbol.
(_bfd_elf64_link_record_local_dynamic_symbol): Likewise.
(elf_link_record_local_dynamic_symbol): Declare. Now returns int.
* elflink.h (elf_link_record_local_dynamic_symbol): Move to..
* elflink.c: .. here. Use bfd_elf_get_elf_syms. Check whether an
attempt is made to record a symbol in a discarded section, and
return `2' in that case.
Tom Tromey [Thu, 25 Jul 2002 04:33:24 +0000 (04:33 +0000)]
* jv-exp.y: Marked all strings with _().
(ClassInstanceCreationExpression, ArrayCreationExpression): Use
internal_error.
(MethodInvocation, CastExpression, parse_number, yyerror,
java_type_from_name, push_expression_name, yylex): Typo fixes.
Daniel Jacobowitz [Thu, 25 Jul 2002 03:14:28 +0000 (03:14 +0000)]
* ui-file.c (struct tee_file, tee_file_new, tee_file_delete)
(tee_file_flush, tee_file_write, tee_file_fputs)
(tee_file_isatty): New.
* ui-file.h (tee_file_new): Add prototype.
Aidan Skinner [Thu, 25 Jul 2002 01:14:26 +0000 (01:14 +0000)]
* ada-lang.c: Change k&r style function definitions to prototyped
form.
* ada-typeprint.c: Change k&r style function definitions to prototyped
form.
* ada-valprint.c: Change k&r style function definitions to prototyped
form.
Alan Modra [Thu, 25 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 25 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Wed, 24 Jul 2002 23:51:36 +0000 (23:51 +0000)]
Obsolete m88k.
Andrew Cagney [Wed, 24 Jul 2002 22:46:48 +0000 (22:46 +0000)]
2002-07-24 Andrew Cagney <cagney@redhat.com>
* findvar.c (extract_unsigned_integer): Make `addr' parameter
constant. Same for local pointer variables.
(extract_signed_integer): Ditto.
* defs.h (extract_unsigned_integer): Update.
(extract_signed_integer): Update.
Kevin Buettner [Wed, 24 Jul 2002 21:30:46 +0000 (21:30 +0000)]
* gdbserver/configure.in (unistd.h): Add to AC_CHECK_HEADERS list.
* gdbserver/configure: Regenerate.
* gdbserver/config.in: Regenerate.