aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-06-23 PR ld/2754Alan Modra12-63/+114
* elf.c (bfd_elf_mkobject): Don't alloc if already done. Set program_header_size to -1. (_bfd_elf_map_sections_to_segments): Adjust program_header_size check. (assign_file_positions_for_load_sections ): Likewise. (_bfd_elf_sizeof_headers): Use saved program_header_size if available. * elf32-arm.c (elf32_arm_mkobject): Call bfd_elf_mkobject, don't alloc if already done. * elf32-i386.c (elf_i386_mkobject): Likewise. * elf32-ppc.c (ppc_elf_mkobject): Likewise. * elf32-s390.c (elf_s390_mkobject): Likewise. * elf32-sh.c (sh_elf_mkobject): Likewise. * elf64-alpha.c (elf64_alpha_mkobject): Likewise. * elf64-ppc.c (ppc64_elf_mkobject): Likewise. * elf64-s390.c (elf_s390_mkobject): Likewise. * elf64-x86-64.c (elf64_x86_64_mkobject): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_mkobject): Likewise.
2006-06-23*** empty log message ***gdbadmin1-1/+1
2006-06-23daily updateAlan Modra1-1/+1
2006-06-22Typo fix.Daniel Jacobowitz1-1/+1
2006-06-22 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.Daniel Jacobowitz2-1/+6
2006-06-22 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if notDaniel Jacobowitz2-43/+18
native.
2006-06-22 * gdb.stabs/exclfwd.exp: Skip the test if configure did notDaniel Jacobowitz2-0/+11
enable stabs testing.
2006-06-22 * auxv.exp: Intercept undefined command messages beforeDaniel Jacobowitz2-0/+8
gdb_test_multiple does.
2006-06-22Add changelog entry for unintended earlier commit:Daniel Jacobowitz1-0/+9
* Makefile.in (host_alias): Remove. (target_alias): Use @target_noncanonical@. (site.exp): Don't set host_alias. * aclocal.m4: Remove contents. Include acx.m4. * configure: Regenerated. * configure.ac: Use ACX_NONCANONICAL_TARGET.
2006-06-22Revert accidental commit.Daniel Jacobowitz1-3/+0
2006-06-22PR ld/2757Nick Clifton2-1/+8
* emultempl/pe.em (gld_$_after_open): When reporting non PE format output files mention the file name and the fact that it is an output file.
2006-06-22 * remote-utils.c (remote_escape_output, remote_unescape_input): New.Daniel Jacobowitz4-8/+166
(putpkt_binary): Renamed from putpkt and adjusted for binary data. (putpkt): New wrapper for putpkt_binary. (readchar): Don't mask off the high bit. (decode_X_packet): New function. * server.c (main): Call putpkt_binary if a handler sets the packet length. Save the length of the incoming packet. Handle 'X'. * server.h (gdb_byte, remote_escape_output, decode_X_packet): New.
2006-06-22 * config/tc-mips.c (ISA_SUPPORTS_MIPS16E): New macro.Thiemo Seufer2-19/+31
(append_insn): Use it. (md_apply_fix): Whitespace formatting. (md_begin, append_insn, macro, macro2, mips16_immed, mips_align, mips16_extended_frag): Remove register specifier. (md_convert_frag): Likewise. Use TRUE ans FALSE instead of numeric constants.
2006-06-22 * remote.c (remote_escape_output): New function.Daniel Jacobowitz2-18/+45
(remote_write_bytes): Use remote_escape_output.
2006-06-22Correct comment.Nick Clifton1-2/+4
2006-06-22* emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): Restructure.Nick Clifton3-76/+88
Add native "%s.lib" format to search list * ld.texinfo (node WIN32): Update documentation on dynamic lib search order. Add another reason for using import libs.
2006-06-22*** empty log message ***gdbadmin1-1/+1
2006-06-22daily updateAlan Modra1-1/+1
2006-06-21Corrected typo in date.Mark Shinwell1-1/+1
2006-06-21gas/Mark Shinwell3-5/+93
* config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New. Parse a directive saving VFP registers for ARMv6 or later. (s_arm_unwind_save): Add parameter arch_v6 and call s_arm_unwind_save_vfp or s_arm_unwind_save_vfp_armv6 as appropriate. (md_pseudo_table): Add entry for new "vsave" directive. * doc/c-arm.texi: Correct error in example for "save" directive (fstmdf -> fstmdx). Also document "vsave" directive.
2006-06-21gdb/Daniel Jacobowitz12-608/+472
* NEWS: Mention qSupported. * remote.c (struct remote_state): Add explicit_packet_size. (get_remote_packet_size): Check explicit_packet_size. (get_memory_packet_size): Likewise. (PACKET_qSupported): New enum value. (struct protocol_feature, remote_supported_packet) (remote_packet_size, remote_protocol_features) (remote_query_supported): New. (remote_open_1): Reset explicit_packet_size. Call remote_query_supported. (_initialize_remote): Register qSupported. gdb/doc/ * gdb.texinfo (Remote configuration): Document set / show remote supported-packets. (General Query Packets): Document qSupported packet. gdb/gdbserver/ * server.c (handle_query): Handle qSupported.
2006-06-21Fix for segmentation fault.Mark Shinwell2-1/+18
* ldlang.c (lang_insert_orphan): Correctly handle the case where the section is to end up after the section currently at the end of the list in output_bfd.
2006-06-212006-06-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-0/+5
* cli/cli-script.c (realloc_body_list): Zero new parts of body_list.
2006-06-21 * GDB 6.5 released from GDB 6.5 branch.Joel Brobecker1-0/+4
2006-06-21 * ld-elf/tls_common.exp: Match 32-bit output.Alan Modra2-1/+5
2006-06-21 * emultempl/mmo.em: Improve comments. Explain why there'sHans-Peter Nilsson2-5/+16
ELF-stuff here.
2006-06-21*** empty log message ***gdbadmin1-1/+1
2006-06-21daily updateAlan Modra1-1/+1
2006-06-20 * gas/mips/mips.exp: Explicitly specify o32 ABI.Thiemo Seufer4-3/+9
* gas/mips/mips64-dsp.d: Dump o32 register names. * gas/mips/smartmips.d: Explicitly specify o32 ABI.
2006-06-20 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): LimitAlan Modra6-306/+182
loop to ten iterations. Throw away any previous linker generated segment map. * ldlang.c (lang_phdr_list): Make global. * ldlang.h (lang_phdr_list): Declare. * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps. * Makefile.in: Regenerate.
2006-06-20 * elflink.c (elf_link_add_object_symbols): Don't create .tcommonJakub Jelinek5-1/+93
section for relocatable link. * ld-elf/tls_common.exp: New test. * ld-elf/tls_common.s: New file.
2006-06-20 * elf-bfd.h (struct elf_backend_data): AddAlan Modra7-81/+110
elf_backend_modify_program_headers. * elfxx-target.h (elf_backend_modify_program_headers): Define. (elfNN_bed): Init new field. * elf.c (elf_modify_segment_map): Remove comment. (assign_file_positions_for_load_sections): Only call elf_modify_segment_map for objcopy/strip. (assign_file_positions_except_relocs): Call elf_backend_modify_program_headers. * elf32-frv.c (elf32_frvfdpic_always_size_sections): Don't make .stack section. (elf32_frvfdpic_modify_segment_map): Delete. (elf32_frvfdpic_modify_program_headers): New. (elf_backend_modify_segment_map): Don't define. (elf_backend_modify_program_headers): Define. * elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Don't make .stack section. (elf32_bfinfdpic_modify_segment_map): Delete. (elf32_bfinfdpic_modify_program_headers): New. (elf_backend_modify_segment_map): Don't define. (elf_backend_modify_program_headers): Define. * elfxx-ia64.c (elfNN_ia64_modify_program_headers): New function. Split out from.. (elfNN_ia64_modify_segment_map): ..here. (elf_backend_modify_program_headers): Define.
2006-06-202006-06-19 Vladimir Prus <vladimir@codesourcery.com>Paul Brook2-0/+40
bfd/ * elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low bit for undefined symbols. ld/testsuite * ld-arm/arm-elf.exp: New test. * ld-arm/use-thumb-lib.s: New file. * ld-arm/use-thumb-lib.sym: New file.
2006-06-20 * bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.Jakub Jelinek3-0/+8
* elf.c (_bfd_elf_link_hash_table_init): Clear hplt field.
2006-06-202006-06-20 David Ayers <d.ayers@inode.at>David Ayers3-134/+132
PR bootstrap/28072 * configure.in: Add target-boehm-gc to noconfigdirs depending on whether target-libjava is being configured instead of whether the java front end is enabled. * configure: Regenerate.
2006-06-20bfd/Alan Modra45-1545/+1360
* elf-bfd.h: Formatting. (_bfd_elf_map_sections_to_segments): Declare. * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame_hdr): Don't clear program_header_size. * elf.c (get_program_header_size): Move. Don't use or set saved program_header_size here. (elf_modify_segment_map): New function. Split out from.. (assign_file_positions_for_load_sections): ..here. Assert header size is correct. Remove dead code. (_bfd_elf_map_sections_to_segments): Rename from map_sections_to_segments. Make global. Use get_program_header_size when we need estimate of header size. Call elf_modify_segment_map. Set program_header_size. (print_segment_map): Delete. (_bfd_elf_sizeof_headers): If segment_map available, get the actual size. * elf32-arm.c (elf32_arm_symbian_modify_segment_map): Make safe for calling more than once. * elf32-bfin.c (elf32_bfinfdpic_modify_segment_map): Likewise. * elf32-frv.c (elf32_frvfdpic_modify_segment_map): Likewise. * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise. * elf32-i370.c (elf_backend_add_symbol_hook): Delete. (elf_backend_additional_program_headers): Delete. (elf_backend_modify_segment_map): Delete. * elf64-hppa.c (elf64_hppa_modify_segment_map): Convert to ISO C. * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise. * doc/bfdint.texi: Delete SIZEOF_HEADERS difficulties. ld/ * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix many ELF emul file deps that incorrectly said they needed elf32.em instead of generic.em. Add genelf.em as required. * Makefile.in: Regenerate. * ldlang.c (lang_process): Call ldemul_finish before lang_check_section_addresses. * emulparams/arcelf.sh: Generic elf target needs genelf. * emulparams/d30v_e.sh: Likewise. * emulparams/d30v_o.sh: Likewise. * emulparams/d30velf.sh: Likewise. * emulparams/elf32_dlx.sh: Likewise. * emulparams/elf32_i860.sh: Likewise. * emulparams/elf32fr30.sh: Likewise. * emulparams/elf32frv.sh: Likewise. * emulparams/elf32iq10.sh: Likewise. * emulparams/elf32iq2000.sh: Likewise. * emulparams/elf32mt.sh: Likewise. * emulparams/mn10200.sh: Likewise. * emulparams/or32.sh: Likewise. * emulparams/or32elf.sh: Likewise. * emulparams/pjelf.sh: Likewise. * emulparams/msp430all.sh: Likewise. Extract common entries. * emulparams/pjlelf.sh: Include pjelf.sh. * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset. * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset. * emultempl/elf-generic.em: New file. * emultempl/genelf.em: New file. * emultempl/elf32.em: Include elf-generic.em. (gld${EMULATION_NAME}_layout_sections_again): Delete. (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments. * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call gld${EMULATION_NAME}_map_segments. (LDEMUL_FINISH): Update. * emultempl/mmo.em: Correct comment. Include elf-bfd.h and source elf-generic.em. (mmo_finish): Call gld${EMULATION_NAME}_map_segments. * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise. (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call gld${EMULATION_NAME}_map_segments. (LDEMUL_FINISH): Update. ld/testsuite/ * ld-elf/eh1.d: Update for fewer program headers. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise.
2006-06-20*** empty log message ***gdbadmin1-1/+1
2006-06-20daily updateAlan Modra1-1/+1
2006-06-192006-06-19 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+10
* mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to decide how many registers it takes to pass a floating point argument, what matters is the size of a floating point register (not the size of a general purpose register). (mips_o32_push_dummy_call): Ditto.
2006-06-19 * config/tc-avr.c (mcu_types): Add support for atmega165p, atmega169pDenis Chertykov3-7/+22
and atmega644p devices. Rename atmega164/atmega324 devices to atmega164p/atmega324p. * doc/c-avr.texi: Document new mcu and arch options.
2006-06-192006-06-19 Vladimir Prus <vladimir@codesourcery.com>Paul Brook4-0/+28
bfd/ * elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low bit for undefined symbols. ld/testsuite * ld-arm/arm-elf.exp: New test. * ld-arm/use-thumb-lib.s: New file. * ld-arm/use-thumb-lib.sym: New file.
2006-06-19bfd/Alan Modra48-153/+195
* elf-bfd.h (struct elf_backend_data): Add bfd_link_info pointer parameter. (_bfd_elf_sizeof_headers): Replace bfd_boolean param with bfd_link_info pointer. * targets.c (struct bfd_target <_bfd_sizeof_headers>): Likewise. * bfd.c (bfd_sizeof_headers): Tweak param name. * aout-adobe.c (aout_adobe_sizeof_headers): Adjust. * aoutx.h (NAME (aout, sizeof_headers)): Adjust. * binary.c (binary_sizeof_headers): Adjust. * bout.c (b_out_sizeof_headers): Adjust. * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Adjust. * coff64-rs6000.c (xcoff64_sizeof_headers): Adjust. * coffgen.c (coff_sizeof_headers): Adjust. * ecoff.c (_bfd_ecoff_sizeof_headers): Adjust. (ecoff_compute_section_file_positions): Adjust. (_bfd_ecoff_write_object_contents): Adjust. * elf.c (get_program_header_size, _bfd_elf_sizeof_headers): Adjust. * elf32-arm.c (elf32_arm_additional_program_headers): Adjust. * elf32-i370.c (elf_backend_additional_program_headers): Adjust. * elf32-ppc.c (ppc_elf_additional_program_headers): Adjust. * elf64-hppa.c (elf64_hppa_additional_program_headers): Adjust. * elf64-x86-64.c (elf64_x86_64_additional_program_headers): Adjust. * elfxx-ia64.c (elfNN_ia64_additional_program_headers): Adjust. * elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Adjust. * elfxx-mips.h (_bfd_mips_elf_additional_program_headers): Adjust. * i386msdos.c: Convert to ISO C. (msdos_sizeof_headers): Adjust. * i386os9k.c: Convert to ISO C. (os9k_sizeof_headers): Adjust. * ieee.c (ieee_sizeof_headers): Adjust. * ihex.c (ihex_sizeof_headers): Adjust. * libaout.h (NAME (aout, sizeof_headers)): Adjust. * libbfd-in.h (_bfd_nolink_sizeof_headers): Adjust. * libcoff-in.h (coff_sizeof_headers): Adjust. * libecoff.h (_bfd_ecoff_sizeof_headers): Adjust. * mach-o.c (bfd_mach_o_sizeof_headers): Adjust. * mmo.c (mmo_sizeof_headers): Adjust. * oasys.c (oasys_sizeof_headers): Adjust. * pdp11.c (NAME (aout, sizeof_headers)): Adjust. * pef.c (bfd_pef_sizeof_headers): Adjust. * ppcboot.c (ppcboot_sizeof_headers): Adjust. * som.c (som_sizeof_headers): Adjust. * srec.c (srec_sizeof_headers): Adjust. * tekhex.c (tekhex_sizeof_headers): Adjust. * versados.c (versados_sizeof_headers): Adjust. * vms.c (vms_sizeof_headers): Adjust. * xcoff-target.h (_bfd_xcoff_sizeof_headers): Adjust. * xsym.c (bfd_sym_sizeof_headers): Adjust. * xsym.h (bfd_sym_sizeof_headers): Adjust. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * libcoff.h: Regenerate. ld/ * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
2006-06-192006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Kazuhiro Inaoka2-1/+7
* configure.tgt: Add gdbserver support for m32r-linux.
2006-06-19*** empty log message ***gdbadmin1-1/+1
2006-06-19daily updateAlan Modra1-1/+1
2006-06-18Skip for non-ELF targets.Nick Clifton13-0/+27
2006-06-18* m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.Mark Kettenis2-1/+5
2006-06-18daily updateAlan Modra1-1/+1
2006-06-18*** empty log message ***gdbadmin1-1/+1
2006-06-17(enum parse_operand_result): Move outside of #ifdef OBJ_ELF so that non-ELFNick Clifton2-7/+12
targeted ARM ports can build.