aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-03-202005-03-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu14-86/+110
* elf-bfd.h (elf_backend_data): Add int to elf_backend_section_from_shdr. (bfd_elf_section_data): Update comment for this_idx. (_bfd_elf_make_section_from_shdr): Add int. * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise. * elf.c (_bfd_elf_make_section_from_shdr): Take section index and use it to set this_idx in bfd_elf_section_data. (bfd_section_from_shdr): Pass shindex to _bfd_elf_make_section_from_shdr. (_bfd_elf_section_from_bfd_section): Use this_idx in bfd_elf_section_data to find section index. * elf32-arm.c (elf32_arm_section_from_shdr): Take section index and pass it to _bfd_elf_make_section_from_shdr. * elf32-i370.c(i370_elf_section_from_shdr): Likewise. * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. * elf32-v850.c (v850_elf_section_from_shdr): Likewise. * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. * elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise. * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise.
2005-03-20daily updateAlan Modra1-1/+1
2005-03-20* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.Mark Kettenis3-2/+5
* varobj.c (my_value_equal): Mark val2 as volatile.
2005-03-20Fix typo.Mark Kettenis1-1/+1
2005-03-202005-03-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* mmix-opc.c (O): Revert the last change. (Z): Likewise.
2005-03-202005-03-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu41-280/+165
* ld-mmix/bpo-1.d: Updated for empty section removal. * ld-mmix/bpo-10.d: Likewise. * ld-mmix/bpo-11.d: Likewise. * ld-mmix/bpo-14.d: Likewise. * ld-mmix/bpo-16.d: Likewise. * ld-mmix/bpo-17.d: Likewise. * ld-mmix/bpo-18.d: Likewise. * ld-mmix/bpo-19.d: Likewise. * ld-mmix/bpo-2.d: Likewise. * ld-mmix/bpo-3.d: Likewise. * ld-mmix/bpo-4.d: Likewise. * ld-mmix/bpo-5.d: Likewise. * ld-mmix/bpo-6.d: Likewise. * ld-mmix/bpo-9.d: Likewise. * ld-mmix/bspec1.d: Likewise. * ld-mmix/bspec2.d: Likewise. * ld-mmix/greg-1.d: Likewise. * ld-mmix/greg-19.d: Likewise. * ld-mmix/greg-2.d: Likewise. * ld-mmix/greg-3.d: Likewise. * ld-mmix/greg-4.d: Likewise. * ld-mmix/greg-5.d: Likewise. * ld-mmix/greg-5s.d: Likewise. * ld-mmix/greg-6.d: Likewise. * ld-mmix/greg-7.d: Likewise. * ld-mmix/loc1.d: Likewise. * ld-mmix/loc2.d: Likewise. * ld-mmix/loc3.d: Likewise. * ld-mmix/loc4.d: Likewise. * ld-mmix/loc6.d: Likewise. * ld-mmix/local1.d: Likewise. * ld-mmix/local12.d: Likewise. * ld-mmix/local3.d: Likewise. * ld-mmix/local5.d: Likewise. * ld-mmix/local7.d: Likewise. * ld-mmix/locdo-1.d: Likewise. * ld-mmix/loct-1.d: Likewise. * ld-mmix/locto-1.d: Likewise. * ld-mmix/start-1.d: Likewise. * ld-mmix/undef-3.d: Likewise.
2005-03-20* cp-names.y: Add prototype for yylex.Mark Kettenis2-1/+6
2005-03-20*** empty log message ***gdbadmin1-1/+1
2005-03-19daily updateAlan Modra1-1/+1
2005-03-19 * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.Daniel Jacobowitz3-2/+8
* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of VALADDR.
2005-03-192005-03-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* mmix-opc.c (O): Use 24UL instead of 24 for unsigned long. (Z): Likewise.
2005-03-19 * peicode.h (pe_ILF_build_a_bfd): Strip only one prefixDanny Smith2-31/+17
character in IMPORT_NAME_UNDECORATE and IMPORT_NAME_NOPREFIX cases. Add comment.
2005-03-19 * mmix-opc.c (O, Z): Force expression as unsigned long.Hans-Peter Nilsson2-2/+6
2005-03-19*** empty log message ***gdbadmin1-1/+1
2005-03-182005-03-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+6
* elflink.c (elf_mark_used_section): Remove check for special sections.
2005-03-18daily updateAlan Modra1-1/+1
2005-03-18 * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insnAndreas Schwab2-2/+8
from bfd_vma to ia64_insn, remove broken cast.
2005-03-18Move printing of TLS related error messages to dwarf2loc.c.Kevin Buettner5-41/+123
2005-03-18* utils.c (safe_strerror): Use xsnprintf instead of sprintf.Mark Kettenis2-41/+64
(decimal2str, octal2str): Change to return a string allocated by get_cell. Use xsnprint instead of snprintf. (paddr_u, paddr_d): Adjust for changed calling convention of decimal2str. (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf. (int_string): Likewise. Adjust for changed calling convention of decimal2str and octal2str.
2005-03-18 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.Kevin Buettner2-8/+25
Adjust incorrectly computed constant for realtime signal frame.
2005-03-18From Ralf Corsepius <ralf.corsepius@rtems.org>Mark Kettenis2-0/+6
* configure.tgt: Add m68*-*-rtems*.
2005-03-18Add support for generating PLT lookups for the ColdFire.Nick Clifton6-17/+97
2005-03-18 * elf32-arm.c (elf32_arm_modify_segment_map): New function.Mark Mitchell6-3/+99
(elf32_arm_additional_program_headers): Likewise. (elf_backend_modify_segment_map): Define. (elf_backend_additional_program_headers): Likewise. (elf32_arm_symbian_modify_segment_map): Use elf32_arm_modify_segment_map. * binutils/readelf.c (get_arm_segment_type): New function. (get_segment_type): Use it. * arm.h (PT_ARM_EXIDX): Define.
2005-03-18 * ld/scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,Julian Brown2-0/+14
.rel.fini_array. (.rela.dyn): Add .rela.init_array, .rela.fini_array. (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
2005-03-182005-03-18 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+5
* objdump.c (objdump_print_addr): Avoid uninitialized warning.
2005-03-18Change wording of error message to "percent-operand" from "%operand" as theNick Clifton3-54/+47
latter confuses xgettext into thinking that it is a C printf formating directive, which prevents proper translation.
2005-03-182005-03-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set bfd_section when removing unused empty output sections for non-relocatable link.
2005-03-182005-03-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
* elflink.c (elf_mark_used_section): Check bfd_is_const_section for special sections.
2005-03-18 * ldlang.c (lang_insert_orphan): Use old section_tail rather thanAlan Modra2-4/+10
traversing the bfd section list to find pointer to new section.
2005-03-18 * elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.Alan Modra3-25/+36
* elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add section_sym_count param, and return number of section symbols. (bfd_elf_size_dynamic_sections): Clear section symbol area of .dynsym contents. Don't bother calling swap_symbol_out on the first all-zero dynsym. (elf_mark_used_section): Formatting. Avoid twiddling flags in special sections like bfd_abs_section. (bfd_elf_gc_sections): Spelling fix.
2005-03-18*** empty log message ***gdbadmin1-1/+1
2005-03-17daily updateAlan Modra1-1/+1
2005-03-17 * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2Alan Modra2-2/+7
input sections into .sdata and .sbss output respectively.
2005-03-17* defs.h (xsnprintf): New prototype.Mark Kettenis3-0/+21
* utils.c (xsnprintf): New function.
2005-03-17* corelow.c (get_core_register_section): Replace usage of sprintfMark Kettenis2-3/+7
and strcpy with xstrprintf and xstrdup.
2005-03-17 * config/tc-xtensa.c (xg_apply_tentative_value): Rename toBob Wilson3-187/+176
xg_apply_fix_value and return a value to indicate success. (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative. (xtensa_force_relocation): Remove checks for VTABLE relocs. (xtensa_validate_fix_sub): New. (xtensa_fix_adjustable): Remove check for external or weak symbols. (tc_gen_reloc): Move code to handle difference of symbols and code to apply tentative fix values to ... (md_apply_fix3): ...here. Enable standard overflow checks for simple 8, 16, and 32 bit relocations. Apply fixes for slot-specific relocations when linkrelax flag is not set. * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype. (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
2005-03-17* mips-tdep.c (mips_single_step_through_delay): Put back check forMark Kettenis2-0/+8
breakpoint lost with the introduction of this function.
2005-03-172005-03-17 Paul Brook <paul@codesourcery.com>Paul Brook3-2/+7
* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic. * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
2005-03-17ld/ChangeLog:Bob Wilson7-4/+70
* ldlang.c (IGNORE_SECTION): Remove check for zero size. (lang_check_section_addresses): Ignore zero size sections here. ld/testsuite/ChangeLog: * ld-scripts/empty-orphan.d, ld-scripts/empty-orphan.exp, ld-scripts/empty-orphan.s, ld-scripts/emtpy-orphan.t: New test.
2005-03-17 * MAINTAINERS: Remove self as maintainer of x86 intelDiego Novillo2-1/+5
mode.
2005-03-17gas/Jan Beulich16-558/+1007
2005-03-17 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (i386_scale): Beautify error message. (Intel syntax comments): Update. (struct intel_parser_s): Add fields in_offset, in_bracket, and next_operand. (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1): Remove declarations. (intel_bracket_expr): Declare. (i386_intel_operand): Initialize new intel_parser fields. Wrap most of the function body in a loop allowing to split an operand into two. Replace calls to malloc and checks of it returning non-NULL with calls to xmalloc/xstrdup. (intel_expr): SHORT no longer handled here. Add comment indicating comparison ops need implementation. (intel_e04, intel_e04_1): Combine, replace recursion with loop. Check right operand of - does not specify a register when parsing the address of a memory reference. (intel_e05, intel_e05_1): Combine, replace recursion with loop. Check operands do not specify a register when parsing the address of a memory reference. (intel_e06, intel_e06_1): Likewise. (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also handle SHORT as well as unary + and -. Don't accept : except for segment overrides or in direct far jump/call insns. (intel_brack_expr): New. (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use intel_brack_expr. (intel_e11): Replace chain of if/else-if by switch, alloing fall- through in certain cases. Use intel_brack_expr. Add new diagnostics. Allow symbolic constants as register scale value. (intel_get_token): Replace call to malloc and check of return value with call to xmalloc. Change handling for FLAT to match MASM's. (intel_putback_token): Don't try to back up/free current token if that is T_NIL. gas/testsuite/ 2005-03-17 Jan Beulich <jbeulich@novell.com> * gas/i386/intel.d: Add stderr directive. * gas/i386/intel.e: New. * gas/i386/intel16.d: Add stderr directive. Adjust for changed source. * gas/i386/intel16.e: New. * gas/i386/intel16.s: Add instances of addressing forms with base and index specified in reverse order. * gas/i386/intelbad.l: Adjust for changed source. * gas/i386/intelbad.s: Add more operand forms to check. * gas/i386/intelok.d: Remove -r from objdump options. Add stderr directive. Adjust for changed source. * gas/i386/intelok.e: New. * gas/i386/intelok.s: Define MASM constants byte, word, etc. Add more operand forms to check. * gas/i386/x86_64.d: Add stderr directive. * gas/i386/x86_64.e: New. * gas/i386/x86_64.s: Adjust for parser changes.
2005-03-17Updated Vietnamese translation.Nick Clifton2-105/+121
2005-03-17(read_indirect_string): Fix apparent typo, check dwarf_str_buffer allocation,Nick Clifton2-1/+7
not dwarf_abbrev_buffer.
2005-03-172005-03-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-23/+25
* ld-cris/hiddef1.d: Updated for empty section removal. * ld-cris/libdso-10.d: Likewise. * ld-cris/libdso-2.d: Likewise.
2005-03-17*** empty log message ***gdbadmin1-1/+1
2005-03-16daily updateAlan Modra1-1/+1
2005-03-16bfd/H.J. Lu35-576/+607
2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_mark_used_section): New. (bfd_elf_gc_sections): Call elf_gc_mark_section for non-relocatable link if we don't do GC. include/ 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Add gc_sections. ld/ 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove unused empty output sections for non-relocatable link. * ld.h (args_type): Remove gc_sections. * ldlang.c (lang_mark_used_section): New. (lang_gc_sections): Use link_info.gc_sections instead of command_line.gc_sections. * ldmain.c (main): Likewise. * lexsup.c (parse_args): Likewise. * ldlang.c (lang_process): Call lang_mark_used_section. * ldmain.c (main): Initialize link_info.gc_sections to FALSE. ld/testsuite/ 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * ld-alpha/tlsbin.rd: Updated for empty section removal. * ld-alpha/tlsbinr.rd: Likewise. * ld-alpha/tlspic.rd: Likewise. * ld-arm/mixed-lib.sym: Likewise. * ld-i386/tlsbin.rd: Likewise. * ld-i386/tlsnopic.rd: Likewise. * ld-i386/tlspic.rd: Likewise. * ld-ia64/tlsbin.rd: Likewise. * ld-ia64/tlspic.rd: Likewise. * ld-powerpc/apuinfo.rd: Likewise. * ld-powerpc/powerpc.exp: Likewise. * ld-powerpc/tlsexe32.r: Likewise. * ld-s390/tlsbin.rd: Likewise. * ld-s390/tlsbin_64.rd: Likewise. * ld-s390/tlspic.rd: Likewise. * ld-s390/tlspic_64.rd: Likewise. * ld-sh/tlsbin-2.d: Likewise. * ld-sh/tlspic-2.d: Likewise. * ld-sparc/tlssunbin32.rd: Likewise. * ld-sparc/tlssunnopic32.rd: Likewise. * ld-sparc/tlssunpic32.rd: Likewise. * ld-x86-64/tlsbin.rd: Likewise. * ld-x86-64/tlspic.rd: Likewise.
2005-03-16(gas_cgen_parse_operand): Copy opinfo parameter into a local variable in caseNick Clifton2-2/+10
it is clobbered by the setjmp.
2005-03-16* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.DJ Delorie3-6/+12
* Makefile.in: Regenerate.
2005-03-16merge from gccDJ Delorie2-28/+4