Michael Snyder [Fri, 5 Dec 2003 01:59:55 +0000 (01:59 +0000)]
2003-12-03 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sh.c: Add support for sh4a and no-fpu variants,
with appropriate additions to md_show_usage.
* testsuite/gas/sh/basic.exp: Call tests for sh4a.
* testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s,
err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d,
sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s:
New files, tests for sh4a and related variants.
* doc/c-sh.texi: Document new -isa options.
* doc/c-sh64.texi: Ditto.
* NEWS: Mention new support for sh4a.
Michael Chastain [Fri, 5 Dec 2003 01:53:46 +0000 (01:53 +0000)]
2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
to test_compiler_info.
Joel Brobecker [Fri, 5 Dec 2003 00:45:39 +0000 (00:45 +0000)]
* stabsread.c (read_type): Save a reference to types that are defined
as cross references to other types.
gdbadmin [Fri, 5 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 4 Dec 2003 23:00:07 +0000 (23:00 +0000)]
daily update
H.J. Lu [Thu, 4 Dec 2003 22:48:20 +0000 (22:48 +0000)]
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
H.J. Lu [Thu, 4 Dec 2003 22:43:36 +0000 (22:43 +0000)]
bfd/
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Use the
need_relax_finalize field in link_info instead of
relax_finalizing to check if the relax finalize pass is being
done.
include/
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Change relax_finalizing to
need_relax_finalize.
ld/
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
link_info.need_relax_finalize to TRUE.
* ldlang.c (lang_process): Use link_info.need_relax_finalize
instead of link_info.relax_finalizing.
* ldmain.c (main): Likewise.
DJ Delorie [Thu, 4 Dec 2003 20:03:39 +0000 (20:03 +0000)]
merge from gcc
Nick Clifton [Thu, 4 Dec 2003 18:24:07 +0000 (18:24 +0000)]
Do not copy the object if the output file's format cannot be set to that of
the input file. If the input file's format is unknown, fail.
Nick Clifton [Thu, 4 Dec 2003 17:51:43 +0000 (17:51 +0000)]
Define RELOCATEABLE_OUTPUT_FORMAT
Nick Clifton [Thu, 4 Dec 2003 17:46:24 +0000 (17:46 +0000)]
Change ARM26* to ARM_26* in comments to match definitions.
Replace hard-coded constants with appropriate definitions (ARM_26*).
Alan Modra [Thu, 4 Dec 2003 12:09:25 +0000 (12:09 +0000)]
* ldlang.c (lang_do_assignments): Function return is void.
* ldlang.h (lang_do_assignments): Ditto.
* emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
* Makefile.am (ens32knbsd.c): Depend on netbsd.em.
* Makefile.in: Regenerate.
Alan Modra [Thu, 4 Dec 2003 12:08:42 +0000 (12:08 +0000)]
* coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes.
(mn10300_elf_relax_section): Likewise.
* nlm32-alpha.c (ONES): Define.
(nlm32_alpha_howto_table): Use it to avoid warnings.
Alan Modra [Thu, 4 Dec 2003 11:07:22 +0000 (11:07 +0000)]
* openrisc-asm.c: Regenerate.
* pj-opc.c: Update copyright date.
Michael Chastain [Thu, 4 Dec 2003 04:37:54 +0000 (04:37 +0000)]
2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/so-impl-ld.exp: Update copyright notice.
Alan Modra [Thu, 4 Dec 2003 03:03:27 +0000 (03:03 +0000)]
* elf32-i386.c (elf_i386_object_p): Delete.
(elf_backend_object_p): Don't define.
* elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
* elf32-sh.c (sh_elf_object_p): Likewise.
* elf32-sparc.c (elf32_sparc_object_p): Likewise.
* elf64-alpha.c (elf64_alpha_object_p): Likewise.
* elf64-s390.c (elf_s390_object_p): Likewise.
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.
H.J. Lu [Thu, 4 Dec 2003 00:54:16 +0000 (00:54 +0000)]
2003-11-24 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-alpha.c (s_alpha_end): Don't crash if there is no
matching .ent.
Roland McGrath [Thu, 4 Dec 2003 00:20:51 +0000 (00:20 +0000)]
.
Roland McGrath [Thu, 4 Dec 2003 00:20:25 +0000 (00:20 +0000)]
2003-12-02 Roland McGrath <roland@redhat.com>
* thread-db.c (enable_thread_event): Change return type to
td_err_e. Return TD_OK or error code.
(enable_thread_event_reporting): Update callers.
gdbadmin [Thu, 4 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 3 Dec 2003 23:39:38 +0000 (23:39 +0000)]
* tc.h (md_pcrel_from): Don't declare if defined as a macro.
Alan Modra [Wed, 3 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Wed, 3 Dec 2003 19:53:11 +0000 (19:53 +0000)]
* NEWS: Mention new C++ demangler code.
Andrew Cagney [Wed, 3 Dec 2003 19:37:03 +0000 (19:37 +0000)]
2003-12-03 Andrew Cagney <cagney@redhat.com>
* ppc-linux-nat.c (store_register, fetch_register): Convert
between ptrace and regcache's wordsize.
(ppc_register_u_addr): Use the ptrace wordsize.
DJ Delorie [Wed, 3 Dec 2003 19:03:29 +0000 (19:03 +0000)]
merge from gcc
Nick Clifton [Wed, 3 Dec 2003 17:42:12 +0000 (17:42 +0000)]
oops - forogot to mention the new support here.
Nick Clifton [Wed, 3 Dec 2003 17:38:48 +0000 (17:38 +0000)]
Add support for the M32R2 processor.
Nick Clifton [Wed, 3 Dec 2003 15:07:17 +0000 (15:07 +0000)]
Add vax-linux-gnu target
Nick Clifton [Wed, 3 Dec 2003 10:48:53 +0000 (10:48 +0000)]
Add "msp" to list of expected architectures.
Nick Clifton [Wed, 3 Dec 2003 10:44:50 +0000 (10:44 +0000)]
(HEAP_SECTION_MSP430): New section for forthcoming devices.
(_etext): provide this defenition for all scripts.
Kevin Buettner [Wed, 3 Dec 2003 04:50:33 +0000 (04:50 +0000)]
* frv-tdep.c (frv_gdbarch_init): Add case for fr550.
Kazu Hirata [Wed, 3 Dec 2003 03:39:58 +0000 (03:39 +0000)]
* messages.c: Convert to ISO-C.
* obj.h: Likewise.
* output-file.c: Likewise.
* output-file.h: Likewise.
* sb.c: Likewise.
* sb.h: Likewise.
* stabs.c: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* tc.h: Likewise.
Kazu Hirata [Wed, 3 Dec 2003 03:25:36 +0000 (03:25 +0000)]
* emultempl/beos.em: Remove ARGSUSED.
Kazu Hirata [Wed, 3 Dec 2003 03:20:13 +0000 (03:20 +0000)]
* config/obj-elf.c: Remove ARGSUSED.
Kazu Hirata [Wed, 3 Dec 2003 03:15:14 +0000 (03:15 +0000)]
* alpha-opc.c: Remove ARGSUSED.
* i370-opc.c: Likewise.
* ppc-opc.c: Likewise.
gdbadmin [Wed, 3 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 2 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 2 Dec 2003 23:00:00 +0000 (23:00 +0000)]
Rename bfd_link_hash_entry field "next" -> "und_next".
Michael Chastain [Tue, 2 Dec 2003 17:53:58 +0000 (17:53 +0000)]
2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
to test_compiler_info.
Michael Chastain [Tue, 2 Dec 2003 17:03:30 +0000 (17:03 +0000)]
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
from current versions of gdb. Clean up regular expressions.
Delete redundant timeout case.
Michael Chastain [Tue, 2 Dec 2003 16:57:16 +0000 (16:57 +0000)]
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/nondebug.exp: Match and KFAIL the output that comes
from current versions of gdb. Clean up regular expressions.
Delete redundant timeout case.
Daniel Jacobowitz [Tue, 2 Dec 2003 16:41:39 +0000 (16:41 +0000)]
* dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
(dwarf_line_offset, dwarf_pubnames_offset, dwarf_aranges_offset)
(dwarf_loc_offset, dwarf_macinfo_offset, dwarf_str_offset)
(dwarf_ranges_offset, dwarf_frame_offset, dwarf_eh_frame_offset):
Delete.
(dwarf2_read_section): Remove offset and size arguments. Use
bfd_get_section_size_before_reloc and sectp->filepos.
(dwarf2_has_info): Clear section variables instead of offsets.
(dwarf2_locate_sections): Don't initialize the deleted variables.
(dwarf2_build_psymtabs): Update calls to dwarf2_read_section.
(dwarf2_build_psymtabs_easy): Likewise.
* dwarf2-frame.c (dwarf_frame_offset, dwarf_frame_size)
(dwarf_eh_frame_offset, dwarf_eh_frame_size): Remove extern
declarations.
(dwarf2_read_section): Update prototype.
(dwarf2_build_frame_info): Update calls to dwarf2_read_section.
Use bfd_get_section_size_before_reloc instead of global size
variables.
Nick Clifton [Tue, 2 Dec 2003 15:38:46 +0000 (15:38 +0000)]
Update docs to reflect fact the --undefined-symbols==ignore-all is no longer
the default for shared libraries and dynamic executables.
Nick Clifton [Tue, 2 Dec 2003 10:49:14 +0000 (10:49 +0000)]
Add alternative defintion of C_WEAKEXT for AIX 5.2
Nick Clifton [Tue, 2 Dec 2003 10:49:10 +0000 (10:49 +0000)]
Add Romanian translation for bfd.
Alan Modra [Tue, 2 Dec 2003 08:14:35 +0000 (08:14 +0000)]
make "dep-am"
Alan Modra [Tue, 2 Dec 2003 05:58:36 +0000 (05:58 +0000)]
* bfdlink.h (struct bfd_link_info): Remove mpc860c0 field.
Alan Modra [Tue, 2 Dec 2003 05:58:11 +0000 (05:58 +0000)]
* ldmain.c (main): Remove mpc860c0 code.
* lexsup.c (enum option_values): Delete OPTION_MPC860C0.
(ld_options): Delete mpc860c0 entry.
(parse_args): Likewise.
gdbadmin [Tue, 2 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Mon, 1 Dec 2003 23:54:49 +0000 (23:54 +0000)]
merge from gcc
Alan Modra [Mon, 1 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Michael Chastain [Mon, 1 Dec 2003 22:09:06 +0000 (22:09 +0000)]
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/callfuncs.exp (do_function_calls): Replace reference to
gcc_compiled with call to test_compiler_info.
Michael Chastain [Mon, 1 Dec 2003 22:03:12 +0000 (22:03 +0000)]
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
* dwarfread.c: Update documentation on the state of dwarf-1.
Andrew Cagney [Mon, 1 Dec 2003 21:10:46 +0000 (21:10 +0000)]
2003-12-01 Andrew Cagney <cagney@redhat.com>
Obsolete old MIPS SVr3 and SVr4 systems.
* NEWS: Mention obsoleted systems.
* configure.tgt: Mark mips*-*-sysv4* as obsolete.
* configure.host: Mark mips-dec-*, mips-little-*, mips-sony-*,
mips-*-sysv4*, mips-*-sysv*, mips-*-riscos* and mips-*-mach3* as
obsolete.
* config/mips/decstation.mh: Mark as obsolete.
* config/mips/littlemips.mh: Mark as obsolete.
* config/mips/nm-mips.h: Mark as obsolete.
* config/mips/xm-mips.h: Mark as obsolete.
* config/mips/news-mips.mh: Mark as obsolete.
* config/mips/nm-news-mips.h: Mark as obsolete.
* config/mips/riscos.mh: Mark as obsolete.
* config/mips/nm-riscos.h: Mark as obsolete.
* config/mips/xm-riscos.h: Mark as obsolete.
* config/mips/mipsv4.mt: Mark as obsolete.
* config/mips/tm-mipsv4.h: Mark as obsolete.
* config/mips/xm-mipsv4.h: Mark as obsolete.
Nick Clifton [Mon, 1 Dec 2003 18:46:21 +0000 (18:46 +0000)]
Set page_size to 1 instead of 0 in the case file alignment value is zero.
Andrew Cagney [Mon, 1 Dec 2003 14:53:42 +0000 (14:53 +0000)]
2003-12-01 Andrew Cagney <cagney@redhat.com>
Obsolete old m68k systems.
* configure.host: Mark m68*-sun-*, m68*-sun-sunos4*,
m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*,
m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and
m680[01]0-sun-sunos3* as obsolete.
* configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*,
m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*,
m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete.
* config/m68k/sun3os4.mh: Mark file obsolete.
* config/m68k/xm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mh: Mark file obsolete.
* config/m68k/nm-sun3.h: Mark file obsolete.
* config/m68k/xm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mh: Mark file obsolete.
* config/m68k/sun2os3.mh: Mark file obsolete.
* config/m68k/nm-sun2.h: Mark file obsolete.
* config/m68k/xm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mh: Mark file obsolete.
* config/m68k/nm-sysv4.h: Mark file obsolete.
* config/m68k/xm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mh: Mark file obsolete.
* config/m68k/nm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mh: Mark file obsolete.
* config/m68k/xm-dpx2.h: Mark file obsolete.
* config/m68k/nm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mh: Mark file obsolete.
* config/m68k/xm-delta68.h: Mark file obsolete.
* config/m68k/nm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mh: Mark file obsolete.
* config/m68k/xm-3b1.h: Mark file obsolete.
* config/m68k/sun3os4.mt: Mark file obsolete.
* config/m68k/tm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mt: Mark file obsolete.
* config/m68k/tm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mt: Mark file obsolete.
* config/m68k/tm-sun2os4.h: Mark file obsolete.
* config/m68k/sun2os3.mt: Mark file obsolete.
* config/m68k/tm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mt: Mark file obsolete.
* config/m68k/tm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mt: Mark file obsolete.
* config/m68k/tm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mt: Mark file obsolete.
* config/m68k/tm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mt: Mark file obsolete.
* config/m68k/tm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mt: Mark file obsolete.
* config/m68k/tm-3b1.h: Mark file obsolete.
Kaz Kojima [Mon, 1 Dec 2003 12:01:22 +0000 (12:01 +0000)]
* ld-sh/sh64/shmix-1.s: Add align to match data alignment.
* ld-sh/sh64/shmix-3.s: Likewise.
* ld-sh/sh64/mix1.sd: Update.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix1-noexp.sd: Likewise.
* ld-sh/sh64/mix2.sd: Likewise.
* ld-sh/sh64/mix2.xd: Likewise.
* ld-sh/sh64/mix2-noexp.sd: Likewise.
Kaz Kojima [Mon, 1 Dec 2003 11:59:14 +0000 (11:59 +0000)]
* gas/sh/basic.exp: Define ASFLAGS appropriately and don't do
dsp test for sh64/sh5 targets.
* gas/sh/sh64/crange1.s: Tidy up to match data alignment.
* gas/sh/sh64/crange1-1.d: Update.
* gas/sh/sh64/crange1-2.d: Likewise.
* gas/sh/sh64/datal32-3.d: Likewise.
* gas/sh/sh64/datal64-3.d: Likewise.
* gas/sh/sh64/localcom-1.d: Likewise.
Alan Modra [Mon, 1 Dec 2003 06:56:51 +0000 (06:56 +0000)]
Update for changed section alignment.
Kazu Hirata [Mon, 1 Dec 2003 06:33:01 +0000 (06:33 +0000)]
* coff-rs6000.c: Remove ARGSUSED and VARARGS.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* elf32-vax.c: Likewise.
* hash.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.
* ihex.c: Likewise.
* netbsd-core.c: Likewise.
* osf-core.c: Likewise.
* pdp11.c: Likewise.
* ptrace-core.c: Likewise.
* sco5-core.c: Likewise.
* section.c: Likewise.
* sunos.c: Likewise.
* trad-core.c: Likewise.
Alan Modra [Mon, 1 Dec 2003 06:28:56 +0000 (06:28 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
hash table type rather than testing creator flavour.
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Only create stub_file bfd if hash table creator is as expected.
(gld${EMULATION_NAME}_finish): Test stub_file.
Alan Modra [Mon, 1 Dec 2003 06:28:24 +0000 (06:28 +0000)]
* elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
* elf.c (_bfd_elf_merge_sections): Adjust to suit.
(_bfd_elf_link_just_syms): Likewise.
(bfd_elf_get_needed_list): Likewise.
(bfd_elf_get_runpath_list): Likewise.
(_bfd_elf_link_hash_copy_indirect): Remove unneeded parens.
* elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab
creator flavour.
(elf32_hppa_set_gp): Look up output sections rather than using htab.
* elf32-i960.c: Comment fix. Formatting.
* elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table
rather than testing creator flavour.
* elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
* elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for
is_elf_hash_table change. Remove redundant test.
(bfd_elf_record_link_assignment): Use is_elf_hash_table rather than
testing creator flavour.
(elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table.
(_bfd_elf_fix_symbol_flags): Likewise.
(_bfd_elf_adjust_dynamic_symbol): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant
checks. Use is_elf_hash_table rather than testing creator flavour.
Use hash_table throughout in place of info->hash.
(elf_add_dynamic_entry): Adjust for is_elf_hash_table change.
(NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant
check.
(elf_bfd_final_link): Adjust for is_elf_hash_table change.
(elf_link_check_versioned_symbol): Use is_elf_hash_table rather than
testing creator flavour.
(elf_gc_sections): Add is_elf_hash_table check.
(elf_gc_common_finalize_got_offsets): Likewise.
(elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove
redundant check.
* elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table
rather than testing creator flavour.
gdbadmin [Mon, 1 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Michael Chastain [Sun, 30 Nov 2003 23:13:34 +0000 (23:13 +0000)]
2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/list.exp (test_list_function): Delete unused declaration
of gcc_compiled.
Alan Modra [Sun, 30 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Sun, 30 Nov 2003 19:07:12 +0000 (19:07 +0000)]
* symbols.c: Convert to ISO-C.
* symbols.h: Likewise.
Kazu Hirata [Sun, 30 Nov 2003 18:40:41 +0000 (18:40 +0000)]
* ChangeLog: Fix typos.
* ecoff.c: Fix comment typos.
* ecofflink.c: Likewise.
* format.c: Likewise.
* hp300hpux.c: Likewise.
* i386linux.c: Likewise.
* ieee.c: Likewise.
* m68klinux.c: Likewise.
* mach-o.h: Likewise.
* mipsbsd.c: Likewise.
* oasys.c: Likewise.
* opncls.c: Likewise.
* peXXigen.c: Likewise.
* reloc.c: Likewise.
* reloc16.c: Likewise.
* section.c: Likewise.
* simple.c: Likewise.
* som.c: Likewise.
* som.h: Likewise.
* sparclinux.c: Likewise.
* srec.c: Likewise.
* syms.c: Likewise.
* targets.c: Likewise.
* tekhex.c: Likewise.
* versados.c: Likewise.
* vms-gsd.c: Likewise.
* vms-hdr.c: Likewise.
* vms-misc.c: Likewise.
* xcofflink.c: Likewise.
* xsym.h: Likewise.
* bfd-in2.h: Regenerate.
Michael Chastain [Sun, 30 Nov 2003 06:50:49 +0000 (06:50 +0000)]
2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/complex.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
gdbadmin [Sun, 30 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sat, 29 Nov 2003 13:55:17 +0000 (13:55 +0000)]
* gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
it to create the appropriate note.inc.
* gdb.asm/asmsrc1.s: Include "note.inc".
* gdb.asm/netbsd.inc: New file.
* gdb.asm/empty.inc: New file.
Michael Chastain [Sat, 29 Nov 2003 06:56:06 +0000 (06:56 +0000)]
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/constvars.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
Ian Lance Taylor [Sat, 29 Nov 2003 04:03:22 +0000 (04:03 +0000)]
* cxxfilt.c (usage): Mention new -p/--no-params options.
Mark Kettenis [Sat, 29 Nov 2003 00:54:41 +0000 (00:54 +0000)]
* x86-64-tdep.c (MAX_CLASSES): Remove macro.
(x86_64_reg_class): Remove enum.
(merge_classes, classify_argument, examine_argument): Remove
functions.
(INT_REGS, SSE_REGS): Remove macros.
(x86_64_push_arguments): Remove function.
(amd64_push_arguments): New function.
(x86_64_push_dummy_call): Call amd64_push_arguments instead of
x86_64_push_arguments.
gdbadmin [Sat, 29 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 28 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Christian Groessler [Fri, 28 Nov 2003 20:12:17 +0000 (20:12 +0000)]
* z8k-dis.c: Convert to ISO C90.
* z8kgen.c: Convert to ISO C90.
(opt): Move long opcode for "ldb rdb,imm8" after short one, now
the short one is created when assembling.
* z8k-opc.h: Regenerate with new z8kgen.c.
Christian Groessler [Fri, 28 Nov 2003 20:10:18 +0000 (20:10 +0000)]
* config/tc-z8k.c: Convert to ISO-C.
* config/tc-z8k.h: Likewise.
Christian Groessler [Fri, 28 Nov 2003 20:07:44 +0000 (20:07 +0000)]
* cpu-z8k.c: Convert to ISO C90.
* coff-z8k.c: Likewise.
Nick Clifton [Fri, 28 Nov 2003 08:47:07 +0000 (08:47 +0000)]
Fix building for FreeBSD
Alan Modra [Fri, 28 Nov 2003 04:58:41 +0000 (04:58 +0000)]
* Makefile.am (install-exec-local): Remove common term from string
comparison.
* Makefile.in: Regenerate.
* doc/Makefile.am: Don't use $<.
* doc/Makefile.in: Regenerate.
Michael Chastain [Fri, 28 Nov 2003 03:31:24 +0000 (03:31 +0000)]
2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/volatile.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
gdbadmin [Fri, 28 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Thu, 27 Nov 2003 23:33:07 +0000 (23:33 +0000)]
* x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
zero. Reorganize code a bit.
Alan Modra [Thu, 27 Nov 2003 23:00:12 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 27 Nov 2003 20:50:43 +0000 (20:50 +0000)]
* dwarf2-frame.c: Fix another comment.
Mark Kettenis [Thu, 27 Nov 2003 20:40:52 +0000 (20:40 +0000)]
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
pattern for the KFAILs.
Mark Kettenis [Thu, 27 Nov 2003 20:35:38 +0000 (20:35 +0000)]
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
(x86_64_use_struct_convention, x86_64_extract_return_value,
x86_64_store_return_value): Remove.
(amd64_reg_class): New enum.
(amd64_merge_classes, amd64_classify_aggregate, amd64_classify,
amd64_return_value): New functions.
(x86_64_init_abi): Don't set extract_return_value,
store_return_value and use_struct_convention. Set return_value to
amd64_return_value.
* i387-tdep.h (i387_return_value): New prototype.
* i387-tdep.c (i387_return_value): New function.
Jeff Johnston [Thu, 27 Nov 2003 19:18:38 +0000 (19:18 +0000)]
2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add license info for long long routines added to
stdlib.
Kazu Hirata [Thu, 27 Nov 2003 19:14:41 +0000 (19:14 +0000)]
* read.c: Convert to ISO-C.
* read.h: Likewise.
Kazu Hirata [Thu, 27 Nov 2003 18:49:39 +0000 (18:49 +0000)]
* elf32-arm.h: Fix comment typos.
* elf32-d30v.c: Likewise.
* elf32-dlx.c: Likewise.
* elf32-h8300.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-m68hc11.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mips.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sparc.c: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfn32-mips.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
Mark Kettenis [Thu, 27 Nov 2003 17:17:04 +0000 (17:17 +0000)]
* dwarf2-frame.c: Fix some comments and whitespace problems.
Alexandre Oliva [Thu, 27 Nov 2003 16:43:25 +0000 (16:43 +0000)]
* elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
Add link info argument.
* elf32-i370.c (elf_backend_modify_segment_map): Likewise.
* elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
* elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
* elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
* elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
* elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
* elf.c (assign_file_positions_except_relocs,
assign_file_positions_for_segments): Likewise. Adjust calls.
Mark Kettenis [Thu, 27 Nov 2003 13:28:50 +0000 (13:28 +0000)]
* i386nbsd-tdep.c: Don't include "gdbtypes.h". Include
"gdb_assert.h" and "gdb_string.h".
(i386nbsd_r_reg_offset): Rename from regmap.
(SIZEOF_STRUCT_REG): Remove.
(i386nbsd_supply_reg, fetch_core_registers,
fetch_elfcore_registers, i386nbsd_core_fns, i386nbsd_elfcore_fns):
Remove.
(i386nbsd_aout_supply_regset,
i386nbsd_aout_regset_from_core_section): New functions.
(i386nbsd_sc_reg_offset): Don't explicitly specify size of array.
(i386nbsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs amd sizeof_gregset. Use ARRAY_SIZE to
initialize TDEP->sc_num_regs.
(i386nbsdaout_init_abi): New function.
(i386nbsdelf_init_abi): Remove initialization of
TDEP->num_xmm_regs. Don't set num_regs here.
(_initialize_i386nbsd_tdep): Don't call add_core_fns. Use
i386nbsd_aout_init to register NetBSD a.out OS/ABI.
Mark Kettenis [Thu, 27 Nov 2003 12:43:36 +0000 (12:43 +0000)]
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
.note.netbsdcore.procinfo section to recognize NetBSD core files.
Mark Kettenis [Thu, 27 Nov 2003 12:28:35 +0000 (12:28 +0000)]
* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
of the note.
Nick Clifton [Thu, 27 Nov 2003 08:29:29 +0000 (08:29 +0000)]
Check for alignment when emitting constants on the sh-elf target
Nick Clifton [Thu, 27 Nov 2003 08:24:01 +0000 (08:24 +0000)]
Ensure that we have write permission before overwriting a file.
Alexandre Oliva [Thu, 27 Nov 2003 02:30:55 +0000 (02:30 +0000)]
* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
referencing symbol in a different section.
Alexandre Oliva [Thu, 27 Nov 2003 02:30:17 +0000 (02:30 +0000)]
* gas/frv/reloc1.[sd]: Test references to external symbols and
inter-section references too.
DJ Delorie [Thu, 27 Nov 2003 01:17:34 +0000 (01:17 +0000)]
merge from gcc