aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-05-17binutils/Daniel Jacobowitz9-6/+27
* doc/Makefile.am (config.texi): Don't use $<. * doc/Makefile.in: Regenerated. ld/ * Makefile.am (ldver.texi): Don't use $<. * Makefile.in: Regenerated. gas/ * doc/Makefile.am (gasver.texi): Don't use $<. * doc/Makefile.in: Regenerated.
2005-05-17 * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly includeDaniel Jacobowitz3-4/+10
$(srcdir) before $(BFDDIR)/doc. * Makefile.in: Regenerated.
2005-05-17(group_signature): Check for a group section which is actually a (corrupt)Nick Clifton2-1/+22
symbol table section in disguise and prevent an infinite loop from occurring.
2005-05-172005-05-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-24/+23
* elfxx-ia64.c (elfNN_ia64_relax_brl): Undo the change made on 2005-02-16.
2005-05-172005-05-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+11
* elfxx-ia64.c (elfNN_ia64_relax_br): Keep the original predicate on slot 0 only if slot 0 isn't br.
2005-05-17bfd/H.J. Lu13-91/+442
2005-05-17 H.J. Lu <hongjiu.lu@intel.com> PR 797 * elf32-i386.c (elf_i386_size_dynamic_sections): Also remove empty sdynbss section. * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise. ld/ 2005-05-17 H.J. Lu <hongjiu.lu@intel.com> PR 797 * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and take take a bfd_boolean, mark_used. Ignore assert failure if mark_used is TRUE. (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE. (exp_fold_tree_no_dot): Updated to take a bfd_boolean, mark_used and pass down. (fold_unary): Likewise. (fold_binary): Likewise. (fold_trinary): Likewise. (exp_binop): Add FALSE to call to exp_fold_tree_no_dot. (exp_trinop): Likewise. (exp_unop): Likewise. (exp_nameop): Likewise. (exp_get_vma): Likewise. (exp_get_fill): Likewise. (exp_get_abs_int): Likewise. (fold_name): Likewise. Set SEC_KEEP in output section flags. (exp_mark_used_section): New. * ldexp.h (exp_mark_used_section): New. * ldlang.c (lang_output_section_statement_lookup_1): Set the ignored field to FALSE. (lang_mark_used_section_1): New. (lang_mark_used_section): Call lang_mark_used_section_1. (strip_excluded_output_sections): Call lang_mark_used_section and check for unused sections. (lang_size_sections_1): Skip an output section if it should be ignored. (lang_do_assignments_1): Likewise. (lang_process): Don't call lang_mark_used_section here. * ldlang.h (lang_output_section_statement_type): Change all_input_readonly to bitfield. Add ignored. ld/testsuite/ 2005-05-17 H.J. Lu <hongjiu.lu@intel.com> PR 797 * empty-aligned.d: New file. * empty-aligned.exp: Likewise. * empty-aligned.s: Likewise. * empty-aligned.t: Likewise.
2005-05-17(bfd_section_from_shdr): Add sanity check when parsing dynamic sections.Nick Clifton2-0/+8
2005-05-17Ignore CRsNick Clifton2-0/+5
2005-05-17Adfd entry for patch to symbols.c that was accidentally omitted.Nick Clifton1-0/+8
2005-05-17(GENERATE_PIE_SCRIPT): Define as "yes".Nick Clifton3-0/+8
2005-05-17ldlang.c (print_assignment): Do not rely upon a valid result having a sectionNick Clifton4-3/+22
associated with it. elf32-arm.c (elf32_arm_final_link_relocate): Gracefully handle the situation where a symbols's section is not known but a section relative R_ARM_RELATIVE reloc has to be generated for the Symbian OS.
2005-05-17* ldlang.c (Scan_for_self_assignment): Check an assignment tree toNick Clifton3-9/+119
see if the same value is being used on the rhs as on the lhs. (print_assignment): Call scan_for_self_assignment and if it returns true, do no display the result of the computation but instead just the final value of the symbol on the lhs. * ld.texinfo: Document this behaviour and provide an example of when it will happen.
2005-05-17 * configure.ac: Add igen to v850 build.Corinna Vinschen3-0/+7
* configure: Regenerate.
2005-05-17gas/Jan Beulich5-96/+99
2005-05-17 Jan Beulich <jbeulich@novell.com> * read.c (_find_end_of_line): New. (find_end_of_line): New. (HANDLE_CONDITIONAL_ASSEMBLY): Use it. (read_a_source_file): Use it. (s_globl): Use it. (s_macro): Use it. (get_line_sb): Use it. (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line. (s_comm_internal): Likewise. (s_lsym): Likewise. (s_macro): Likewise. (s_ignore): Use ignore_rest_of_line. * read.h (find_end_of_line): Prototype. (discard_rest_of_line): Remove prototype. #define to ignore_rest_of_line. gas/testsuite/ 2005-05-17 Jan Beulich <jbeulich@novell.com> * gas/mmix/err-byte1.s: Adjust expected error text on line 10.
2005-05-17 * elf32-ppc.c (LIS_11. LIS_12): Define.Alan Modra2-38/+100
(LWZU_0_X_12, LWZ_0_X_12, LWZ_12_4_12, LWZ_12_X_12): Define. (ppc_elf_finish_dynamic_sections): Provide non-pic plt call stub for --data-plt when building non-pie executables.
2005-05-17* config/tc-v850,h (TC_FIX_TYPE): Define. (TC_INIT_FIX_TYPE): Define.Nick Clifton7-18/+83
* config/tc-v850.c (md_assemble): When creating a fix record the operand in the tc_fix_data field. (md_apply_fix3): When applying a resolved fix use the operand's insertion procedure to store the value, if the operand has been recorded. * gas/v850/split-lo16.s: Add test for a lo() pseudo reloc corrupting an ld.w instruction. * gas/v850/split-lo16.d: Add expected, correct (ie not corrupt) output.
2005-05-17(v850_elf_relocate_section): Move code to test for the presence of a symbolNick Clifton2-9/+18
table to just before the symbol table is actually used.
2005-05-17*** empty log message ***gdbadmin1-1/+1
2005-05-17daily updateAlan Modra1-1/+1
2005-05-16merge from gccDJ Delorie3-7/+13
2005-05-162005-05-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+151
PR 834 * elfxx-ia64.c (elfNN_ia64_relax_br): New. (elfNN_ia64_relax_section): Use it.
2005-05-16Oops.Mark Kettenis1-2/+3
2005-05-16* corelow.c (core_xfer_partial): Change type of readbuf andMark Kettenis8-39/+71
writebuf to `gdb_byte *'. * sparc-nat.c (sparc_xfer_wcookie, sparc_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * bsd-uthread.c (bsd_uthread_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * inf-ptrace.c (inf_ptrace_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * bsd-kvm.c (bsd_kvm_xfer_memory): Replace. (bsd_kvm_xfer_partial): New function. (bsd_kvm_add_target): Set to_xfer_partial instead of to_xfer_memory. * bfd-target.c (target_bfd_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * target.c (deprecated_debug_xfer_memory): Remove prototype. (deprecated_debug_xfer_memory): Change type of second argument to `gdb_byte *'. * remote.c (remote_xfer_memory): Remove prototype. (remote_xfer_memory): Change type of second argument to `gdb_byte *'. (remote_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'.
2005-05-16* config/sparc/fbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.Mark Kettenis3-3/+10
* config/sparc/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o and solib-legacy.o. (NAT_FILE): Remove.
2005-05-16 * s390-tdep.c (s390_return_value): Remove unnecessary casts.Ulrich Weigand2-6/+10
(s390_breakpoint_from_pc): Change type of return value and 'breakpoint' to const gdb_byte *.
2005-05-16 * s390-tdep.c (s390_pseudo_register_read, s390_pseudo_register_write):Ulrich Weigand2-9/+21
Change type of 'buf' argument to gdb_byte *. (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise. (s390_register_to_value): Change type of 'out' to gdb_byte *, change type of 'in' to gdb_byte []. (s390_value_to_register): Change type of 'in' to gdb_byte *, change type of 'out' to gdb_byte []. (s390_return_value): Change type of 'out' and 'in' to gdb_byte *.
2005-05-16 * linux-low.c (fetch_register): Ensure buffer size is a multipleUlrich Weigand2-6/+17
of sizeof (PTRACE_XFER_TYPE). (usr_store_inferior_registers): Likewise. Zero out excess bytes.
2005-05-162005-05-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-36/+52
* target.h (target_read_partial, target_write_partial) (do_xfer_memory, xfer_memory, target_read, target_write) (get_target_memory): For buffers, change "void*" to gdb_byte. (struct target_ops): Ditto for to_xfer_partial and deprecated_xfer_memory. * dcache.h (dcache_xfer_memory): Ditto. * target.c (default_xfer_partial, target_read_partial) (target_write_partial, target_read, target_write) (do_xfer_memory, update_current_target, get_target_memory): Update. (target_read_string): Change buf to a gdb_byte. * dcache.c (dcache_xfer_memory): Update. * exec.c (xfer_memory): Make buffer type to gdb_byte. * mem-break.c (default_memory_insert_breakpoint): Remove cast. * disasm.c (dis_asm_read_memory): Remove cast, use gdb_byte.
2005-05-16Typo fix.Ben Elliston1-1/+1
2005-05-16*** empty log message ***gdbadmin1-1/+1
2005-05-16daily updateAlan Modra1-1/+1
2005-05-15* sol-thread.c (ignore): Change last argument to `gdb_byte.'Mark Kettenis2-1/+3
2005-05-15* config/i386/fbsd.mt (DEPRECATED_TM_FILE): Remove.Mark Kettenis7-6/+7
* config/i386/fbsd64.mt (DEPRECATED_TM_FILE): Remove. * config/i386/nbsd.mt (DEPRECATED_TM_FILE): Remove. * config/i386/nbsd64.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/nbsd.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
2005-05-15* observer.sh: Quote $DJGPP.Mark Kettenis2-1/+5
2005-05-15merge from gccDJ Delorie2-144/+165
2005-05-15./Daniel Jacobowitz24-8634/+21426
* ylwrap: Import from Automake 1.9.5. binutils/ * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. * doc/Makefile.am (binutils_TEXINFOS): Define. (config.texi): Depend on distributed files instead of built files. (binutils.dvi, binutils.info): Remove unnecessary rules. (DISTCLEANFILES): Remove. (install-data-local): Renamed from install. (info-local): Renamed from info. * Makefile.in, aclocal.m4, config.in, configure, doc/Makefile.in: Regenerated. gas/ * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap invocation. * Makefile.in: Regenerated. ld/ * Makefile.am (AM_MAKEINFOFLAGS): Define. (TEXI2DVI): Define. (ldver.texi): Depend on distributed files instead of built files. (ld.info): Include $(srcdir) in the rule target. Remove actions. (ld.dvi): Remove actions. (MAINTAINERCLEANFILES): Add configdoc.texi. (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. (install-data-local): Renamed from install. (Makefile): Remove explicit dependency. * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. * Makefile.in, aclocal.m4, config.in, configure: Regenerated. gdb/ * Makefile.in (.y.c): Update ylwrap invocation.
2005-05-15merge from gccDJ Delorie3-48/+68
2005-05-15 * linux-nat.c (child_follow_fork, linux_handle_extended_wait)Daniel Jacobowitz2-18/+24
(lin_lwp_attach_lwp, linux_nat_attach, wait_lwp, child_wait) (linux_nat_wait, kill_wait_callback): Use my_waitpid. (_initialize_linux_nat, lin_thread_get_thread_signals): Use SA_RESTART.
2005-05-15daily updateAlan Modra1-1/+1
2005-05-15*** empty log message ***gdbadmin1-1/+1
2005-05-14* configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.Mark Kettenis3-1/+6
* config/vax/obsd.mt (TDEPFILES): New file.
2005-05-14* i386-tdep.c (i386_supply_gregset, i386_collect_gregset): UseMark Kettenis2-2/+5
gdb_byte instead of bfd_byte.
2005-05-14* mips-tdep.c (mips_pseudo_register_read)Mark Kettenis2-48/+76
(mips_pseudo_register_write): Change type of last argument to `gdb_byte *'. (mips_register_to_value, mips_value_to_register): Change type of last argument to `gdb_byte *'. Remove casts that are no longer needed. (mips_fetch_instruction, fetch_mips_16): Use gdb_byte for buf. (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_o32_push_dummy_call, mips_o32_return_value): Use `const gdb_byte *' for val and gdb_byte for valbuf. Remove casts that are no longer needed. (mips_eabi_return_value, mips_n32n64_return_value) (mips_o32_return_value, mips_o64_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (mips_read_fp_register_single): Change type of last argument to `gdb_byte *'. Use `gdb_byte *' for raw_buffer. (mips_read_fp_register_double): Change type of last argument to `gdb_byte *'. (mips_print_fp_register): Use `gdb_byte *' for raw_buffer. Remove casts that are no longer needed. (mips_print_register, print_gp_register_row): Use gdb_byte for raw_buffer. Remove casts that are no longer needed. (mips_single_step_through_delay): Use gdb_byte for buf. (mips_breakpoint_from_pc): Change return type to `const gdb_byte *'. Use gdb_byte for mips16_big_breakpoint, big_breakpoint, pmon_big_breakpoint, idt_big_breakpoint, mips16_little_breakpoint, little_breakpoint, pmon_little_breakpoint and idt_little_breakpoint. (mips_integer_to_address): Use `gdb_byte *' for tmp.
2005-05-14* config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.Mark Kettenis7-6/+7
* config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove. * config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.
2005-05-14* elflink.c (bfd_elf_size_dynamic_sections): Use lbasename insteadMark Kettenis2-2/+7
of basename.
2005-05-14* sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): UseMark Kettenis3-53/+88
gdb_byte for buf. (sparc32_pseudo_register_read, sparc32_pseudo_register_write): Change type of last argument to `gdb_byte *'. Remove casts that are no longer needed. (sparc32_push_dummy_code, sparc32_store_arguments): Use gdb_byte for buf. (sparc_breakpoint_from_pc): Change return type to `const gdb_byte *'. Use gdb_byte for break_insn. (sparc32_extract_return_value, sparc32_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (sparc32_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (sparc_software_single_step): Use gdb_byte for npc_save and nnpc_save. (sparc_supply_rwindow, sparc_collect_rwindow): Use gdb_byte for buf. (sparc32_supply_gregset, sparc32_collect_gregset) (sparc32_supply_fpregset, sparc32_collect_fpregset): Use `gdb_byte *' for regs. * sparc64-tdep.c (sparc64_pseudo_register_read) (sparc64_pseudo_register_write): Change type of last argument to `gdb_byte *'. Remove casts that are no longer needed. (sparc64_store_floating_fields, sparc64_extract_floating_fields): Change type of valbuf argument to `gfd_byte *'. (sparc64_store_arguments): Use `gdb_byte *' for valbuf. use gdb_byte for buf. (sparc64_extract_return_value, sparc64_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (sparc64_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (sparc64_supply_gregset, sparc64_collect_gregset) (sparc64_supply_fpregset, sparc64_collect_fpregset): Use `gdb_byte *' for regs.
2005-05-14* m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return typeMark Kettenis3-29/+49
to `const gdb_byte *'. Use gdb_byte for break_insn. (m68k_register_to_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for from. (m68k_value_to_register): Change type of last argument to `gdb_byte *'. Use gdb_byte for to. (m68k_extract_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. Remove unnecessary cast. (m68k_svr4_extract_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (m68k_store_return_value): Change type of last argument to `gdb_byte *'. Remove unnecessary cast. (m68k_svr4_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (m68k_return_value, m68k_svr4_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache) (m68k_unwind_dummy_id): Use gdb_byte for buf. (m68k_get_longjmp_target): Use `gdb_byte *' for buf. * m68kbsd-tdep.c (m68kbsd_supply_fpregset) (m68kbsd_supply_gregset): Use `gdb_byte *' for regs.
2005-05-14* m88k-tdep.c (m88k_breakpoint_from_pc): Change return type toMark Kettenis2-6/+12
`const gdb_byte *'. Use gdb_byte for break_insn. (m88k_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. Use gdb_byte for buf. (m88k_supply_gregset): Use `gdb_byte *' for regs.
2005-05-14* vax-tdep.c (vax_return_value): Change type of readbuf andMark Kettenis2-2/+5
writebuf arguments to `gdb_byte *'.
2005-05-14* amd64-tdep.c (amd64_return_value): Change type of readbuf andMark Kettenis5-19/+31
writebuf arguments to `gdb_byte *'. Remove now redundant casts. * i386-tdep.c (i386_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (i386_pseudo_register_read, i386_pseudo_register_write): Change type of last argument to `gdb_byte *'. (i386_register_to_value, i386_value_to_register): Change type of last argument to `gdb_byte *'. Simplify function a bit. * i387-tdep.h (i387_value_to_register, i387_register_to_value): Change type of last argument to `gdb_byte *'. * i387-tdep.c: Likewise.