Commit Graph

41286 Commits

Author SHA1 Message Date
Dave Brolley ac7c07acea 2003-10-06 Dave Brolley <brolley@redhat.com>
* frv.cpu, frv.opc: Add support for fr550.
2003-10-08 17:53:40 +00:00
Thiemo Seufer 6a69177919 * elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code
for non-SGI N64 ABI. Improve code consitency.
2003-10-08 17:36:19 +00:00
Nick Clifton 05da430218 * as.c (use_gnu_debug_info_extensions) : New variable.
(parse_args) : Accept new --gstabs+ option, and set `use_gnu_debug_info_extensions'.
 (show_usage) : Document --gstabs+ option.
* as.h (use_gnu_debug_info_extensions) : New extern declaration.
* stabs.c (stabs_generate_asm_file) : If `use_gnu_debug_info_extensions' is set
  add the compilation directory to the stabs debug info.
* doc/as.texinfo : Document --gstabs+ option.
* NEWS: Mention new feature.
2003-10-08 14:37:20 +00:00
Nick Clifton e62eb3ee7e lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment describing defaults.
Change default to report unresolved symbols in object files as well.
2003-10-08 13:52:33 +00:00
Nick Clifton afa105f875 Include bfd_elf64_sparc_vec if BFD64 is enabled. 2003-10-08 13:50:23 +00:00
Hans-Peter Nilsson 6a33aff473 * ldexp.c (fold_name) <case DEFINED>: Set section of result to
abs_output_section.
2003-10-08 12:40:26 +00:00
Hans-Peter Nilsson b8fe28d49f * ld-scripts/defined2.d, ld-scripts/defined2.t: New test.
* ld-scripts/defined.exp: Run defined2.
2003-10-08 12:35:18 +00:00
Kazuhiro Inaoka 15c69bc792 2003-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
* m32r-tdep.c : Include "dis-asm.h".
	* Makefile.in (m32r-tdep.o): Update dependencies.
2003-10-08 02:54:31 +00:00
Kazuhiro Inaoka 73e8eb5189 2003-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
* m32r-tdep.c : Include "dis-asm.h".
	* Makefile.in (m32r-tdep.o): Update dependencies.
2003-10-08 02:41:49 +00:00
Alan Modra 737646b59a daily update 2003-10-08 00:00:17 +00:00
gdbadmin 30551ddad2 *** empty log message *** 2003-10-08 00:00:02 +00:00
Bob Wilson 398b851510 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
	zero for relocatable links.
2003-10-07 23:30:20 +00:00
Alexandre Oliva b15b52efa3 * elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's
rightshift to 2.
2003-10-07 19:17:23 +00:00
Dave Anglin c0d48c0b48 * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
* ld-elfvsb/elfvsb.exp: xfail non-pic shared library tests for
	non 64-bit hppa*-*-linux* targets.
	* ld-elfvsb/main.c (main_visibility_check): Cast value returned by
	visibility_funptr () to a function pointer.
	* ld-shared/shared.exp: xfail shared (non PIC), shared (non PIC, load
	offset), and shared (PIC main, non PIC so) tests for non 64-bit
	hppa*-*-linux* targets.
2003-10-07 17:30:02 +00:00
Corinna Vinschen aec24853b5 * gdb.base/ending-run.exp: Add sh specific case. 2003-10-07 16:02:16 +00:00
Nathan Sidwell 29ca8dc5bb bfd/Changelog:
* libbfd-in.h (_bfd_link_section_stabs): Add string offset
	parameter.
	* cofflink.c (coff_link_add_symbols): Deal with split stab
	sections.
	* elflink.h (elf_link_add_object_symbols): Deal with split stab
	sections.
	* stabs.c (_bfd_link_section_stabs): Add string offset parameter.
	* libbfd.h: Regenerated.
ld/ChangeLog:
	* ldwrite.c (unsplittable_name): New.
	(clone_section): Strip existing numeric suffix. Only truncate names
	for coff targets.
	(split_sections): Use unsplittable_name.
binutils/ChangeLog:
	* objdump.c (read_section_stabs): Just read one section, return
	pointer to it. Add size parameter.
	(print_section_stabs): Add string offset parameter. Adjust.
	(struct stab_section_names): Add string offset member.
	(find_stabs_sections): Correct check for split section suffix,
	adjust read_section_stabs and print_section_stabs calls.
	(dump_stabs_section): Clear string_offset, free string table.
