aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-06-10*** empty log message ***gdbadmin1-1/+1
2005-06-10daily updateAlan Modra1-1/+1
2005-06-09* coffcode.h (sec_to_styp_flags): Set appropriate section flags when eitherChristopher Faylor2-1/+6
SEC_ALLOC OR SEC_LOAD.
2005-06-09configure clean up patch from Steve Ellcey.Jim Wilson6-263/+260
* configure.in (AM_BINUTILS_WARNINGS): Add. (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS. * config.in: Regenerate. * configure: Regenerate. * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_* * ldmain.c: Ditto.
2005-06-09 * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.Jakub Jelinek2-13/+21
If q->howto->name == NULL, print q->howto->type as number instead. (dump_reloc_set): Likewise.
2005-06-09* coffcode.h (sec_to_styp_flags): Remove read/write flags from noload sectionChristopher Faylor2-16/+20
header. Do not add STYP_NOLOAD since it does not appear to be a valid PE flag.
2005-06-092005-06-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+11
PR 1000 * dwarf2.c (lookup_address_in_line_info_table): Restore code handling NULL function info, removed with 2005-04-03 change.
2005-06-09 * opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.Mark Mitchell2-0/+12
2005-06-09 * ldexp.c (fold_unary <ALIGN_K>): Revert last change.Alan Modra2-4/+5
2005-06-09 * ld-scripts/empty-aligned.d: Adjust.Alan Modra2-1/+7
2005-06-09 * ld.h (lang_phase_type): Move to..Alan Modra10-910/+694
* ldexp.h: ..here. Add lang_mark_phase_enum. (node_type): Remove etree_undef and etree_unspec. (exp_data_seg): Delete. (struct ldexp_control, expld): New. (invalid, exp_mark_used_section): Delete. (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill, exp_get_abs_int): Update prototypes. * ldexp.c (assigning_to_dot): Delete. (expld): Define. (make_abs): Operate directly on expld.result. Update all callers. (new_abs): Likewise. Return void. (new_rel_from_abs): Rename from new_rel_from_section. (new_rel, new_rel_from_abs): Operate on expld.result and return void. Update all callers. (fold_unary): Operate on expld.result and return void. Remove "current_section", "allocation_done", "dot", "dotp" and "mark_used" params. Update all callers. (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise. (fold_unary <ALIGN_K>): Ensure alignment is absolute. (fold_unary <ABSOLUTE>): Use make_abs. (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for allocating_phase. (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto. (fold_binary <'%','/'>): Don't error if marking. (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when marking. (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't error when marking. (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP. (exp_fold_tree_1): Don't error when marking. (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first. (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL current section, instead check for NULL dotp. (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment source unless the symbol is referenced and undefined. (exp_fold_tree): Remove "allocation_done" and "dot" params. Save params to expld. (exp_fold_tree_no_dot): Remove "current_section", "allocation_done and "mark_used" params. Save params to expld. Update all callers. (exp_assop): Do without temp var. (exp_print_tree <etree_undef>): Delete code. (exp_get_vma): Remove "allocation_done" param. Correct error return. (exp_get_fill, exp_get_abs_int): Likewise. (exp_get_value_int): Remove "allocation_done" param. (exp_mark_used_section): Delete. * ldgram.y (fill_exp): Update exp_get_fill call. (origin_spec, length_spec): Update exp_get_vma call. * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration. (lang_mark_used_section_1, lang_mark_used_section): Delete. (strip_excluded_output_sections): Call one_lang_size_sections_pass in marking mode. Merge old lang_mark_used_section code. Correct handling of output sections with excluded input sections and data statements. Don't drop non-zero sized sections. Don't zap os->bfd_section. Do set SEC_EXCLUDE when appropriate. (print_output_section_statement): Update for changed ldexp.c interface. (print_assignment, lang_size_sections_1): Likewise. (lang_do_assignments_1, lang_enter_output_section_statement): Likewise. (lang_new_phdr, lang_record_phdrs): Likewise. (lang_size_sections): Likewise. (insert_pad): Use following statement if it is a pad, rather than creating a new one. (lang_size_sections_1 <lang_output_section_statement_enum>): Do process ignored output section to set vma and lma, but don't update dot for these sections. Don't error if marking. (lang_size_sections_1 <lang_assignment_statement_enum>): Don't update dot for ignored sections. (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute section with SEC_ALLOC. (one_lang_size_sections_pass): New function. (lang_size_sections): Remove first five params. Set expld.phase on entry and exit. Use one_lang_size_sections_pass. (lang_do_assignments): Remove all params. Update all callers. (lang_reset_memory_regions): Clear os->processed for all output section statements. * ldlang.h (lang_do_assignments): Update prototype. (lang_size_sections): Likewise. (one_lang_size_sections_pass): Declare. * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update lang_size_sections and lang_do_assignments calls. * emultempl/elf32.em (layout_sections_again): Likewise. * emultempl/ppc64elf.em (ppc_before_allocation): Use one_lang_size_sections_pass.
2005-06-09 * elflink.c (elf_mark_used_section): Delete.Alan Modra3-32/+36
(bfd_elf_gc_sections): Call bfd_generic_gc_sections. * reloc.c (bfd_mark_used_section): New function. (bfd_generic_gc_sections): Call bfd_mark_used_section.
2005-06-09daily updateAlan Modra1-1/+1
2005-06-09*** empty log message ***gdbadmin1-1/+1
2005-06-082005-06-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-55/+517
David Mosberger <davidm@hpl.hp.com> * ia64-tdep.c (KERNEL_START): New macro. (ia64_pseudo_register_read): Fix code to use libunwind to properly get the rse registers. (ia64_frame_this_id): Mark outermost frame with null frame id. (ia64_sigtramp_frame_prev_register): Fix up debug output. (ia64_access_rse_reg): New accessor function. (ia64_access_mem): Add special logic for accessing the kernel's unwind table. (getunwind_table): Fix for corefiles. (get_kernel_table): Fix to handle vDSO. (ia64_libunwind_frame_this_id): Check for null frame id and don't unwind past pc value of 0. Fix debugging output. (ia64_libunwind_sigtramp_frame_this_id): New function. (ia64_libunwind_sigtramp_frame_prev_register): Ditto. (ia64_libunwind_sigtramp_frame_sniffer): Ditto. (ia64_libunwind_sigtramp_frame_unwind): New unwinder. (ia64_unw_rse_accessors): New libunwind accessors. (ia64_libunwind_descr): Add ia64_unw_rse_accessors. (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Use ia64_libunwind_sigtramp_frame_sniffer instead of ia64_sigtramp_frame_sniffer. * libunwind-frame.c (libunwind_frame_set_descr): Add special register accessors. (libunwind_frame_cache): Add special logic to check for 0 pc value. Check for a signal trampoline frame. (libunwind_frame_this_id): Check if libunwind_frame_cache returns NULL. (libunwind_frame_prev_register): Check for NULL cache. (libunwind_frame_base_address): Ditto. (libunwind_sigtramp_frame_sniffer): New function. (libunwind_get_reg_special): Ditto. (libunwind_load): Add unw_is_signal_frame support. * libunwind-frame.h (struct libunwind_descr): Add special_accessors field. (libunwind_sigtramp_frame_sniffer): New prototype. (libunwind_get_reg_special): Ditto.
2005-06-08Warning and partial fix for gcc -freorder-blocks-and-partition related problem.Jim Wilson2-1/+27
PR 994 * config/tc-ia64.c (slot_index): Revert last change. If first_frag is NULL, then emit a warning, and return the current index.
2005-06-08opcodes:Zack Weinberg7-135/+96
* arm-opc.h: Delete; fold contents into ... * arm-dis.c: ... here. Move includes of internal COFF headers next to includes of internal ELF headers. (streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused. (struct arm_opcode): Rename struct opcode32. Make 'assembler' const. (struct thumb_opcode): Rename struct opcode16. Make 'assembler' const. (arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames) (iwmmxt_wwnames, iwmmxt_wwssnames): Make const. (regnames): Remove iWMMXt coprocessor register sets. (iwmmxt_regnames, iwmmxt_cregnames): New statics. (get_arm_regnames): Adjust fourth argument to match above changes. (set_iwmmxt_regnames): Delete. (print_insn_arm): Constify 'c'. Use ISO syntax for function pointer calls. Expand sole use of BDISP. Use iwmmxt_regnames and iwmmxt_cregnames, not set_iwmmxt_regnames. (print_insn_thumb16, print_insn_thumb32): Constify 'c'. Use ISO syntax for function pointer calls. include: * dis-asm.h (get_arm_regnames): Update prototype.
2005-06-08PR991Nick Clifton2-2/+30
* config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a temporary copy of the operands array so that changes can be safely backed out if the insn does not match. (m68k_compare_opcode): Shortcut the test when the parameters are the same. Return 1 if the names match but the second opcode is further on in the array than the first.
2005-06-08PR 994Nick Clifton2-1/+6
* config/tc-ia64.c (slot_index): Check for a NULL first_frag.
2005-06-08(use_parallel): Change default value from 1 to 0.Nick Clifton2-1/+5
2005-06-08 * emulparams/elf32ms1.sh: New.Aldy Hernandez2-0/+28
2005-06-08 * expression.h (enum exp_opcode): Fix a comment typo.Wu Zhou1-0/+4
2005-06-08<2005-06-08> Wu Zhou <woodzltc@cn.ibm.com>Wu Zhou1-1/+1
* expression.h (enum exp_opcode): Fix a comment typo.
2005-06-08 * opncls.c (bfd_fdopenr): Don't set bfd_error unconditionally.Alan Modra2-2/+5
2005-06-08 * opncls.c (bfd_fopen): Don't set bfd_error unconditionally.Alan Modra2-2/+5
2005-06-08*** empty log message ***gdbadmin1-1/+1
2005-06-08daily updateAlan Modra1-1/+1
2005-06-08 * opncls.c (bfd_fdopenr): Add missing break statements.Mark Mitchell2-3/+7
2005-06-072005-06-07 Eric Christopher <echristo@redhat.com>Eric Christopher5-2/+19
* Makefile.am (eelf32ms1.c): Use tab. * Makefile.in: Regenerate. 2005-06-07 Eric Christopher <echristo@redhat.com> * readelf.c (guess_is_rela): Support ms1. (dump_relocations): Ditto. (get_machine_name): Ditto.
2005-06-07 * opncls.c (bfd_fopen): New API.Mark Mitchell3-59/+79
(bfd_openr): Use it. (bfd_fdopenr): Likewise. * bfd-in2.h: Regenerated.
2005-06-07 * arm-dis.c: Split up the comments describing the format codes, soZack Weinberg2-139/+118
that the ARM and 16-bit Thumb opcode tables each have comments preceding them that describe all the codes, and only the codes, valid in those tables. (32-bit Thumb table is already like this.) Reorder the lists in all three comments to match the order in which the codes are implemented. Remove all forward declarations of static functions. Convert all function definitions to ISO C format. (print_insn_arm, print_insn_thumb16, print_insn_thumb32): Return nothing. (print_insn_thumb16): Remove unused case 'I'. (print_insn): Update for changed calling convention of subroutines.
2005-06-07 * Makefile.am (readelf.o): Depend on ms1.h.Aldy Hernandez4-0/+13
* Makefile.in: Regenerate. * readelf.c: Include ms1.h.
2005-06-07 * configure.in: Add ms1 case.Aldy Hernandez4-0/+19
* configure: Regenerate. * configure.tgt: Add ms1 case.
2005-06-07 * configure.tgt: Same.Aldy Hernandez4-0/+20
* Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o. (eelf32ms1.c): Add eelf32ms1.c rule. * Makefile.in: Regenerate.
2005-06-07 * common.h (EM_MS1): Define.Aldy Hernandez3-0/+55
* ms1.h: New file.
2005-06-07 * dis-asm.h: Externalize print_insn_ms1.Aldy Hernandez2-0/+7
2005-06-07 * Makefile.am (ALL_MACHINES): Add ms1 support.Aldy Hernandez11-0/+752
(ALL_MACHINES_CFILES): Same. (BFD32_BACKENDS): Same. (BFD32_BACKENDS_CFILES): Same. * Makefile.in: Regenerate. * archures.c (bfd_architecture): Add ms1 entries. Externalize bfd_ms1_arch. (bfd_archures_list): Add bfd_ms1_arch. * bfd-in2.h: Regenerate. * cpu-ms1.c: New file. * elf32-ms1.c: New file. * targets.c: Define extern of bfd_elf32_ms1_vec. Add bfd_elf32_ms1_vec to _bfd_target_vector. * configure.in: Add bfd_elf32_ms1_vec case. * configure: Regenerate. * config.bfd: Add ms1-*-elf to table.
2005-06-07 * config/tc-xtensa.h (resource_table): Change units to unsigned chars.Bob Wilson3-7/+16
* config/tc-xtensa.c (new_resource_table): Likewise. (resize_resource_table): Likewise. (release_resources): Fix assertion for unsigned values.
2005-06-07Revert accidental commitZack Weinberg5-67/+100
2005-06-07gas:Zack Weinberg96-3130/+3095
* cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h * config/tc-xtensa.c, config/tc-z8k.c: Replace all instances of the string "_apply_fix3" with "_apply_fix". * po/POTFILES.in, po/gas.pot: Regenerate. bfd: * coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment. cgen: * doc/porting.texi: Change all mention of md_apply_fix3 and gas_cgen_md_apply_fix3 to md_apply_fix and gas_cgen_md_apply_fix respectively.
2005-06-07 * Makefile.am: Run "make dep-am".Alan Modra3-6/+12
(POTFILES): Remove GAS_CFILES. * Makefile.in: Regenerate.
2005-06-072005-06-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-0/+12
* gdb.texinfo (Contributors): Note the original multi-arch contributors.
2005-06-07missed committing fromAlan Modra1-1/+1
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
2005-06-07* config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,Maciej W. Rozycki2-0/+12
24kc, 24kf and 24kfx under MIPS32 release 2.
2005-06-07 * configure.in <cris-*, crisv32-*>: Enable target-libffi again forHans-Peter Nilsson2-4/+4
*-*-linux* and *-*-elf. * configure: Regenerate.
2005-06-07ChangedManoj Iyer1-1/+1
* solib-svr4.c: Change type of 'lm' to gdb_byte. to * solib-svr4.c (struct lm_info): Change type of 'lm' to gdb_byte.
2005-06-07Sync with gcc-toplevelHans-Peter Nilsson1-9/+28
2005-06-07 * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Init _bfd_find_line.Alan Modra3-0/+9
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
2005-06-07 * configure.in (unsupported_languages): New macro.Hans-Peter Nilsson3-72/+113
<mmix-knuth-mmixware>: Set unsupported_languages. Name explicit non-ported target libraries in noconfigdirs. <cris-*, crisv32-*> Ditto, except for non-aout, non-elf, non-linux-gnu. Remove libgcj_ex_libffi. <lang_frag loop>: Set add_this_lang=no if the language is in unsupported_languages. * configure: Regenerate.
2005-06-07*** empty log message ***gdbadmin1-1/+1