OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 17:06:29 +0000 (17:06 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (value_embedded_offset): Delete.
(value_embedded_offset): Declare.
* value.c (value_embedded_offset): Define.
* valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
* gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
* cp-abi.h: Update.

19 years ago* elf64-mips.c: Fix formatting throughout.
Maciej W. Rozycki [Mon, 7 Feb 2005 15:50:16 +0000 (15:50 +0000)]
* elf64-mips.c: Fix formatting throughout.

19 years ago* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.
Maciej W. Rozycki [Mon, 7 Feb 2005 15:18:05 +0000 (15:18 +0000)]
* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 15:04:43 +0000 (15:04 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_LAZY): Delete
(set_value_lazy): Declare.
* value.c (set_value_lazy): Define.
* valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
* gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.

19 years agobfd/ChangeLog:
Alexandre Oliva [Mon, 7 Feb 2005 07:59:34 +0000 (07:59 +0000)]
bfd/ChangeLog:
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for
*ABS*/*UND* sections.
(elf32_frv_relocate_section): Move zero-addend-required error...
(_frv_emit_got_relocs_plt_entries): ... here.  Report error for
missing needed TLS section.
ld/testsuite/ChangeLog:
* ld-frv/fdpic-shared-8-fail.d: Tweak error messages.

19 years ago*** empty log message ***
gdbadmin [Mon, 7 Feb 2005 07:00:05 +0000 (07:00 +0000)]
*** empty log message ***

19 years ago2005-02-06 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 04:50:28 +0000 (04:50 +0000)]
2005-02-06  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_OPTIMIZED_OUT): Delete.
(value_optimized_out, set_value_optimized_out): Declare.
* value.c (set_value_optimized_out, value_optimized_out): Define.
* valprint.c, findvar.c, dwarf2loc.c: Update.

19 years ago * aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:58:27 +0000 (02:58 +0000)]
* aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
symbol was last.

19 years ago * aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:51:28 +0000 (02:51 +0000)]
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
being the last symbol.

19 years ago* elf32-mips.c (mips_elf_gprel32_reloc): Reject
Maciej W. Rozycki [Mon, 7 Feb 2005 02:44:59 +0000 (02:44 +0000)]
* elf32-mips.c (mips_elf_gprel32_reloc): Reject
R_MIPS_GPREL32 relocations against external symbols.
* elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect
comment.

19 years ago* gdb.base/interp.exp: Remove trailing n in gdb_test commands.
Mark Kettenis [Mon, 7 Feb 2005 02:39:45 +0000 (02:39 +0000)]
* gdb.base/interp.exp: Remove trailing n in gdb_test commands.

19 years ago2005-02-06 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 00:09:56 +0000 (00:09 +0000)]
2005-02-06  Andrew Cagney  <cagney@gnu.org>

* value.c (value_contents, value_contents_writeable): New
functions.
* value.h (VALUE_CONTENTS): Delete macro.
(value_contents, value_contents_writeable): Declare.
* xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
* stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
* sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
* rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
* ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
* m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
* jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
* hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
* c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
* cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
* arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
* ada-valprint.c, ada-lang.c: Update.

19 years ago * elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
Alan Modra [Sun, 6 Feb 2005 23:21:44 +0000 (23:21 +0000)]
* elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
* elf.c (bfd_elf_string_from_elf_section): Expand occurrence of
elf_string_from_elf_strtab.
(_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise.
(bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too
if it exists.  Don't do the reverse for SHT_SYMTAB_SHNDX.  For
SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by
looking at cached symtab info first, before iterating over headers.
For SHT_REL and SHT_RELA, load dynsymtab if needed.
* elfcode.h (elf_object_p): Don't load section header stringtab

19 years agodaily update
Alan Modra [Sun, 6 Feb 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 6 Feb 2005 18:11:30 +0000 (18:11 +0000)]
2005-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF
against protected function when building shared library.

PR 584
* elf64-x86-64.c (is_32bit_relative_branch): New.
(elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a
protected function symbol when building shared library for
32bit relative branch instruction.

19 years ago2005-02-03 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 6 Feb 2005 16:22:14 +0000 (16:22 +0000)]
2005-02-03  Andrew Cagney  <cagney@gnu.org>

* utils.c (xzalloc): New function.
* defs.h (XZALLOC): Use xzalloc.
(xzalloc): Declare.
* value.c (allocate_value): Allocate a zeroed buffer.
* mdebugread.c (xzalloc): Delete.

19 years ago * elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
Alan Modra [Sun, 6 Feb 2005 10:29:39 +0000 (10:29 +0000)]
* elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
syms when doing a relocatable link.
(ppc64_elf_gc_mark_hook): Check that syms are defined before looking
at u.def.section.
(ppc64_elf_tls_setup): Likewise.
(ppc64_elf_edit_opd): Don't use an undefined func desc sym.

19 years ago * gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.
Kevin Buettner [Thu, 3 Feb 2005 16:11:38 +0000 (16:11 +0000)]
* gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.

19 years ago * elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
Alan Modra [Thu, 3 Feb 2005 14:48:53 +0000 (14:48 +0000)]
* elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
(link_hash_newfunc): Clear all locals using memset.
(make_fdh): Remove flags param.  Always create fake func desc
weak.  Link the descriptor with the code entry sym.
(ppc64_elf_archive_symbol_lookup): Don't return fake syms.
(add_symbol_adjust): Adjust make_fdh call.
(func_desc_adjust): Likewise.  Twiddle any pre-existing fake
descriptor to strong undefined if code entry is strong.

19 years agobfd/
Alan Modra [Thu, 3 Feb 2005 14:12:49 +0000 (14:12 +0000)]
bfd/
* elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol
lookup here.  Set to new before calling bfd_link_repair_undef_list.
(elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd.
ld/
emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
look up symbol for etree_provide here.

19 years ago * linker.c (_bfd_link_hash_newfunc): Set all local fields.
Alan Modra [Thu, 3 Feb 2005 13:54:30 +0000 (13:54 +0000)]
* linker.c (_bfd_link_hash_newfunc): Set all local fields.

19 years ago * gdb.ada/gnat_ada.gpr: New file.
Joel Brobecker [Thu, 3 Feb 2005 03:58:53 +0000 (03:58 +0000)]
    * gdb.ada/gnat_ada.gpr: New file.
        * gdb.ada/gnat_ada.gin: Delete, no longer used.
        * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
        * configure.ac: No longer generate gnat_ada.gpr.
        * configure: Regenerate.
        * gdb.ada/Makefile.in: Minor adaptations due to new project file.
        * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
        * gdb.ada/null_record/bar.ads: Likewise.
        * gdb.ada/null_record/bar.adb: Likewise.
        * gdb.ada/fixed_points/fixed_points.adb: Likewise.
        * gdb.ada/null_record.exp (testdir): New variable.
        (testfile): executable is now in testdir subdirectory.
        (srcfile): Use full path to the main compilation unit.
        * gdb.ada/fixed_points.exp: Same changes as above.

19 years agoinclude/
Alan Modra [Thu, 3 Feb 2005 03:30:49 +0000 (03:30 +0000)]
include/
* bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak.
* elflink.c (elf_smash_syms): Restore symbols that were undefweak
before the as-needed lib was loaded.  Abort on unexpected refs.

19 years ago*** empty log message ***
gdbadmin [Thu, 3 Feb 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 2 Feb 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 2 Feb 2005 22:34:36 +0000 (22:34 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.h (value_lazy): Declare.
* varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
* cp-valprint.c, breakpoint.c, ada-lang.c: Update.

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 2 Feb 2005 21:36:17 +0000 (21:36 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_CONTENTS_ALL): Delete.
(value_contents_all): Declare.
* value.c (value_contents_all): New function.
* hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
* m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.

19 years agoNew test for interpreter-exec command.
Nick Roberts [Wed, 2 Feb 2005 21:12:03 +0000 (21:12 +0000)]
New test for interpreter-exec command.

19 years ago*** empty log message ***
Nick Roberts [Wed, 2 Feb 2005 21:09:13 +0000 (21:09 +0000)]
*** empty log message ***

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 2 Feb 2005 20:31:35 +0000 (20:31 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.c (value_enclosing_type): New function.
* value.h (VALUE_ENCLOSING_TYPE): Delete.
(value_enclosing_type): Declare.
* xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
* gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.

19 years ago * elflink.c (elf_smash_syms): Expand comments.
Alan Modra [Wed, 2 Feb 2005 02:36:35 +0000 (02:36 +0000)]
* elflink.c (elf_smash_syms): Expand comments.
(elf_link_add_object_symbols): Only call elf_smash_syms for
as-needed dynamic objects.

19 years ago * elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Don't clear everything,
Alan Modra [Wed, 2 Feb 2005 01:39:00 +0000 (01:39 +0000)]
* elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Don't clear everything,
just the fields specific to hppa64.

19 years ago * elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear
Alan Modra [Wed, 2 Feb 2005 01:16:36 +0000 (01:16 +0000)]
* elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear
everything, just the field specific to ia64.

19 years ago2005-02-01 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 2 Feb 2005 00:20:07 +0000 (00:20 +0000)]
2005-02-01  Andrew Cagney  <cagney@gnu.org>

* value.c (value_contents_all_raw)
(value_contents_raw): New functions.
* value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
(value_contents_raw, value_contents_all_raw): Declare functions.
(VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
* std-regs.c, valarith.c, valops.c, eval.c: Update.
* tracepoint.c, findvar.c: Update.

19 years ago*** empty log message ***
gdbadmin [Wed, 2 Feb 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 1 Feb 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-01 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Tue, 1 Feb 2005 14:24:55 +0000 (14:24 +0000)]
2005-02-01  Orjan Friberg  <orjanf@axis.com>

* regformats/reg-cris.dat: New file with register definitions for CRIS.
* regformats/reg-crisv32.dat: Ditto for CRISv32.

19 years agobfd/
Alan Modra [Tue, 1 Feb 2005 04:22:37 +0000 (04:22 +0000)]
bfd/
* elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to..
(make_fdh): ..here.  New function.  Don't set BSF_OBJECT for
undefined syms.
(struct add_symbol_adjust_data): New.
(add_symbol_adjust): Make an undefweak func desc for old ABI
objects to link with --as-needed shared libs.  Return fail status.
Don't adjust old ABI func entry sym to weak if func desc syms
isn't defined.
(ppc64_elf_check_directives): Adjust call to add_symbol_adjust,
and return status.
ld/testsuite/
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

19 years ago * cpu-cris.c (get_compatible): Rearrange disabled code and comment
Hans-Peter Nilsson [Tue, 1 Feb 2005 03:27:59 +0000 (03:27 +0000)]
* cpu-cris.c (get_compatible): Rearrange disabled code and comment
for clarity.

19 years agoinclude/
Alan Modra [Tue, 1 Feb 2005 01:11:22 +0000 (01:11 +0000)]
include/
* bfdlink.h (bfd_link_repair_undef_list): Declare.
bfd/
* elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup..
* linker.c (bfd_link_repair_undef_list): ..to new function, but don't
remove anything but new and undefweak.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Override any
existing _DYNAMIC.
(_bfd_elf_create_dynamic_sections): Formatting.
(bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list.
(_bfd_elf_merge_symbol): Don't handle as-needed syms here.
(struct elf_smash_data): New.
(elf_smash_syms): New function.
(elf_link_add_object_symbols): Call elf_smash_syms.  Don't add
unneeded dynamic objects to loaded list.
(elf_link_output_extsym): Don't handle as-needed here.  Strip
bfd_link_hash_new symbols.
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
delref when dynindx is already -1.
* elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new
symbols.
* elfxx-mips.c (mips_elf_output_extsym): Likewise.
ld/
* ld.texinfo: Clarify --as-needed operation.

19 years ago*** empty log message ***
gdbadmin [Tue, 1 Feb 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.
Ben Elliston [Mon, 31 Jan 2005 23:57:31 +0000 (23:57 +0000)]
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.

19 years ago * aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c,
Ben Elliston [Mon, 31 Jan 2005 23:13:34 +0000 (23:13 +0000)]
* aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c,
bfd-in.h, bfdio.c, coff-alpha.c, coff-arm.c, coff-h8300.c,
coff-i860.c, coff-mcore.c, coff-or32.c, coff-ppc.c, coff-sh.c,
coff-sparc.c, coffcode.h, coffgen.c, cofflink.c, cpu-cris.c,
cpu-h8500.c, cpu-ns32k.c, ecoff.c, ecofflink.c, elf.c,
elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-hppa.c,
elf32-i860.c, elf32-ip2k.c, elf32-m32r.c, elf32-sh.c,
elf32-v850.c, elf64-mips.c, elf64-sparc.c, elflink.c,
i386aout.c, i386msdos.c, i386os9k.c, ieee.c, mach-o.c,
nlm32-sparc.c, oasys.c, opncls.c, pdp11.c, pe-mips.c, peXXigen.c,
pef.c, peicode.h, reloc.c, riscix.c, section.c, simple.c, som.c,
sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, doc/chew.c,
hosts/delta68.h, hosts/vaxbsd.h: Remove #if 0'd code
throughout. Similarly, collapse #if 1'd code.

19 years agodaily update
Alan Modra [Mon, 31 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * elf-bfd.h (bfd_elf_discard_group): Remove.
Ben Elliston [Mon, 31 Jan 2005 22:53:26 +0000 (22:53 +0000)]
* elf-bfd.h (bfd_elf_discard_group): Remove.
* elf.c (bfd_elf_discard_group): Likewise.
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Remove macro.

19 years ago * elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
Richard Sandiford [Mon, 31 Jan 2005 20:39:11 +0000 (20:39 +0000)]
* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
(_bfd_elf_eh_frame_address_size): Declare.
* elfxx-target.h (elf_backend_eh_frame_address_size): Define a default.
(elfNN_bed): Initialize elf_backend_eh_frame_address_size.
* elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Declare.
(elf_backend_eh_frame_address_size): Define.
* elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): New function.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Get the address
size from the new backend hook.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_eh_frame_address_size): New function.

19 years ago2005-01-31 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 31 Jan 2005 20:30:37 +0000 (20:30 +0000)]
2005-01-31  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only set ENABLE_NLS when gettext is present.

19 years ago * elf32-arm.c (elf32_arm_symbian_special_sections): Do not set
Mark Mitchell [Mon, 31 Jan 2005 17:50:20 +0000 (17:50 +0000)]
* elf32-arm.c (elf32_arm_symbian_special_sections): Do not set
SHF_WRITE for .init_array, .fini_array, and .preinit_array.

19 years agoRemove obsolete targets
Nick Clifton [Mon, 31 Jan 2005 17:18:47 +0000 (17:18 +0000)]
Remove obsolete targets

19 years agogas/
Jan Beulich [Mon, 31 Jan 2005 08:48:32 +0000 (08:48 +0000)]
gas/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_operands): Also handle alloc without first
input being ar.pfs.

gas/testsuite/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/pseudo.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

opcodes/
2005-01-31  Jan Beulich  <jbeulich@novell.com>

* ia64-gen.c (NELEMS): Define.
(shrink): Generate alias with missing second predicate register when
opcode has two outputs and these are both predicates.
* ia64-opc-i.c (FULL17): Define.
(ia64_opcodes_i): Add mov-to-pr alias without second input. Use FULL17
here to generate output template.
(TBITCM, TNATCM): Undefine after use.
* ia64-opc-m.c (ia64_opcodes_i): Add alloc alias without ar.pfs as
first input. Add ld16 aliases without ar.csd as second output. Add
st16 aliases without ar.csd as second input. Add cmpxchg aliases
without ar.ccv as third input. Add cmp8xchg16 aliases without ar.csd/
ar.ccv as third/fourth inputs. Consolidate through...
(CMPXCHG_acq, CMPXCHG_rel, CMPXCHG_1, CMPXCHG_2, CMPXCHG_4, CMPXCHG_8,
CMPXCHGn, CMP8XCHG16, CMPXCHG_ALL): Define.
* ia64-asmtab.c: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Mon, 31 Jan 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 30 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 30 Jan 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 29 Jan 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
Baurzhan Ismagulov [Sat, 29 Jan 2005 17:53:26 +0000 (17:53 +0000)]
2005-01-29  Baurzhan Ismagulov  <ibr@radix50.net>

* ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
* buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
* coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.

19 years ago2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
Baurzhan Ismagulov [Sat, 29 Jan 2005 17:42:48 +0000 (17:42 +0000)]
2005-01-29  Baurzhan Ismagulov  <ibr@radix50.net>

* MAINTAINERS: Add myself to "Write After Approval".

19 years ago* configure.ac: Remove extra check for ranlib.
Mark Kettenis [Sat, 29 Jan 2005 12:50:27 +0000 (12:50 +0000)]
* configure.ac: Remove extra check for ranlib.
* configure: Regenerated.

19 years ago * configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*.
Hans-Peter Nilsson [Sat, 29 Jan 2005 04:24:23 +0000 (04:24 +0000)]
* configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*.
<crisv32-*-*, cris-*-*>: Only disable target-newlib and
target-libgloss when not *-*-elf and *-*-aout.
* configure: Regenerate.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 29 Jan 2005 01:59:31 +0000 (01:59 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* language.h (struct language_defn): Make la_val_print's buffer
parameter a const bfd_byte.
* cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
* ada-lang.c (ada_aligned_value_addr)
(ada_value_primitive_packed_val, ada_which_variant_applies): Update.
* valprint.c (val_print_array_elements): Update.
* valprint.h (val_print_array_elements): Update.
* ada-lang.h (ada_val_print, ada_aligned_value_addr)
(ada_value_primitive_packed_val, ada_which_variant_applies): Update.
* ada-valprint.c (ada_val_print, struct ada_val_print_args)
(ada_val_print_1, ada_print_floating, printable_val_type)
(print_record, val_print_packed_array_elements)
(print_field_values, print_variant_part): Update.
* c-lang.h (c_val_print, cp_print_value_fields): Update.
* c-valprint.c (c_val_print): Update.
* f-lang.h (f_val_print): Update.
* f-valprint.c (f_val_print, f77_print_array_1)
(f77_print_array): Update.
* jv-lang.h (java_val_print): Update.
* jv-valprint.c (java_print_value_fields, java_val_print): Update.
* language.c (unk_lang_val_print): Update.
* m2-lang.h (m2_val_print): Update.
* m2-valprint.c (m2_val_print): Update.
* p-lang.h (pascal_val_print): Update.
(pascal_object_print_value_fields): Update.
* p-valprint.c (pascal_val_print)
(pascal_object_print_value_fields, pascal_object_print_value)
(pascal_object_print_value): Update.
* scm-lang.h (scm_val_print): Update.
* scm-valprint.c (scm_val_print): Update.
* value.h (val_print): Update.

19 years ago * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
Hans-Peter Nilsson [Sat, 29 Jan 2005 00:53:13 +0000 (00:53 +0000)]
* Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
(realclean, install): Fail if subdir make failed.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 29 Jan 2005 00:52:02 +0000 (00:52 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* p-lang.h (pascal_object_print_class_member)
(pascal_object_print_class_method): Make buffer a const bfd_byte.
* p-valprint.c (pascal_object_print_class_method)
(pascal_object_print_class_method): Ditto.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 29 Jan 2005 00:11:12 +0000 (00:11 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* language.h (struct language_defn): Make la_printstr's buffer
parameter a const bfd_byte.
* p-lang.h (pascal_printstr): Update function to match.
* ada-valprint.c (ada_printstr): Update function to match.
* scm-lang.c (scm_printstr): Update function to match.
* p-lang.c (pascal_printstr): Update function to match.
* ada-lang.h (ada_printstr): Update function to match.
* m2-lang.c (m2_printstr): Update function to match.
* objc-lang.c (objc_printstr): Update function to match.
* c-lang.h (c_printstr): Update function to match.
* f-lang.c (f_printstr): Update function to match.
* c-lang.c (c_printstr): Update function to match.
* language.c (unk_lang_printstr): Update function to match.

19 years ago*** empty log message ***
gdbadmin [Sat, 29 Jan 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 23:42:28 +0000 (23:42 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
* valprint.h (val_print_type_code_int): Ditto.

19 years agodaily update
Alan Modra [Fri, 28 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 20:50:57 +0000 (20:50 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* objc-lang.h (c_val_print, c_value_print): Delete declarations.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 20:19:54 +0000 (20:19 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* cp-valprint.c (cp_print_class_method)
(cp_print_class_member): Make buffer a const bfd_byte.
* c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 19:56:01 +0000 (19:56 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* ada-lang.c (value_from_contents_and_address)
(to_record_with_fixed_variant_part)
(value_tag_from_contents_and_address, ada_to_fixed_type)
(to_fixed_variant_branch_type, to_fixed_record_type)
(ada_template_to_fixed_record_type, cond_offset_host)
(ada_template_to_fixed_record_type_1): Make buffer a const
bfd_byte.
* ada-lang.h (ada_template_to_fixed_record_type_1)
(value_from_contents_and_address, ada_to_fixed_type): Ditto.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 19:19:10 +0000 (19:19 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 19:03:53 +0000 (19:03 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* printcmd.c (print_scalar_formatted): Update.
* gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.

19 years ago * elf-bfd.h (struct elf_backend_data): Add minpagesize.
Daniel Jacobowitz [Fri, 28 Jan 2005 17:58:24 +0000 (17:58 +0000)]
* elf-bfd.h (struct elf_backend_data): Add minpagesize.
* elf32-arm.c (ELF_MINPAGESIZE): Define.
* elf32-ppc.c (ELF_MINPAGESIZE): Define.
* elfcode.h (elf_object_p): Use minpagesize instead of
maxpagesize.
* elfxx-target.h (ELF_MINPAGESIZE): Default to ELF_MAXPAGESIZE.
(elfNN_bed): Include ELF_MINPAGESIZE.

19 years ago * bfd/bin-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
Julian Brown [Fri, 28 Jan 2005 17:24:38 +0000 (17:24 +0000)]
* bfd/bin-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
* bfd/bin-in2.h (bfd_elf32_arm_set_target_relocs): Update prototype.
* bfd/elf32-arm.c (elf32_arm_link_hash_table): Add fix_v4bx flag.
(bfd_elf32_arm_set_target_relocs): Add formal parameter fix_v4bx for
passing flag value from ld. Set flag value in global hash table entry.
(elf32_arm_final_link_relocate): Add code to implement R_ARM_V4BX
relocation.
* ld/emultempl/armelf.em (fix_v4bx): New variable.
(arm_elf_create_output_section_statements): Communicate fix_v4bx flag
value to bfd.
(PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
(PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
(PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
(PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
* ld/NEWS: Mention --fix-v4bx.
* ld/ld.texinfo: Document --fix-v4bx.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 16:45:16 +0000 (16:45 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* value.h (value_bit_index, print_floating)
(find_rt_vbase_offset): Make buffer a const bfd_byte.
* valprint.c (print_floating): Update.
* valarith.c (value_bit_index): Update.
* valops.c (find_rt_vbase_offset): Update.

19 years agoOops, fixed copyrights.
Andrew Cagney [Fri, 28 Jan 2005 16:23:51 +0000 (16:23 +0000)]
Oops, fixed copyrights.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 16:20:09 +0000 (16:20 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* valprint.h (print_octal_chars, print_char_chars)
(print_hex_chars, print_decimal_chars, print_binary_chars): Make
buffer a const bfd_byte.
* valprint.c (print_binary_chars, print_octal_chars)
(print_decimal_chars, print_hex_chars, print_char_chars): Make
"valaddr"buffer a const bfd_byte, ditto for local variables
referencing that buffer.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 06:40:27 +0000 (06:40 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* m2-valprint.c: Include "c-lang.h".
(c_val_print): Delete extern declaration.
* scm-valprint.c: Include "c-lang.h".
(c_val_print): Delete extern declaration.
Makefile.in: Update dependencies.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 06:29:42 +0000 (06:29 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
bfd_byte.
* cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
(struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
bfd_byte.
* cp-abi.c (baseclass_offset): Update.
* gnu-v2-abi.c (gnuv2_baseclass_offset): Update.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 06:16:49 +0000 (06:16 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* gnu-v2-abi.h: New file.
* gnu-v2-abi.c: Include "gnu-v2-abi.h".
(gnuv2_baseclass_offset): Delete declaration.
* hpacc-abi.c: Include "gnu-v2-abi.h".
(gnuv2_baseclass_offset): Delete extern declaration.
* Makefile.in: Update dependencies.

19 years ago2005-01-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 28 Jan 2005 06:06:27 +0000 (06:06 +0000)]
2005-01-28  Andrew Cagney  <cagney@gnu.org>

* doublest.c (floatformat_is_negative, floatformat_is_nan)
(floatformat_mantissa, get_field): Make the buffer a const
bfd_byte, simplify.

19 years ago * cris: New directory, simulator for Axis Communications CRIS
Hans-Peter Nilsson [Fri, 28 Jan 2005 04:29:00 +0000 (04:29 +0000)]
* cris: New directory, simulator for Axis Communications CRIS
including CRIS v32, CGEN-based.
* configure.ac: Add corresponding configury.
* configure: Regenerate.

19 years ago * syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
Hans-Peter Nilsson [Fri, 28 Jan 2005 03:40:54 +0000 (03:40 +0000)]
* syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
* callback.c [HAVE_LIMITS_H]: Include limits.h.
   Include libiberty.h.
(os_close, os_read, os_write, os_fstat, os_ftruncate): Support fd
being either end of a pipe.
(os_pipe, os_pipe_empty, os_pipe_nonempty): New functions.
(os_shutdown): Clear pipe state.
(default_callback): Initialize new members.

19 years ago * callback.h (struct host_callback_struct): New members pipe,
Hans-Peter Nilsson [Fri, 28 Jan 2005 03:39:28 +0000 (03:39 +0000)]
* callback.h (struct host_callback_struct): New members pipe,
pipe_empty, pipe_nonempty, ispipe, pipe_buffer and
target_sizeof_int.
(CB_SYS_pipe): New macro.

19 years ago * callback.c (default_callback): Initialize target_endian.
Hans-Peter Nilsson [Fri, 28 Jan 2005 03:28:40 +0000 (03:28 +0000)]
* callback.c (default_callback): Initialize target_endian.
(cb_store_target_endian): Renamed from store, new first parameter
host_callback *cb, drop last parameter big_p.  Take endianness
from cb.
(cb_host_to_target_stat): Change to use cb_store_target_endian.
Remove variable big_p.
* nrun.c (main): Initialize default_callback.target_endian.

19 years ago * callback.h: Include "bfd.h".
Hans-Peter Nilsson [Fri, 28 Jan 2005 03:27:02 +0000 (03:27 +0000)]
* callback.h: Include "bfd.h".
(struct host_callback_struct): New member target_endian.
(cb_store_target_endian): Declare.

19 years ago*** empty log message ***
gdbadmin [Fri, 28 Jan 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 27 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 27 Jan 2005 21:48:27 +0000 (21:48 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* value.h (struct value): Change type of contents to bfd_byte.
(VALUE_CONTENTS_RAW): Simplify.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 27 Jan 2005 21:00:59 +0000 (21:00 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (integer_to_address): Change buf parameter to a const
bfd_byte, make pure-multi-arch.
* gdbarch.h, gdbarch.c: Regenerate.
* mips-tdep.c (mips_integer_to_address): Update.
* value.c (value_as_address): Update.

19 years ago * configure.in: Rename to ...
Keith Seitz [Thu, 27 Jan 2005 20:53:45 +0000 (20:53 +0000)]
    * configure.in: Rename to ...
        * configure.ac: ... this.
        * configure: Regnerate.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 27 Jan 2005 20:34:51 +0000 (20:34 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
* cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
parameters const, change buf to a const bfd_byte.
(fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
parameters const.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 27 Jan 2005 20:09:10 +0000 (20:09 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* symfile-mem.c (do_target_read_memory): New function.
(symbol_file_add_from_memory): Pass do_target_read_memory to
bfd_elf_bfd_from_remote_memory.
* corefile.c (write_memory): Update, make a copy of the read-only
buffer.
* target.c (target_read_memory): Update.
(target_write_memory): Update, make a copy of the read-only
buffer.
* gdbcore.h (write_memory): Change buffer type to bfd_byte, make
const.
* target.h (target_read_memory, target_write_memory): Change
buffer type to bfd_byte; for write_memory, make it const.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 27 Jan 2005 16:45:09 +0000 (16:45 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* value.h: Indent using gdb_indent.sh.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 27 Jan 2005 14:48:23 +0000 (14:48 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Don't use NONE as a default for CATOBJEXT.

19 years ago*** empty log message ***
gdbadmin [Thu, 27 Jan 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 26 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 26 Jan 2005 21:53:06 +0000 (21:53 +0000)]
2005-01-26  Andrew Cagney  <cagney@gnu.org>

* rs6000-tdep.c: Include "reggroups.h".
(rs6000_gdbarch_init): Set register_reggroup_p.
(rs6000_register_reggroup_p): New function.

19 years ago2005-01-26 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Wed, 26 Jan 2005 12:32:39 +0000 (12:32 +0000)]
2005-01-26  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (enum cris_num_regs, enum cris_regnums)
(cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
CRISv32.
(crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
(cris_region_ok_for_watchpoint, cris_stopped_data_address)
(crisv32_cannot_fetch_register, crisv32_cannot_store_register)
(crisv32_register_type, cris_special_register_name)
(crisv32_register_name): New functions.
(cris_spec_reg_applicable): Recognize more versions.
(cris_register_name): Update with call to cris_special_register_name.
(find_cris_op): Filter out CRISv32 instructions.  Tweaked comment and
warning when unable to find step target.
(CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
(supply_gregset): Add struct gdbarch_tdep.  Set pseudo-PC register for
CRISv32.
(fetch_core_registers): Update for CRISv32.
(cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
register_name, cannot_store_register, cannot_fetch_register,
have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.

19 years ago(interpreter_exec_cmd): Use condition,
Nick Roberts [Wed, 26 Jan 2005 09:56:18 +0000 (09:56 +0000)]
(interpreter_exec_cmd): Use condition,
e.reason < 0, to raise an error.

19 years ago*** empty log message ***
Nick Roberts [Wed, 26 Jan 2005 09:55:23 +0000 (09:55 +0000)]
*** empty log message ***

19 years ago * elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for
Mark Mitchell [Wed, 26 Jan 2005 06:10:43 +0000 (06:10 +0000)]
* elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for
SymbianOS.

* emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
as to include .ARM.exidx$${Base,Limit}.
* ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
Put .init_array, .fini_array, etc. into the read-only data
segment.