aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-10-12*** empty log message ***gdbadmin1-1/+1
2002-10-112002-10-11 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-0/+8
* utils.c (string_to_core_addr): After turning string into a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS which will do necessary sign-extension, etc.
2002-10-112002-10-11 Klee Dienes <kdienes@apple.com>Klee Dienes2-2/+8
* gdb.texinfo (Registers): Mention vector registers as well as floating registers in the documentation for 'info registers' and 'info all-registers'.
2002-10-11gcc uses trap 33 for profiling, but the simulator didn't support it.Joern Rennecke3-27/+33
This patch fixes the gcc.dg/nest.c failures for sh-elf. Fri Oct 11 16:22:28 2002 J"orn Rennecke <joern.rennecke@superh.com> * interp.c (trap): Return int. Take extra parameter for address of the trap instruction. Changed all callers. Add case 33 for profiling. * gencode.c (trapa): Handle trap 33 using the trap function. Add read of vector for generic traps.
2002-10-11 * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the outputKaz Kojima16-0/+1539
of linker to the file tmpdir/*-dso.so. * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New. * ld-sh/tlsbin-0-dso.d: New. * ld-sh/tlsbin-1.d: New. * ld-sh/tlsbin-2.d: New. * ld-sh/tlsbin-3.d: New. * ld-sh/tlsbin-4.d: New. * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New. * ld-sh/tlspic-1.d: New. * ld-sh/tlspic-2.d: New. * ld-sh/tlspic-3.d: New. * ld-sh/tlspic-4.d: New.
2002-10-11 * gas/sh/tlsd.s, gas/sh/tlsd.d: New.Kaz Kojima8-0/+246
* gas/sh/tlsnopic.s, gas/sh/tlsnopic.d: New. * gas/sh/tlspic.s, gas/sh/tlspic.d: New. * gas/sh/basic.exp: Add new tests.
2002-10-11 * sh.h: Add SH TLS relocs.Kaz Kojima2-3/+17
2002-10-11 * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs getKaz Kojima2-0/+29
emitted. (md_apply_fix3): Add TLS relocs. (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and @DTPOFF.
2002-10-11 * elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject,Kaz Kojima3-26/+959
sh_elf_object_p, dtpoff_base): New functions. (sh_elf_howto_table): Add TLS relocs. (sh_reloc_map): Likewise. (sh_elf_info_to_howto): Support TLS relocs. (elf_sh_link_hash_entry): Add tls_type and tls_tpoff32. (sh_elf_hash_entry, sh_elf_tdata, sh_elf_local_got_tls_type): New macros. (sh_elf_obj_tdata): New. (elf_sh_link_hash_table): Add tls_ldm_got. (sh_elf_link_hash_table_create): Clear refcount of tls_ldm_got. (allocate_dynrelocs): Support TLS relocs. (sh_elf_size_dynamic_sections): Likewise. (sh_elf_relocate_section): Support TLS relocs. Don't try to find .rela.got section when found already. Return false after printing error about unresolvable relocation. (sh_elf_gc_sweep_hook): Support TLS relocs. (sh_elf_check_relocs): Likewise. (sh_elf_finish_dynamic_symbol): Likewise. (bfd_elf32_mkobject, elf_backend_object_p): Define for TLS case. * reloc.c: Add SH TLS relocs. * libbfd.h: Regenerate.
2002-10-11 * bfd-in2.h: Regenerate.Kaz Kojima2-0/+33
2002-10-11 * c-exp.y (THIS): Delete token and grammar rule.Daniel Jacobowitz24-181/+66
(yylex): Don't return THIS. * cp-valprint.c (vtbl_ptr_name_old): Delete. (cp_is_vtbl_ptr_type): Don't check vtbl_ptr_name_old. * demangle.c (cplus_markers): Update comment. Put '$' first. Remove CPLUS_MARKER. (_initialize_demangler): Don't call set_cplus_marker_for_demangling. * jv-exp.y (THIS): Delete token and grammar rule. (yylex): Don't return THIS. * mips-tdep.c (mips_dump_tdep): Don't dump CPLUS_MARKER. * objc-exp.y (THIS): Delete token and grammar rule. (yylex): Don't return THIS. * p-exp.y (yylex): Remove reference to CPLUS_MARKER. * stabsread.c (vptr_name, vb_name): Replace CPLUS_MARKER with '$'. (read_member_functions): Likewise for opname. (read_tilde_fields): Use is_cplus_marker. * defs.h (CPLUS_MARKER): Don't define. * config/tm-sysv4.h (CPLUS_MARKER): Likewise. * config/i386/xm-i386sco.h (CPLUS_MARKER): Likewise. * config/mips/tm-irix3.h (CPLUS_MARKER): Likewise. * config/mips/tm-irix6.h (CPLUS_MARKER): Likewise. * config/rs6000/tm-rs6000.h (CPLUS_MARKER): Likewise. * config/i386/tm-i386v4.h: Delete file. * config/djgpp/fnchange.lst: Delete tm-i386v4.h. * config/i386/tm-i386sol2.h: Include "i386/tm-i386.h" instead. * config/i386/tm-i386v42mp.h: Include "i386/tm-i386.h" instead. * config/i386/tm-ptx.h: Include "i386/tm-i386.h" instead. * config/i386/i386gnu.mt (TM_FILE): Use tm-i386.h. * config/i386/i386sco5.mt (TM_FILE): Likewise. * config/i386/i386v4.mt (TM_FILE): Likewise. * config/i386/ncr3000.mt (TM_FILE): Likewise.
2002-10-11 * gdbint.texinfo (CPLUS_MARKER): Remove item.Daniel Jacobowitz2-7/+4
2002-10-11 * Makefile.am: Run dep-am.Daniel Jacobowitz5-9/+199
(BFD32_LIBS): Add simple.lo. (BFD32_LIBS_CFILES): Add simple.c. * Makefile.in: Regenerated. * bfd-in2.h: Regenerated. * simple.c: New file.
2002-10-11 * Makefile.am (BFD_H_DEP): Add simple.c and linker.c.Daniel Jacobowitz3-4/+13
* Makefile.in: Regenerated.
2002-10-11 * elf64-ppc.c (edit_opd): Correct local sym adjustment.Alan Modra2-3/+2
2002-10-11 * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.Alan Modra2-7/+14
2002-10-11Fix numerous occurrences ofAlan Modra16-135/+179
warning: dereferencing type-punned pointer will break strict-aliasing rules
2002-10-11 * ldgram.y (memory_spec): Provide empty action.Alan Modra2-3/+9
(section <NAME>): Likewise.
2002-10-11 * elf64-ppc.c (edit_opd): Only zero opd syms when function isAlan Modra2-1/+6
completely removed.
2002-10-11 * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.Alan Modra2-13/+29
(md_estimate_size_before_relax): Likewise for 8 bit branches.
2002-10-11daily updateAlan Modra1-1/+1
2002-10-11*** empty log message ***gdbadmin1-1/+1
2002-10-10* elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):Stephen Clarke3-4/+11
Correct mistake in calculation of address of .got. * elf64-sh64.c (elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le): Likewise.
2002-10-10 * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts ifJakub Jelinek4-19/+126
they have OUTPUT_FORMAT not matching actual output format. * ldlang.c (lang_get_output_target): New function. (open_output): Use it. * ldlang.h (lang_get_output_target): New prototype.
2002-10-10 * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_nJoern Rennecke2-6/+11
inside loop.
2002-10-10 * ld-i386/combreloc.s: New test.Jakub Jelinek4-0/+48
* ld-i386/combreloc.d: New test. * ld-i386/i386.exp (i386tests): Add it.
2002-10-10Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into CMarko Mlinar3-13/+13
2002-10-10 * ld-i386/i386.exp (reloc): Turn off combreloc.Alan Modra5-5/+12
* ld-i386/reloc.d: Likewise. * ld-powerpc/powerpc.exp: Likewise. * ld-powerpc/reloc.d: Likewise.
2002-10-10 * emultempl/elf32.em (output_rel_find): Prefer .rel script sectionsAlan Modra2-21/+38
when orphan is .rel, .rela when orphan is .rela. (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case first. Remove outsecname var.
2002-10-10*** empty log message ***gdbadmin1-1/+1
2002-10-10daily updateAlan Modra1-1/+1
2002-10-09* gas/elf.exp: Don't run for sh64*-*-linux*, because it sets theStephen Clarke84-88/+150
lsb in SHmedia code addresses. * gas/sh/basic.exp: Force SHcompact for sh64*-*-linux* to enable recognition of SH-1/2/3/4 instructions. (proc do_fp): Do not run dsp tests for sh64*-*-linux*. * gas/sh/sh64/abi-32.d: Adjust expected output to include sh64*-*-linux* formats too. * gas/sh/sh64/abi-64.d, gas/sh/sh64/basic-1.d, gas/sh/sh64/case-1.d, gas/sh/sh64/case-noexp-1.d, gas/sh/sh64/crange1-1.d, gas/sh/sh64/crange1-2.d, gas/sh/sh64/crange2-1.d, gas/sh/sh64/crange2-2.d, sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange3-1.d, gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5-1.d, gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-2.d, gas/sh/sh64/datal-2.d, gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal32-3.d, gas/sh/sh64/datal64-1.d, gas/sh/sh64/datal64-3.d, gas/sh/sh64/endian-1.d, gas/sh/sh64/endian-2.d, gas/sh/sh64/err-noexp-cmd1.s, gas/sh/sh64/immexpr32-1.d, gas/sh/sh64/immexpr32-2.d, gas/sh/sh64/immexpr64-1.d, gas/sh/sh64/immexpr64-2.d, gas/sh/sh64/lineno.d, gas/sh/sh64/localcom-1.d, gas/sh/sh64/mix-1.d, gas/sh/sh64/mix-noexp-1.d, gas/sh/sh64/movi-3.d, gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d, gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/movi64-1.d, gas/sh/sh64/movi64-2.d, gas/sh/sh64/movi64-3.d, gas/sh/sh64/movi64-noexp-2.d, gas/sh/sh64/pt-1.d, gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/pt32-1.d, gas/sh/sh64/pt32-noexp-2.d, gas/sh/sh64/pt64-1.d, gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt64-32-2.d, gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc32-noexp-1.d, gas/sh/sh64/ptc64-1.d, gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc64-noexp-1.d, gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext32-noexp-1.d, gas/sh/sh64/ptext64-1.d, gas/sh/sh64/ptext64-32-1.d, gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/rel32-1.d, gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d, gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d, gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d, gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d, gas/sh/sh64/rel64-5.d, gas/sh/sh64/relax-1.d, gas/sh/sh64/relax-2.d, gas/sh/sh64/relax-3.d, gas/sh/sh64/shift32-1.d, gas/sh/sh64/shift32-3.d, gas/sh/sh64/shift32-noexp-3.d, gas/sh/sh64/shift64-1.d, gas/sh/sh64/shift64-2.d, gas/sh/sh64/shift64-3.d, gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/syntax-1.d, gas/sh/sh64/syntax-2.d, gas/sh/sh64/ua32-1.d, gas/sh/sh64/ua64-1.d: Likewise.
2002-10-09* Makefile.am: Add eshelf32_linux.o andStephen Clarke6-0/+88
eshlelf32_linux.o, new emulations for sh64 Linux. * Makefile.in: Regenerate. * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations. * emulparams/shelf32_linux.sh: New file. * emulparams/shlelf32_linux.sh: New file.
2002-10-09* config/tc-sh64.c (sh64_target_format): Add support for sh64Stephen Clarke2-4/+19
Linux environment.
2002-10-09* Makefile.am: Add entries for elf32-sh64-lin.c andStephen Clarke9-4/+116
elf64-sh64-lin.c. Regenerate. * Makefile.in: Regenerate. * config.bfd: Change sh64eb-*-linux* and sh64-*-linux* to use sh64 vectors rather than sh vectors. * configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec. * configure: Regenerate. * elf32-sh64-lin.c: New file. * elf64-sh64-lin.c: New file. * targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
2002-10-09 * readelf.c (display_debug_info): Ignore empty .rela.debug_infoDaniel Jacobowitz2-4/+14
sections. Allow relocations against the absolute symbol. Don't use the value in compunit.cu_abbrev_offset if we found a RELA relocation.
2002-10-09Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into CMarko Mlinar4-0/+50
2002-10-092002-10-08 Petr Sorfa <petrs@caldera.com>Jim Blandy2-27/+86
Revised and re-submitted by John Wolfe <jlw@caldera.com> Move the Dwarf 2 abbrev table to a per-compilation-unit structure, so we can work on more than one compilation unit at a time. This helps prepare GDB to handle inter-CU die references. * dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in the code to be defined before struct comp_unit_head. (comp_unit_head): Added new members - offset, cu_head, begin_die, next and dwarf2_abbrevs. (dwarf2_abbrevs): Removed single static var; now member of struct comp_unit_head. dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head members. (psymtab_to_symtab_1): Changed to work with the new struct comp_unit_head. (dwarf2_read_abbrevs): Now accepts a cu_header parameter and constructs the dwarf2_abbrevs[] inside the cu_header. (dwarf2_empty_abbrev_table): Now expects a ptr to a dwarf2_abbrev table to clean up. (dwarf2_lookup_abbrev): Now accepts a cu_header parameter and handling of dwarf2_abbrevs inside the cu_header. (read_partial_die): Now supports the call to the new dwarf2_lookup_abbrev. (read_full_die): Now supports the call to the new dwarf2_lookup_abbrev.
2002-10-09daily updateAlan Modra1-1/+1
2002-10-09*** empty log message ***gdbadmin1-1/+1
2002-10-082002-10-08 H.J. Lu <hjl@gnu.org>H.J. Lu4-29/+7
* ldlang.c (lang_file_exist): Removed. (new_afile): Revert the last change. * ldlang.h (lang_file_exist): Removed. * lexsup.c (parse_args): Revert the last change.
2002-10-082002-10-08 H.J. Lu <hjl@gnu.org>H.J. Lu2-23/+32
* elf32-i386.c (elf_i386_relocate_section): Re-arrange the IE->LE transition for R_386_TLS_IE.
2002-10-08 * elf64-ppc.c (edit_opd): Correct test for discarded sections.Alan Modra2-26/+36
2002-10-08*** empty log message ***gdbadmin1-1/+1
2002-10-08daily updateAlan Modra1-1/+1
2002-10-07Read in dynamic symbols if no ordinary ones are available.Nick Clifton2-7/+9
2002-10-07Add tic4x target.Nick Clifton2-1/+5
2002-10-07Don't re-export auto-import symbols.Nick Clifton2-2/+12
2002-10-07Don't mark relocations in excluded sections.Nick Clifton2-0/+7
2002-10-07Abort if the filename to be added matches the linker output filename.Nick Clifton4-28/+66