2003-10-07 08:53:42 +00:00
Nathan Sidwell cd339148de * coffcode.h (coff_set_alignment_hook): With PE_COFF reloc
overflow, set reloc start position to after the count
	reloc. Subtract one from num relocs. Give error on 0xffff relocs
	and no overflow.
	* cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc
	overflow.
	* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >=
	0xffff.
2003-10-07 08:49:11 +00:00
gdbadmin 2f9626f3fd *** empty log message *** 2003-10-07 00:00:31 +00:00
Alan Modra af983fa3e0 daily update 2003-10-07 00:00:18 +00:00
Joel Brobecker 51065942b4 * completer.h (get_gdb_completer_word_break_characters): Delete.
* completer.c: include language.h.
        (gdb_completer_word_break_characters): Delete.
        (get_gdb_completer_word_break_characters): Delete.
        (location_completer): Use the word break characters of the current
        language.
        (complete_line): Likewise.
        (line_completion_function): Likewise.
        (skip_quoted_chars): Likewise.
        * Makefile.in (completer.o): Add dependency on language.h.
        * top.c (init_main): Set the readline word break characters
        to GDB's default word break characters.
2003-10-06 22:41:17 +00:00
Joel Brobecker 6084f43ac2 * language.h (language_defn): new field, la_word_break_characters.
* language.c (unknown_language_defn): Set new field to
        default_word_break_characters.
        (auto_language_defn): Likewise.
        (local_language_defn): Likewise.
        * ada-lang.c (ada_language_defn): Likewise.
        * c-lang.c (c_language_defn): Likewise.
        (cplus_language_defn): Likewise.
        (asm_language_defn): Likewise.
        (minimal_language_defn): Likewise.
        * f-lang.c (f_language_defn): Likewise.
        * jv-lang.c (java_language_defn): Likewise.
        * m2-lang.c (m2_language_defn): Likewise.
        * objc-lang.c (objc_language_defn): Likewise.
        * p-lang.c (pascal_language_defn): Likewise.
        * scm-lang.c (scm_language_defn): Likewise.
2003-10-06 22:38:03 +00:00
Andrew Cagney 944fcfab56 2003-10-06 Andrew Cagney <cagney@redhat.com>
* ppc-sysv-tdep.c: Re-indent.
2003-10-06 22:23:47 +00:00
Joel Brobecker 9f0a53037d * language.h (default_word_break_characters): Add prototype.
* language.c (default_word_break_characters): New function.
2003-10-06 22:21:52 +00:00
Andreas Schwab 7270b6ed5a * i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl
with %eax.
2003-10-06 21:58:20 +00:00
Andrew Cagney a5d61f6618 2003-10-06 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and
	"h8500-tdep.c".
	(z8k-tdep.o): Delete custom build rule.
2003-10-06 21:56:40 +00:00
Andrew Cagney 1bfd8a8364 2003-10-06 Andrew Cagney <cagney@redhat.com>
* Makefile.in: Update all dependencies.
2003-10-06 20:43:39 +00:00
Andrew Cagney 17144ef849 2003-10-06 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted.
	No longer list PA as as obsolete candidate.  List m32r as
	broken instead of obsolete.
2003-10-06 20:38:17 +00:00
Andrew Cagney a5679ae50d 2003-10-06 Andrew Cagney <cagney@redhat.com>
* config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files.
	* config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto.
	* config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto.
	* config/i386/ptx.mt, config/i386/ptx4.mh: Ditto.
	* config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto.
	* config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto.
	* config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto.
	* config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
	* config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto.
	* config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto.
	* config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto.
	* config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto.
	* config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto.
	* config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto.
	* config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto.
	* config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto.
	* config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto.
	* config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto.
	* config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto.
	* config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto.
	* config/z8k/z8k.mt: Ditto.
2003-10-06 20:23:41 +00:00
Andrew Cagney 4a8269c0f0 2003-10-06 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*,
	h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*,
	mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*,
	i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and
	sparclite were removed.
	* configure.host, configure.tgt: Remove corresponding tuples.
2003-10-06 19:47:21 +00:00
Andrew Cagney adc7428d50 2003-10-06 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
	* gdb.disasm/mn10200.exp: Delete obsolete file.
2003-10-06 19:31:43 +00:00
Andrew Cagney 41989fcd80 2003-10-06 Andrew Cagney <cagney@redhat.com>
* breakpoint.c, breakpoint.h: Remove obsolete code and comments.
	* buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto.
	* monitor.c, sparc-tdep.c, stabsread.c: Ditto.
	* stabsread.h, xcoffread.c: Ditto.
