aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-07-252003-07-25 Michael Snyder <msnyder@redhat.com>Michael Snyder2-6/+12
* gencode.c (pshl): Change < to <= (shift by 16 is allowed). Cast argument of >> to unsigned to prevent sign extension. (psha): Change < to <= (shift by 32 is allowed).
2003-07-252003-07-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+8
* config/obj-elf.c (obj_elf_change_section): Always set section type and flags.
2003-07-252003-07-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+8
* bfd-in2.h: Regenerated.
2003-07-25bfd/H.J. Lu35-250/+628
2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (bfd_elf_special_section): New. (elf_backend_data): Add special_sections, a pointer to bfd_elf_special_section. (elf_section_type). New. (elf_section_flags): New. (_bfd_elf_get_sec_type_attr): New. * elf.c (_bfd_elf_make_section_from_shdr): Always use the real section type/flags. (special_sections): New. (get_special_section): New. (_bfd_elf_get_sec_type_attr): New. (_bfd_elf_new_section_hook): Check special_section to set elf_section_type and elf_section_flags. (elf_fake_sections): Don't use section name to set ELF section data. * elf32-m32r.c (m32r_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-m68hc11.c (elf32_m68hc11_special_sections): New. (elf_backend_special_sections): Defined. * elf32-mcore.c (mcore_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-ppc.c (ppc_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-sh64.c (sh64_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-v850.c (v850_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-xtensa.c (elf_xtensa_special_sections): New. (elf_backend_special_sections): Defined. * elf64-alpha.c (elf64_alpha_special_sections): New. (elf_backend_special_sections): Defined. * elf64-hppa.c (elf64_hppa_special_sections): New. (elf_backend_special_sections): Defined. * elf64-ppc.c (ppc64_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf64-sh64.c (sh64_elf64_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-ia64.c (elfNN_ia64_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-mips.c (_bfd_mips_elf_special_sections): New. * elfxx-mips.h (_bfd_mips_elf_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-target.h (elf_backend_special_sections): New. Default to NULL. (elfNN_bed): Initialize special_sections. * section.c (bfd_abs_section): Remove const. (bfd_und_section): Likewise. (bfd_com_section): Likewise. (bfd_ind_section): Likewise. gas/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (special_sections): Removed. (obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set elf_section_type and elf_section_flags. (elf_frob_file): Set SHT_GROUP. * config/obj-elf.h (obj_sec_set_private_data): New. * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed. * config/tc-ia64.h: Likewise. * config/tc-m32r.h: Likewise. * config/tc-m68hc11.h: Likewise. * config/tc-mcore.h: Likewise. * config/tc-mips.h: Likewise. * config/tc-ppc.h: Likewise. * config/tc-sh64.h: Likewise. * config/tc-v850.h: Likewise. * config/tc-xtensa.h: Likewise. * config/tc-v850.h (SHF_V850_GPREL): Removed. (SHF_V850_EPREL): Likewise. (SHF_V850_R0REL): Likewise. * subsegs.c (subseg_get): Call obj_sec_set_private_data if it is defined. include/elf/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * v850.h (SHF_V850_GPREL): New. (SHF_V850_EPREL): Likewise. (SHF_V850_R0REL): Likewise.
2003-07-25Include SEC_CODE so that code sections are assigned the LOAD attribute.Nick Clifton2-2/+7
2003-07-25 * elf32-sh.c: Convert to C90. Replace PTR with void *.Kaz Kojima6-497/+318
* elf32-sh64-com.c: Likewise. * elf32-sh64.c: Likewise. * elf32-sh64.h: Likewise. * elf64-sh64.c: Likewise.
2003-07-252003-07-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-4/+11
* ld-powerpc/tlsexe.r: .sbss is NOBITS, not PROGBITS. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlstocso.r: Likewise.
2003-07-252003-07-24 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* gencode.c: Fix typo in comment.
2003-07-25daily updateAlan Modra1-1/+1
2003-07-25*** empty log message ***gdbadmin1-1/+1
2003-07-24 * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address forStephane Carrez2-0/+9
debugging symbols so that we handle page memory correctly.
2003-07-24 * tui.c (tui_rl_other_window): New function to switch the TUI activeStephane Carrez2-0/+34
window and give focus to a next window. (tui_initialize_readline): Bind it to c-x o. (tui_rl_next_keymap): Activate TUI mode when entering SingleKey mode.
2003-07-24 * NEWS: Mention "regs" deprecated for m68hc11 too.Stephane Carrez3-46/+166
* m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. (m68hc11_print_register): New function to print out one register. (m68hc11_print_registers_info): New function to print registers. (show_regs): Deprecate and use the above. (m68hc11_gdbarch_init): Install the print_registers_info.
2003-07-24 * linux-arm-low.c (arm_reinsert_addr): New function.Daniel Jacobowitz2-1/+17
(the_low_target): Add arm_reinsert_addr.
2003-07-24 * gdbint.texinfo (libgdb components): Correct a GDB to GDBN.Daniel Jacobowitz2-1/+5
2003-07-24 * gdb.texinfo (Server): Mention pidof.Daniel Jacobowitz2-0/+17
2003-07-24 From Kei Sakamoto <sakamoto.kei@renesas.com>:Daniel Jacobowitz2-0/+9
* gdb.base/relocate.c (dummy): New padding array.
2003-07-242003-07-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+7
* ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify that we have a SIGTRAP before returning non-zero.
2003-07-24Do not ignore sections without the LOAD flag when disassemble_all is true.Nick Clifton2-6/+10
Only print a message about disassembling a section if it contains some data.
2003-07-24 * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.Kaz Kojima2-24/+15
(allocate_dynrelocs): Likewise. (sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL. (sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
2003-07-24Updated French translationsNick Clifton12-4706/+6477
2003-07-242003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-17/+28
* gencode.c: A few more fix-ups of refs and defs. (frchg): Raise SIGILL if in double-precision mode. (ldtlb): We don't simulate cache, so this is a no-op. (movsxy_tab): Correct a few bit pattern errors.
2003-07-24 * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and moveBob Wilson2-16/+29
near the beginning of the file. Swap order of arguments. Call _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0. (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call. (elf_xtensa_relocate_section): Likewise. (shrink_dynamic_reloc_sections): Likewise.
2003-07-24 * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.Bob Wilson2-13/+43
(elf_xtensa_size_dynamic_sections): Use elf_discarded_section. (elf_xtensa_combine_prop_entries): Avoid returning non-zero without first printing an error message. (elf_xtensa_finish_dynamic_sections): Likewise. (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when discarding literal table entries. (elf_xtensa_merge_private_bfd_data): Remove newline from error message. (elf_xtensa_do_asm_simplify): Likewise.
2003-07-24daily updateAlan Modra1-1/+1
2003-07-24*** empty log message ***gdbadmin1-1/+1
2003-07-232003-07-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+3
* gencode.c (prnd): Clear LSW of result to zeros.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+37
* pmuls.s: New file.
2003-07-232003-07-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+4
* gencode.c (pmuls): Expression is mis-parenthesized.
2003-07-232003-07-09 Michael Snyder <msnyder@redhat.com>Michael Snyder3-4/+15
* configure.in: Add testsuite to extra_subdirs for sh. * configure: Regenerate.
2003-07-232003-07-09 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+4
* sim/sh: New directory. Tests for Renesas sh family.
2003-07-23 * tui.c (tui_enable): Call tuiRefreshAll to make sure the windowStephane Carrez2-1/+6
is accurate.
2003-07-232003-07-08 Michael Snyder <msnyder@redhat.com>Michael Snyder26-0/+2293
* allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s, fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s, float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s, fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s, shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.
2003-07-232003-07-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+8
* gencode.c (ppi_gensim): For a conditional ppi insn, if the condition is false, we want to return (not break). A break will take us to the end of the function where registers will be updated, whereas the desired outcome is for nothing to change.
2003-07-232003-06-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-25/+38
* gencode.c (op tab): Some fix-ups of refs and defs. (ocbi, ocbp): Cache not simulated, but may cause memory fault. (gensym_caselist): Add default case to switch statement. (expand_ppi_code): Add default case to switch statement.
2003-07-232003-06-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+5
* gencode.c (op tab): Implement movca.l.
2003-07-23 * tui-interp.c (tui_resume): Enable tui when we expected it.Stephane Carrez2-1/+21
(tui_suspend): Remember in which TUI mode we are. (_initialize_tui_interp): Use the tui interpreter even when no other interpreter was set and define in which TUI mode to start.
2003-07-232003-06-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+2
* gencode.c (op movsxy_tab): Fix an error in the bit pattern.
2003-07-232003-06-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* gencode.c (gensim_caselist): The movy instructions use registers R6 and R7 (not R4 and R5 like the movx insns).
2003-07-23 * gas/m68hc11/m68hc11.exp: Execute the new tests.Stephane Carrez7-0/+50
* gas/m68hc11/abi.s: New test for abi elf flags. * gas/m68hc11/abi-m68hc11-32-64.d: Test for 32-bit int, 64-bit float. * gas/m68hc11/abi-m68hc11-16-64.d: Test for 16-bit int, 64-bit float. * gas/m68hc11/abi-m68hc11-32-32.d: Test for 32-bit int, 32-bit float. * gas/m68hc11/abi-m68hc11-16-32.d: Test for 16-bit int, 32-bit float.
2003-07-23 * ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z softStephane Carrez2-1/+6
register.
2003-07-23 * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash whenStephane Carrez2-2/+8
we have a local symbol in common section.
2003-07-23 * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take intoStephane Carrez3-30/+14
account .tramp sections; * scripttempl/elfm68hc12.sc: Likewise.
2003-07-23 * config/tc-arm.c (arm_archs): Add iwmmxt.Daniel Jacobowitz2-0/+5
2003-07-232003-07-23 Michal Ludvig <mludvig@suse.cz>Elena Zannoni2-5/+18
Elena Zannoni <ezannoni@redhat.com> * linespec.c (decode_line_2): Avoid crash if find_function_start_sal() returns empty record.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+3
* gdb.base/return2.exp: Don't test long-long return.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder27-0/+26271
* gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests. * gdb.disasm/t01_mov.exp: Ditto. * gdb.disasm/t02_mova.s: Ditto. * gdb.disasm/t02_mova.exp: Ditto. * gdb.disasm/t03_add.s: Ditto. * gdb.disasm/t03_add.exp: Ditto. * gdb.disasm/t04_sub.s: Ditto. * gdb.disasm/t04_sub.exp: Ditto. * gdb.disasm/t05_cmp.s: Ditto. * gdb.disasm/t05_cmp.exp: Ditto. * gdb.disasm/t06_ari2.s: Ditto. * gdb.disasm/t06_ari2.exp: Ditto. * gdb.disasm/t07_ari3.s: Ditto. * gdb.disasm/t07_ari3.exp: Ditto. * gdb.disasm/t08_or.s: Ditto. * gdb.disasm/t08_or.exp: Ditto. * gdb.disasm/t09_xor.s: Ditto. * gdb.disasm/t09_xor.exp: Ditto. * gdb.disasm/t10_and.s: Ditto. * gdb.disasm/t10_and.exp: Ditto. * gdb.disasm/t11_logs.s: Ditto. * gdb.disasm/t11_logs.exp: Ditto. * gdb.disasm/t12_bit.s: Ditto. * gdb.disasm/t12_bit.exp: Ditto. * gdb.disasm/t13_otr.s: Ditto. * gdb.disasm/t13_otr.exp: Ditto.
2003-07-23 * ia64-tdep.c (ia64_print_insn): New function.Andreas Schwab2-3/+16
(ia64_gdbarch_init): Set print_insn to it. (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and deprecated_tm_print_insn_info.
2003-07-23Tidy up code. Switch to ISO CNick Clifton2-198/+143
2003-07-232003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+5
* gdb.threads/tls.exp :Add kfail for 'info address' case.