aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-04-302004-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+37
* elf.c (bfd_section_from_shdr): Maintain the section order in a section group. (special_sections): Add ".note.GNU-stack". (elf_fake_sections): Handle section group for relocatable link..
2004-04-302004-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+45
* section.c (bfd_sections_find_if): New. * bfd-in2.h: Regenerated.
2004-04-302004-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+7
* readelf.c (process_section_headers): Use %3lu on sh_info.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-95/+21
* gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete. * gdbarch.h, gdbarch.c: Re-generate. * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE code.
2004-04-30 * ldlang.c (unique_section_p): Pass section parm, return true onAlan Modra4-4/+19
group sections. (output_section_callback): Adjust. * ldlang.h (unique_section_p): Update prototype. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
2004-04-30 * section.c (bfd_make_section_anyway): Add all sections to hash tab.Alan Modra35-36/+169
* elf-bfd.h (bfd_elf_is_group_section): Declare. * elf.c (bfd_elf_is_group_section): New function. * elfxx-target.h (bfd_elfNN_bfd_is_group_section * section.c (bfd_generic_is_group_section): New function. * targets.c (struct bfd_target): Add _bfd_is_group_section field. (BFD_JUMP_TABLE_LINK): Adjust. * aout-adobe.c (aout_32_bfd_is_group_section): Define. * aout-target.h (MY_bfd_is_group_section): Define. * aout-tic30.c (MY_bfd_is_group_section): Define. * bfd.c (bfd_is_group_section): Define. * binary.c (binary_bfd_is_group_section): Define. * bout.c (b_out_bfd_is_group_section): Define. * coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define. * coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define. * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust. * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust. * coffcode.h (coff_bfd_is_group_section): Define. * i386msdos.c (msdos_bfd_is_group_section): Define. * i386os9k.c (os9k_bfd_is_group_section): Define. * ieee.c (ieee_bfd_is_group_section): Define. * ihex.c (ihex_bfd_is_group_section): Define. * libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define. * mach-o.c (bfd_mach_o_bfd_is_group_section): Define. * mmo.c (mmo_bfd_is_group_section): Define. * nlm-target.h (nlm_bfd_is_group_section): Define. * oasys.c (oasys_bfd_is_group_section): Define. * pef.c (bfd_pef_bfd_is_group_section): Define. * ppcboot.c (ppcboot_bfd_is_group_section): Define. * srec.c (srec_bfd_is_group_section): Define. * tekhex.c (tekhex_bfd_is_group_section): Define. * versados.c (versados_bfd_is_group_section): Define. * vms.c (vms_bfd_is_group_section): Define. * xsym.c (bfd_sym_bfd_is_group_section): Define. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-103/+9
* gdb-events.sh (selected_thread_changed) (selected_frame_level_changed, target_changed): Delete. * gdb-events.h, gdb-events.c: Re-generate. * valops.c (value_assign): Update. * stack.c (select_frame_command, up_silently_base) (down_silently_base): Update.
2004-04-30 * ld.texinfo (--gc-sections): Remove restriction forEric Botcazou2-3/+8
dynamic linking.
2004-04-30Fix handling of case sensitive register aliases and add a test for the bugNick Clifton6-40/+59
2004-04-30 * elflink.c (elf_gc_mark): Follow indirect and warning syms.Alan Modra2-0/+7
2004-04-302004-04-30 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-1/+5
* observer.texi (GDB Observers): Correct spelling.
2004-04-30Fix bug in ranlib.sh script - quote the $1 argument in case it contains spacesNick Clifton2-2/+6
2004-04-30* Corrections to previous patch. Amend ChangeLog.Ben Elliston2-9/+11
* ppc-opc.c (XCMPL): Renmame to XOPL. Update users. (powerpc_opcodes): Add "dbczl" instruction for PPC970.
2004-04-30 * ppc-opc.c (powerpc_opcodes): Add "dbczl" instruction for PPC970.Ben Elliston5-12/+28
[testsuite] * gas/ppc/power4.s: Add dcbz and dcbzl test cases. * gas/ppc/power4.d: Update accordingly.
2004-04-30Eh... sanitize date of last entryHans-Peter Nilsson1-1/+1
2004-04-30 * configure.in: Update version to 2.15.91.Hans-Peter Nilsson3-305/+299
* configure: Regenerate.
2004-04-302004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-41/+62
* mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI registers correctly. (print_gp_register_row, mips32_heuristic_proc_desc) (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call) (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate references to mips_isa_regsize.
2004-04-30daily updateAlan Modra1-1/+1
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-30/+23
* mips-tdep.c (struct gdbarch_tdep): Delete mips_fp_register_double. (FP_REGISTER_DOUBLE): Delete macro, replace with test for mips_abi_regsize. (mips_gdbarch_init): Do not set mips_fp_register_double. (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
2004-04-29Remove >>>>> from someones long-ago commit.Andrew Cagney1-1/+0
2004-04-292004-04-29 Joel Brobecker <brobecker@gnat.com>Andrew Cagney2-5/+20
Committed by Andrew Cagney. * infrun.c (handle_inferior_event): Rely on frame IDs to detect function calls.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-100/+111
* mips-tdep.c (mips_abi_regsize): Replace tdep parameter with gdbarch, use mips_abi, update callers. (mips_stack_argsize): Replace tdep parameter with gdbarch, use mips_abi_regsize, update callers. (struct gdbarch_tdep): Delete mips_default_stack_argsize and mips_default_abi_regsize. (mips_gdbarch_init): Do not set mips_default_stack_argsize and mips_default_abi_regsize.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-111/+125
* mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize. (mips_abi_regsize_string): Rename mips_saved_regsize_string. (struct gdbarch_tdep): Rename mips_default_saved_regsize to mips_default_abi_regsize. (mips_isa_regsize): Rename mips_regisze. * mipsnbsd-tdep.c: Update. * mips-linux-tdep.c: Update. * irix5-nat.c: Update. * mips-tdep.h (mips_isa_regsize): Update.
2004-04-29* i386-prologue.exp: Add testcase for jump instruction as firstMark Kettenis3-0/+37
instruction of the real code. * i386-prologue.c (jump_at_beginning): New function.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-151/+8
* gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references. Delete all disabled code. * gdb-events.h, gdb-events.c: Re-generate.
2004-04-29Add support for generating DWARF2 debug sections in the x86 PE portNick Clifton9-28/+152
2004-04-29 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-1/+13
* i386-tdep.c (i386_skip_prologue): follow the last jump only if the function begins with a branch instruction.
2004-04-29* i386-tdep.c: Fix spelling mistakes.Mark Kettenis2-13/+17
2004-04-29merge from gccDJ Delorie2-5/+6
2004-04-292004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>Andrew Cagney6-139/+176
Andrew Cagney <cagney@redhat.com> * configure.in (mips-sgi-irix5*): Define _KMEMUSER for <sys/proc.h>. * acconfig.h: Provide default _KMEMUSER value. * config.in, configure: Re-generate. * NEWS: Mention fix.
2004-04-29 * pe-dll.c: Revert changes accidentally committed 2004-03-08.Alan Modra2-13/+17
(fill_edata): Correct pointer arithmetic.
2004-04-29[ bfd/ChangeLog ]Chris Demetriou8-414/+61
2004-04-28 Chris Demetriou <cgd@broadcom.com> * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. * bfd-in2.h: Regenerate. * libbfd.h: Likewise. [ gas/ChangeLog ] 2004-04-28 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build) (load_address, macro, mips_ip, md_parse_option) (mips_force_relocation, mips_validate_fix, md_apply_fix3) (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all embedded-PIC handling, and update comments. (SWITCH_TABLE): Remove. * config/tc-mips.h (DIFF_EXPR_OK): Delete. (enum mips_pic_level): Remove EMBEDDED_PIC. (EXTERN_FORCE_RELOC): Remove embedded-PIC handling. (TC_FORCE_RELOCATION): Update comment. * ecoff.c (ecoff_build_lineno): Add comment about some code that might be safe to remove now that MIPS embedded-PIC is gone.
2004-04-292004-04-24 Randolph Chung <tausq@debian.org>Randolph Chung12-3/+879
* configure.host (hppa*-*-linux*): New target. * configure.tgt (hppa*-*-linux*): Likewise. * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move gdbarch_init_osabi() call earlier so that osabi-specific frame unwinders can be registered first. * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and hppa-linux-nat.c. * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM) (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers. * config/pa/linux.mh: New file. * config/pa/linux.mt: New file. * config/pa/nm-linux.h: New file. * config/pa/xm-linux.h: New file. * hppa-linux-nat.c: New file. * hppa-linux-tdep.c: New file.
2004-04-292004-04-28 Randolph Chung <tausq@debian.org>Randolph Chung2-26/+64
* hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp return values. (hppa32_push_dummy_call): Fix small struct and floating point argument passing, and make sure the stack frame is properly aligned.
2004-04-29daily updateAlan Modra1-1/+1
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+7
* stack.c (print_stack_frame): Fix description.
2004-04-28* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 onMark Kettenis2-7/+5
x86_64-*-*.
2004-04-28 * som.c (struct som_misc_symbol_info): Add is_comdat, is_common andDave Anglin7-65/+250
dup_common fields. (setup_sections): Use som_subspace_dictionary_record struct instead subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is is_comdat, is_common or dup_common. (som_prep_headers): Use som_subspace_dictionary_record struct. Set is_comdat, is_common and dup_common in section subspace_dict from copy_data. (som_begin_writing): Use som_subspace_dictionary_record struct. (som_finish_writing): Likewise. (som_bfd_derive_misc_symbol_info): Add support to set is_comdat, is_common and dup_common flags in info for symbol. Add comment regarding linker support for these fields. Slightly reorganize function. (som_build_and_write_symbol_table): Set is_comdat, is_common and dup_common fields in symbol table from symbol info. (bfd_som_set_subsection_attributes): Add comdat, common and dup_common arguments. Set corresponding fields in copy_data. Change all callers. (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library symbol table. (som_vec): Add SEC_LINK_ONCE to applicable section flags. * som.h (som_subspace_dictionary_record): Define. (som_copyable_section_data_struct): Add is_comdat, is_common and dup_common fields. (som_section_data_struct): Use som_subspace_dictionary_record struct instead of subspace_dictionary_record. (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. * config/obj-som.c (obj_som_init_stab_section): Add new arguments in call to obj_set_subsection_attributes. (obj_som_init_stab_section): Likewise. * config/tc-hppa.c (default_subspace_dict): Add comdat field. (pa_def_subspaces): Provide comdat default. (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and not SEC_IS_COMMON if section is comdat, common or dup_common. Update calls to create_new_subspace and update_subspace to pass comdat flag. (create_new_subspace, update_subspace): Add new comdat argument. Use it in calls to obj_set_subsection_attributes. * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter and use of comdat, common and dup_comm parameters.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+11
* NEWS: Mention gdb/gdbserver/configure execute permission changed. PR server/519.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney16-91/+102
* stack.c (print_stack_frame_stub): Delete declaration. (struct print_stack_frame_args, print_stack_frame) (print_frame_info, print_frame): Replace "source" with print what. Replace "print" with "print_level". Replace "args" with "print_args". * frame.h (show_and_print_stack_frame, print_stack_frame) (print_frame_info): Update declarations. * stack.c (select_and_print_frame, frame_command) (current_frame_command, up_command, down_command): Update calls - use get_selected_frame, pass "enum print_what" for source, do not call frame_relative_level. * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto. * remote-rdp.c (remote_rdp_open): Ditto. * remote-mips.c (common_open): Ditto. * remote-e7000.c (e7000_start_remote): Ditto. * ocd.c (ocd_start_remote): Ditto. * mi/mi-main.c (mi_cmd_exec_return): Ditto. * infrun.c (normal_stop): Ditto. * inflow.c (kill_command): Ditto. * infcmd.c (finish_command): Ditto. * corelow.c (core_open): Ditto. * tracepoint.c (finish_tfind_command): Ditto. * thread.c (info_threads_command, info_threads_command) (restore_current_thread, do_captured_thread_select): Ditto. * ada-tasks.c (task_command): Ditto.
2004-04-28* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 onMark Kettenis2-4/+5
i*86-*-*.
2004-04-28* gdb.base/call-sc.exp (start_scalars_test): Fix regularMark Kettenis2-1/+6
expression that checks the return type.
2004-04-28daily updateAlan Modra1-1/+1
2004-04-27 * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_sizeBob Wilson2-9/+23
if set. Check reloc_done flag before applying relocations. Use output addresses, both when applying relocations and when comparing against the specified section. (elf_xtensa_relocate_section): Use output address to check if dynamic reloc is in a literal pool. Set section's reloc_done flag.
2004-04-27merge from gcc:DJ Delorie1-0/+6
2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for Ada compilation. Fix acx_cv_cc_gcc_supports_ada spelling.
2004-04-27merge from gcc:DJ Delorie7-82/+213
2004-04-27 Paolo Bonzini <bonzini@gnu.org> Revert: 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (host_modules): Mark with the bootstrap flag packages on which gcc depends. * Makefile.tpl (all-bootstrap): Use it. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. * configure: Regenerate. * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc. * gcc/Makefile.tpl (compare): Use the result of the test. * gcc/Makefile.in: Regenerate. 2004-04-23 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc): Always relocate gcc and prev-gcc to the original names, even if the build fails. (new-cleanstrap, new-restage1, new-restage2, new-restage3): New targets.
2004-04-272004-04-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-11/+20
* elf32-sh64.c (elf_backend_section_flags): New. Defined. (sh64_elf_set_mach_from_flags): Remove the kludge for .cranges section. (sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges section.
2004-04-27 * objcopy.c (copy_usage, strip_usage): Fix spelling.Alan Modra2-2/+6
2004-04-27binutils/H.J. Lu11-3/+193
2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (do_section_groups): New. (options): Add --section-groups/-g. (usage): Mention --section-groups/-g. (parse_args): Support --section-groups/-g. (get_group_flags): New. (process_section_groups): New. (process_object): Call process_section_groups. gas/ 2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (obj_elf_change_section): Check if the old group name is NULL before comparison. gas/testsuite/ 2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Add group0a, group0b and group1 for section group. * gas/elf/group0.s: New file. * gas/elf/group0a.d: Likewise. * gas/elf/group0b.d: Likewise. * gas/elf/group1.e: Likewise. * gas/elf/group1.s: Likewise.
2004-04-27 * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assignAlan Modra7-12/+25
structure field removed in 2004-04-24 patch. * elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix. * elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>): Constify hdr arg. * elf32-arm.h (elf32_arm_section_flags): Likewise. * elf64-alpha.c (elf64_alpha_section_flags): Likewise. * elfxx-ia64.c (elfNN_ia64_section_flags): Likewise. * elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section field before calling elf_backend_section_flags.