aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2005-03-16 * configure.tgt: Set emulation for arm-*-eabi*.Daniel Jacobowitz6-3/+24
* config/tc-arm.c (meabi_flags): Check EABI_DEFAULT. * config/te-armeabi.h: New file. * config/te-armlinuxeabi.h (EABI_DEFAULT): Define. * config/te-symbian.h: Include "te-armeabi.h".
2005-03-16Fix typo introduced by previous deltaNick Clifton1-0/+2
2005-03-16Rename switch to enable/disable -Werror to --enable-werror/--disable-werrorNick Clifton18-83/+83
for compatibility with gcc.
2005-03-16 * event-top.c (handle_sigquit): Do not define for systems withoutMark Mitchell1-1/+4
SIGQUIT. (sigquit_token): Likewise. (async_init_signals): Allow for systems that do not define SIGQUIT. * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
2005-03-16 * event-top.c (async_init_signals): Allow for systems that do notMark Mitchell3-0/+16
define SIGQUIT. * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
2005-03-16Enable -Werror by defaultNick Clifton18-502/+831
2005-03-16 * utils.c (internal_vproblem): Guard call to fork withMark Mitchell4-3/+37
HAVE_WORKING_FORK. * cli/cli-cmds.c (shell_escape): Guard call to vfork with HAVE_WORKING_VFORK and HAVE_WORKING_FORK. * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of S_IRGRP and related macros. (remote_fileio_mode_to_target): Likewise.
2005-03-16Convert to ISO C90 formattingNick Clifton3-1247/+1017
2005-03-16Convert to ISO C90 formatting.Nick Clifton2-1244/+1139
2005-03-16 * elf32-ppc.c: Divide file into general and linker specificAlan Modra2-2061/+2070
functions. Sort linker functions into roughly the order in which they are called by the ELF linker code.
2005-03-16bfd/Alan Modra13-199/+223
* elf32-ppc.c (ppc_elf_create_linker_section): Set SEC_LINKER_CREATED on section. Correct comment, and add FIXME. (ppc_elf_additional_program_headers): Don't bump header count for interp. Test SEC_ALLOC, not SEC_LOAD, and don't test size. (ppc_elf_size_dynamic_sections): Don't strip sdata and sdata2, but do allocate memory if they need it. ld/ * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete. (OTHER_RELRO_SECTIONS): Set this instead. ld/testsuite/ * ld-powerpc/tlsexe32.d: Update. * ld-powerpc/tlsexe32.g: Update. * ld-powerpc/tlsexe32.r: Update. * ld-powerpc/tlsexe32.t: Update. * ld-powerpc/tlsso32.d: Update. * ld-powerpc/tlsso32.g: Update. * ld-powerpc/tlsso32.r: Update. * ld-powerpc/tlsso32.t: Update.
2005-03-16 * ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC whenAlan Modra2-17/+14
BOOKE.
2005-03-16*** empty log message ***gdbadmin1-1/+1
2005-03-15sim/common/ChangeLog:Jim Blandy9-7/+98
2005-02-28 Jim Blandy <jimb@redhat.com> * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include -Wuninitialized in the default list of build warnings if CFLAGS is set, and doesn't include -O. (Using -Wuninitialized without optimization produces a warning, which interferes with compilation with -Werror.) sim/ChangeLog: 2005-02-28 Jim Blandy <jimb@redhat.com> * d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac, mips/configure.ac, mn10300/configure.ac, v850/configure.ac: Regenerated, after change to common/aclocal.m4.
2005-03-15daily updateAlan Modra1-1/+1
2005-03-15 * config/tc-arm.c (do_mla): Rename to do_mlas, take secondZack Weinberg8-2/+608
is_mls parameter; do not diagnose Rm==Rd when is_mls. (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width) (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions. (insns): Add ARMv6T2 instructions: bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht. (arm_archs): Add V6T2 variants. testsuite: * gas/arm/archv6t2.d, gas/arm/archv6t2.s: New dump test. * gas/arm/archv6t2-bad.l, gas/arm/archv6t2-bad.l: New errors test. * gas/arm/arm.exp: Run them.
2005-03-15Add cutoff for changes in 2.16 releaseNick Clifton4-0/+12
2005-03-15Add new switch --globalize-symbol to convert local symbols into globals.Nick Clifton4-18/+81
2005-03-15Step through the sorted array of basic blocks.Nick Clifton2-0/+7
2005-03-15gas/Jan Beulich2-19/+20
2005-03-15 Jan Beulich <jbeulich@novell.com> * expr.c (operand): Merge handling of unary + into that for unary -, !, and ~.
2005-03-15Add support for an x86_64-elf targetNick Clifton4-0/+16
2005-03-15==> ChangeLog <==Eric Christopher13-6/+111
2005-03-14 Eric Christopher <echristo@redhat.com> * config/tc-mips.c: Include dw2gencfi.h. (mips_cfi_frame_initial_instructions): New. * config/tc-mips.h (TARGET_USE_CFIPOP): Define. (tc_cfi_frame_initial_instructions): Ditto. (DWARF2_DEFAULT_RETURN_COLUMN): Ditto. (DWARF2_CIE_DATA_ALIGNMENT): Ditto. * Makefile.am: Update dependencies. * Makefile.in: Regenerate. ==> testsuite/ChangeLog <== 2005-03-14 Eric Christopher <echristo@redhat.com> * gas/cfi/cfi-mips-1.d, gas/cfi/cfi-mips-1.s: New dump test. * gas/cfi/cfi.exp: Run it. * gas/cfi/cfi-common-1.d: Update. * gas/cfi/cfi-common-2.d: Ditto. * gas/cfi/cfi-common-3.d: Ditto. * gas/cfi/cfi-common-4.d: Ditto.
2005-03-15Commit new Spanish translation.Alan Modra12-6452/+9163
2005-03-15*** empty log message ***gdbadmin1-1/+1
2005-03-14Commit new French translation.Alan Modra6-307/+359
2005-03-14daily updateAlan Modra1-1/+1
2005-03-142005-03-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name for global symbol when reporting overflow.
2005-03-142005-03-14 Paul Brook <paul@codesourcery.com>Paul Brook2-8/+8
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote targets.