summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2005-05-07 Paul Brook <paul@codesourcery.com>Paul Brook2005-07-057-287/+789
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ * config.bfd: Add separate case for ppc-vxworks. * configure: Regenerate. * configure.in: Include elf-vxworks.lo on ppc targets. * elf-vxworks.c (elf_vxworks_final_write_processing): Handle .rela.plt.unloaded. * elf32-ppc.c: Add VxWorks target vec. Include elf-vxworks.h. (PLT_ENTRY_SIZE, PLT_INITIAL_ENTRY_SIZE, PLT_SLOT_SIZE): Remove. (VXWORKS_PLT_ENTRY_SIZE, ppc_elf_vxworks_plt_entry, ppc_elf_vxworks_pic_plt_entry, VXWORKS_PLT_INITIAL_ENTRY_SIZE, ppc_elf_vxworks_plt0_entry, ppc_elf_vxworks_pic_plt0_entry, VXWORKS_PLT_NON_JMP_SLOT_RELOCS, VXWORKS_PLTRESOLVE_RELOCS, VXWORKS_PLTRESOLVE_RELOCS_SHLIB): New. (ppc_elf_link_hash_table): Add srelplt2, sgotplt, hgot, hplt, is_vxworks, plt_entry_size, plt_slot_size, plt_initial_entry_size. (ppc_elf_link_hash_table_create): Initialize hadtab plt fields. (ppc_elf_create_got): Create .got.plt for VxWorks. (ppc_elf_create_dynamic_sections): Create unloaded plt relocation section for VxWorks. (ppc_elf_select_plt_layout): Handle VxWorks plt format. (allocate_got): VxWorks does not need a got header. (allocate_dynrelocs): Handle VxWorks plt format. (ppc_elf_size_dynamic_sections): Save _G_O_T_ and _P_L_T_ symbols for VxWorks. Handle VxWorks plt/got. (ppc_elf_finish_dynamic_sections): Fill in VxWorks plt. (ppc_elf_vxworks_special_sections): New. (ppc_elf_vxworks_link_hash_table_create, ppc_elf_vxworks_add_symbol_hook, elf_i386_vxworks_link_output_symbol_hook, ppc_elf_vxworks_final_write_processing): New functions. * targets.c (bfd_elf32_powerpc_vxworks_vec): Declare. (_bfd_target_vector): Use it. gas/ * config/tc-ppc.c (ppc_target_format): Add VxWorks. gas/testsuite/ * gas/ppc/altivec.d: Match all powerpc target vecs. * gas/ppc/booke.d: Ditto. * gas/ppc/e500.d: Ditto. ld/ * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o. (eelf32ppcvxworks.o): Add dependencies. * Makefile.in: Regenerate. * configure.tgt: Add entry for powerpc-vxworks. * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment. * emulparams/elf32ppcvxworks.sh: New file. * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare. (is_ppc_elf32_vec): New function. (ppc_after_open, ppc_before_allocation, gld${EMULATION_NAME}_after_allocation): Use it.
* * libbfd-in.h (struct artdata): Add extended_names_size field.Jakub Jelinek2005-07-057-31/+62
| | | | | | | | | | | | | | | | * libbfd.h: Rebuilt. * coff-rs600.c (_bfd_xcoff_archive_p): Don't clear fields in freshly allocated object by bfd_zalloc. * coff64-rs6000.c (xcoff64_archive_p): Likewise. * ecoff.c (_bfd_ecoff_archive_p): Likewise. * archive.c (_bfd_generic_mkarchive, bfd_generic_archive_p): Likewise. (get_extended_arelt_filename): Fail if index is bigger or equal to extended_names_size. (_bfd_generic_read_ar_hdr_mag): Don't set bfd_error_malformed_archive, get_extended_arelt_filename already did that. (_bfd_slurp_extended_name_table): Initialize extended_names_size field. Allocate one extra byte and clear it, in case extended names table is not terminated.
* * libbfd-in.h (bfd_malloc2, bfd_realloc2, bfd_zmalloc2, bfd_alloc2,Jakub Jelinek2005-07-0514-73/+386
| | | | | | | | | | | | | | | | | | | | | | | | | | bfd_zalloc2): New prototypes. * bfd-in.h (HALF_BFD_SIZE_TYPE): Define. * libbfd.c (bfd_malloc2, bfd_realloc2, bfd_zmalloc2): New functions. * opncls.c (bfd_alloc2, bfd_zalloc2): New functions. * elf.c (bfd_elf_get_elf_syms, setup_group, assign_section_numbers, elf_map_symbols, map_sections_to_segments, assign_file_positions_for_segments, copy_private_bfd_data, swap_out_syms, _bfd_elf_slurp_version_tables): Use bfd_*alloc2 where appropriate. * bfd-in2.h: Rebuilt. * libbfd.h: Rebuilt. * elf.c (_bfd_elf_print_private_bfd_data): Don't crash on bogus verdef or verneed section. (_bfd_elf_slurp_version_tables): Handle corrupt verdef and/or verneed sections gracefully. * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto_ptr): Don't crash on bogus relocation values. * elf64-ppc.c (ppc64_elf_info_to_howto): Likewise. * elf64-s390.c (elf_s390_info_to_howto): Likewise. * elf32-s390.c (elf_s390_info_to_howto): Likewise. * elf64-x86-64.c (elf64_x86_64_info_to_howto): Likewise. * elfxx-ia64.c (lookup_howto): Likewise.
* * elf.c (bfd_elf_get_str_section): Allocate an extra byte afterJakub Jelinek2005-07-052-23/+21
| | | | | the end of strtab and clear it. (elf_read): Remove.
* Add Vietnamese translation.Nick Clifton2005-07-054-2/+3280
|
* (elf32_arm_size_dynamic_sections): Fix a typo and touchup logic like i386/ppc.Nick Clifton2005-07-052-3/+7
|
* gas/Jan Beulich2005-07-054-3/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-05 Jan Beulich <jbeulich@novell.com> * config/tc-i386.h (CpuSVME): New. (CpuUnknownFlags): Include CpuSVME. * config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron as alias of sledgehammer. (md_assemble): Include invlpga in the check for insns with two source operands. (process_operands): Include SVME insns in the check for ignored segment overrides. Adjust diagnostic. (i386_index_check): Special-case SVME insns with memory operands. gas/testsuite/ 2005-07-05 Jan Beulich <jbeulich@novell.com> * gas/i386/svme.d: New. * gas/i386/svme.s: New. * gas/i386/svme64.d: New. * gas/i386/i386.exp: Run new tests. include/opcode/ 2005-07-05 Jan Beulich <jbeulich@novell.com> * i386.h (i386_optab): Add new insns. opcodes/ 2005-07-05 Jan Beulich <jbeulich@novell.com> * i386-dis.c (SVME_Fixup): New. (grps): Use it for the lidt entry. (PNI_Fixup): Call OP_M rather than OP_E. (INVLPG_Fixup): Likewise.
* * elf.c (special_sections): Move const qualifier.Alan Modra2005-07-0517-44/+66
| | | | | | | | | | | | | | | | | | | | | (special_sections_b..special_sections_t): Likewise. * elf32-arm.c (elf32_arm_symbian_get_sec_type_attr): Remove duplicate const. (elf32_arm_symbian_special_sections): Move const qualifier. * elf32-m32r.c: Similarly. * elf32-m68hc11.c: Similarly. * elf32-m68hc12.c: Similarly. * elf32-mcore.c: Similarly. * elf32-ppc.c: Similarly. * elf32-sh64.c: Similarly. * elf32-v850.c: Similarly. * elf32-xtensa.c: Similarly. * elf64-alpha.c: Similarly. * elf64-hppa.c: Similarly. * elf64-ppc.c: Similarly. * elf64-sh64.c: Similarly. * elfxx-ia64.c: Similarly. * elfxx-mips.c: Similarly.
* *** empty log message ***gdbadmin2005-07-051-1/+1
|
* daily updateAlan Modra2005-07-051-1/+1
|
* 2005-07-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-07-042-0/+11
| | | | * tic30-dis.c (cnvt_tmsfloat_ieee): Use HUGE_VALF if defined.
* m32r-linux-ld support for position independent executablesNick Clifton2005-07-042-2/+7
|
* * i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' inMark Kettenis2005-07-043-3/+7
| | | | | read_memory call. * bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer.
* * bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.Mark Kettenis2005-07-0413-34/+53
| | | | | | | | | | | | | | | * coffread.c (patch_type, process_coff_symbol): Likewise. * corelow.c (core_open): Likewise. * dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile): * language.c (set_lang_str, set_type_str, set_range_str) (set_case_str): Likewise. * source.c (add_path, openp): Likewise. * stabsread.c: Likewise. * top.c (init_history): Likewise. * utils.c (xfullpath): Likewise. * value.c (lookup_internalvar): Likewise. * cli/cli-cmds.c (cd_command): Likewise. * cli/cli-dump.c (add_dump_command): Likewise.
* PR 1042Alan Modra2005-07-042-5/+11
| | | | | * elf.c (assign_file_positions_for_segments): Remove excluded sections from the segment map.
* * i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): ChangeMark Kettenis2005-07-042-18/+27
| | | | | | | | type of first argument to `const gdb_byte *'. (i387_print_float_info, i387_register_to_value) (i387_value_to_register, i387_supply_fsave, i387_collect_fsave) (i387_supply_fxsave, i387_collect_fxsave): Use gdb_byte for byte buffers.
* PR 1004Alan Modra2005-07-0420-753/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ * elf-bfd.h (struct elf_backend_data): Add get_sec_type_attr. Delete special_sections. (_bfd_elf_get_special_section): Declare. (bfd_elf_special_section): Update prototype. * elf.c (special_sections): Remove unused outer entries. (get_special_section): Delete. (_bfd_elf_get_special_section): New function. (_bfd_elf_get_sec_type_attr): Replace "name" arg with "sec". Update special_sections indexing. (_bfd_elf_new_section_hook): Call backend get_sec_type_attr. * elf32-arm.c (symbian_special_sections_d): Delete. (symbian_special_sections_g, symbian_special_sections_h): Delete. (symbian_special_sections_i, symbian_special_sections_f): Delete. (symbian_special_sections_p): Delete. (elf32_arm_symbian_special_sections): Merge above to here. (elf32_arm_symbian_get_sec_type_attr): New function. (elf_backend_special_sections): Don't define. (elf_backend_get_sec_type_attr): Define. * elf32-m32r.c: Similarly to elf32-arm.c. * elf32-m68hc11.c: Likewise. * elf32-m68hc12.c: Likewise. * elf32-mcore.c: Likewise. * elf32-sh64.c: Likewise. * elf32-v850.c: Likewise. * elf32-xtensa.c: Likewise. * elf64-alpha.c: Likewise. * elf64-hppa.c: Likewise. * elf64-ppc.c: Likewise. * elf64-sh64.c: Likewise. * elfxx-ia64.c: Likewise. * elfxx-mips.c: Likewise. * elf32-ppc.c: Likewise. (bfd_elf_special_section ppc_alt_plt): New. Use it if .plt loadable. * elfxx-mips.h (_bfd_mips_elf_get_sec_type_attr): Declare. (_bfd_mips_elf_special_sections, elf_backend_special_sections): Delete. (elf_backend_get_sec_type_attr): Define. * elfxx-target.h (elf_backend_get_sec_type_attr): Define. (elf_backend_special_sections): Don't define. (elfNN_bed): Update. binutils/ * objcopy.c (copy_object): Use bfd_make_section_with_flags. (write_debugging_info): Likewise. (setup_section): Use bfd_make_section_anyway_with_flags. gas/ * config/obj-elf.c (obj_elf_change_section): Use backend get_sec_type_attr.
* *** empty log message ***gdbadmin2005-07-041-1/+1
|
* daily updateAlan Modra2005-07-041-1/+1
|
* * Makefile.in (RUNTEST): Set to runtest.Ben Elliston2005-07-032-4/+5
|
* * src-release (do-proto-toplev): Remove dejagnu bits.Ben Elliston2005-07-032-45/+11
| | | | | | | | | (DEJAGNU_SUPPORT_DIRS): Remove. (dejagnu.tar.bz2, dejagnu.tar): Likewise. (GDBD_SUPPORT_DIRS): Likewise. (gdb+dejagnu.tar.bz2, gdb+dejagnu.tar): Likewise. (INSIGHTD_SUPPORT_DIRS): Likewise. (insight+dejagnu.tar.bz2, insight+dejagnu.tar): Likewise.
* merge from gccDJ Delorie2005-07-037-2/+61
|
* From Richard Henderson.Daniel Jacobowitz2005-07-032-18/+50
| | | | | | * amd64-tdep.c (amd64_sse_type): New. (amd64_register_info): Use it for xmm registers. Constify. (amd64_register_type): Initialize amd64_sse_type as needed.
* * configure.ac: Add arguments to AC_DEFINE calls.Steve Ellcey2005-07-036-346/+190
| | | | | | | * acconfig.h: Remove file. * acinclude.m4 (AC_GNU_SOURCE): Remove definition. * configure: Regenerate. * config.in: Regenerate.
* From Martin Simmons:Mark Kettenis2005-07-033-2/+8
| | | | | * configure.in: Check for getpwnam instead of getpwname. * configure: Regenerate.
* daily updateAlan Modra2005-07-031-1/+1
|
* *** empty log message ***gdbadmin2005-07-031-1/+1
|
* * gdb.texinfo (Packets): Change description of 'D' packet to noteNathan J. Williams2005-07-022-2/+9
| | | | that GDB does wait for a response.
* daily updateAlan Modra2005-07-021-1/+1
|
* *** empty log message ***gdbadmin2005-07-021-1/+1
|
* * mips-tdep.c (mips_insn16_frame_prev_register)Mark Kettenis2005-07-012-3/+9
| | | | | (mips_insn32_frame_prev_register, mips_stub_frame_prev_register): Change type of last argument to `gdb_byte *'.
* * configure.ac (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.Steve Ellcey2005-07-015-31/+36
| | | | | | | * configure: Regenerate. * config.in: Regenerate. * server.h (NEED_DECLARATION_STRERROR): Replace with !HAVE_DECL_STRERROR.
* * MAINTAINERS (Write After Approval): Add myself.Steve Ellcey2005-07-012-0/+5
|
* * solib-svr4.c: Include "solib.h".Mark Kettenis2005-07-013-1/+7
| | | | * Makefile.in (solib-svr4.o): Update dependencies.
* Update function declarations to ISO C90 formattingNick Clifton2005-07-01114-13830/+11373
|
* * elf64-alpha.c (elf64_alpha_create_got_section): Always createAlan Modra2005-07-012-46/+38
| | | | | | | | | a new .got section. (elf64_alpha_create_dynamic_sections): Always make new sections by using bfd_make_section_anyway_with_flags. Check that .got not already created. (elf64_alpha_check_relocs): Delete "got_created". Use tdata->gotobj instead.
* daily updateAlan Modra2005-07-011-1/+1
|
* *** empty log message ***gdbadmin2005-07-011-1/+1
|
* merge from gccDJ Delorie2005-06-304-32/+42
|
* * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Ignore dynamicAlan Modra2005-06-303-12/+34
| | | | | | | _SDA_BASE_ and _SDA2_BASE_ symbols. * elflink.c (_bfd_elf_provide_symbol): Correct comment. Define sym if not def_regular. (_bfd_elf_provide_section_bound_symbols): Similarly.
* daily updateAlan Modra2005-06-301-1/+1
|
* *** empty log message ***gdbadmin2005-06-301-1/+1
|
* * config.bfd: Mark as obsolete:Ben Elliston2005-06-292-0/+10
| | | | | | m68*-apollo-* m68*-apple-aux* m68*-bull-sysv*
* * setup.com (mpw): Remove unused directive.Ben Elliston2005-06-292-1/+4
|
* * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type forAndreas Schwab2005-06-293-1/+10
| | | | | | main to avoid warnings. * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
* * elflink.c (_bfd_elf_gc_mark): Mark sections referenced byAlan Modra2005-06-295-29/+73
| | | | | | | | | | | .eh_frame specially.. (bfd_elf_gc_sections): ..rather than totally ignoring .eh_frame. Don't recheck sections we have already marked. (elf_gc_sweep): Keep non-code sections referenced from .eh_frame. * section.c (struct bfd_section): Add gc_mark_from_eh. (STD_SECTION): Adjust. * ecoff.c (bfd_debug_section): Adjust. * bfd-in2.h: Regenerate.
* * elflink.c (elf_gc_sweep): Do not refcount on sections that haveAlan Modra2005-06-292-1/+8
| | | | not been processed by check_relocs.
* 2005-06-29 Paul Brook <paul@codesourcery.com>Paul Brook2005-06-295-22/+48
| | | | | | | | | | * bfd-in.h (_bfd_elf_provide_symbol): Update prototype. * bfd-in2.h: Regenerate. * elf32-ppc.c (ppc_elf_set_sdata_syms): Make sdata symbols section relative. * elflink.c (bfd_elf_set_symbol): Add section argument. (_bfd_elf_provide_symbol): Ditto. (_bfd_elf_provide_section_bound_symbols): Pass NULL section argument.
* Remove dejagnu/ entry.Ben Elliston2005-06-291-4/+0
|
* *** empty log message ***gdbadmin2005-06-291-1/+1
|