2003-10-06 19:27:13 +00:00
Andrew Cagney 28a86f5cc0 2003-10-06 Andrew Cagney <cagney@redhat.com>
* z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file.
	* sparclet-stub.c, sparclet-rom.c: Delete obsolete file.
	* sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file.
	* m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file.
2003-10-06 19:10:44 +00:00
H.J. Lu 10cf14ea3d 2003-10-06 H.J. Lu <hongjiu.lu@intel.com>
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the
	last CIE/FDE if needed.
2003-10-06 18:10:48 +00:00
David Lecomber 4efdaa0dd7 2003-10-06 David Lecomber <dsl@sources.redhat.com>
* f-valprint.c: Reformatting
2003-10-06 15:51:08 +00:00
David Lecomber 7b0090c39d 2003-10-06 David Lecomber <dsl@sources.redhat.com>
* f-valprint.c: Reformatting
2003-10-06 15:49:43 +00:00
Nick Clifton 854770991f lexsup.c (parse_args): Report unresolved symbols in shared libraries when
creating a dynamic executable.  This is a restoration of the default behaviour
for previous versions of the linker.
2003-10-06 11:07:08 +00:00
Nick Clifton 85cf2a8a15 Change target of hppa-netbsd port 2003-10-06 11:01:36 +00:00
Nick Clifton 249dba3eb2 Fix macro tests to ignore section symbols 2003-10-06 10:18:41 +00:00
Nick Clifton 4615568e51 Add i386-knetbsd-gnu triplet. 2003-10-06 09:12:39 +00:00
gdbadmin a6ebc044d5 *** empty log message *** 2003-10-06 00:00:31 +00:00
Alan Modra 53c4dcd4e7 daily update 2003-10-06 00:00:15 +00:00
Mark Kettenis a8bb57e724 * x86-64-tdep.c: Remove duplicate comment. 2003-10-05 22:54:10 +00:00
Mark Kettenis ae53de438e * x86-64-tdep.c (x86_64_store_return_value): Don't use
DEPRECATED_REGISTER_RAW_SIZE.  Use symbolic names for register
names for return values.  This fixes a bug since we looked at %rbx
instead of %rdx.
2003-10-05 22:13:24 +00:00
Mark Kettenis 2c261faeaa * x86-64-tdep.c: Include "regset.h". 2003-10-05 22:02:49 +00:00
Mark Kettenis 473f17b043 * i386-tdep.h (struct gdbarch_tdep): Add members gregset,
gregset_reg_offset, gregset_num_regs, sizeof_gregset, fpregset,
sizeof_fpregset.
* i386-tdep.c: Include "regset.h".
(i386_supply_gregset): New function.
(i386_supply_fpregset): New function.
(i386_gdbarch_init): Initialze register set-related members of
TDEP.
* x86-64-tdep.c (x86_64_supply_fpregset): New function.
(x86_64_init_abi): Initialize TDEP->sizeof_fpregset.
2003-10-05 21:31:33 +00:00
Nick Clifton c205944638 Revert -f change 2003-10-05 08:58:01 +00:00
Alan Modra 6e9d894a7f daily update 2003-10-05 00:00:15 +00:00
gdbadmin 4e941ec804 *** empty log message *** 2003-10-05 00:00:01 +00:00
Christian Groessler 249ad7a71f 2003-10-04 Christian Groessler <chris@groessler.org>
* gas/z8k/calr-backf.s: New file.
	* gas/z8k/calr-forwf.s: New file.
	* gas/z8k/calr.d: New file.
	* gas/z8k/calr.s: New file.
	* gas/z8k/djnz-backf.s: New file.
	* gas/z8k/djnz-backf2.s: New file.
	* gas/z8k/djnz.d: New file.
	* gas/z8k/djnz.s: New file.
	* gas/z8k/jr-back.d: New file.
	* gas/z8k/jr-forw.d: New file.
	* gas/z8k/jr-back.s: Fix displacement length. Add some more jumps
	for jr-back.d.
	* gas/z8k/jr-backf.s: Fix displacement length.
	* gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps
	for jr-forw.d.
	* gas/z8k/jr-forwf.s: Fix displacement length.
	* gas/z8k/z8k.exp: Run new tests.
2003-10-04 21:11:47 +00:00
Christian Groessler a72d6b4e2a 2003-10-04 Christian Groessler <chris@groessler.org>
* tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness.
	(md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases.
	(md_pcrel_from): This function now gets called. Supply return
	value.
2003-10-04 21:11:05 +00:00