aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-25 Update soruces to make alpha, arc and arm targets compile cleanlyNick Clifton18-1770/+1878
with -Wc++-compat: * config/tc-alpha.c: Add casts. (extended_bfd_reloc_code_real_type): New type. Used to avoid enumeration conversion warnings. (struct alpha_fixup, void assemble_insn, assemble_insn) (assemble_tokens): Use new type. * ecoff.c: Add casts. (mark_stabs): Use enumeration names. * config/obj-elf.c: Add cast * config/tc-arc.c: Add casts. * config/obj-aout.h (text_section,data_section,bss_section): Make extern. * config/obj-elf.c: Add cast. * config/tc-arm.c: Add casts. (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE) (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the need for keywords as arguments. * ecoff.c: Add casts. * ecofflink.c: Add casts. * elf64-alpha.c: Add casts. (struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move to top level. (SKIP_HOWTO): Use enum name. * elf32-arm.c: Add casts. (elf32_arm_vxworks_bed): Update code to avoid multiple declarations. (struct map_stub): Move to top level. * arc-dis.c Fix casts. * arc-ext.c: Add casts. * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous enum. * emultempl/armelf.em: Add casts.
2009-09-25merge from gccDJ Delorie1-0/+14
2009-09-252009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>Nick Hudson2-2/+7
* doc/c-mips.texi: Fix the singlefloat and doublefloat kindex entries.
2009-09-25 * m32r.cpu (stb-plus): Typo fix.Alan Modra2-1/+5
2009-09-25 PR 10656Nick Clifton6-11/+28
* readelf.c: Remove duplicate declaration of variable do_wide. * dwarf.h: Add export of do_wide. * hist.h: Move declaration of histograms and num_histograms variables from here to... * hist.c: ...here.
2009-09-25*** empty log message ***Nick Roberts1-0/+4
2009-09-25Remove file.Nick Roberts1-609/+0
2009-09-25*** empty log message ***gdbadmin1-1/+1
2009-09-25daily updateAlan Modra1-1/+1
2009-09-24include/Cary Coutant5-18/+148
* dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias): New tags. (DW_FORM_ref_sig8): New name for DW_FORM_sig8. (DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr, DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by, DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded, DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required, DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New attributes. (DW_LANG_Python): New language. binutils/ * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags. (get_FORM_name): Add new DWARF-4 forms. (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python. (get_AT_name): Add new DWARF-4 and GNU-specific attributes. (process_debug_info): Add do_types parameter; change all callers. Add support for .debug_types sections. (display_debug_types): New function. (debug_displays): Add .debug_types section. * readelf.c (process_section_headers): Add .debug_types section. (display_debug_section): Simplify call to streq.
2009-09-24 * record.c (record_open, record_store_registers, record_xfer_partial):Joel Brobecker2-11/+16
Replace calls to nquery by calls to query.
2009-09-24 * observer.texi (solib_unloaded): Document explicitly the fact thatJoel Brobecker2-0/+7
this observer is called before the associated symbols are unloaded.
2009-09-24gas/H.J. Lu7-3395/+3435
2009-09-24 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead of vex256. opcodes/ 2009-09-24 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Remove Vex256. (set_bitfield): Handle XXX=V. * i386-opc.h (Vex): Update comments. (Vex256): Removed. (VexNDS): Updated. (i386_opcode_modifier): Change vex to 2 bits. Remove vex256. * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2. * i386-tbl.h: Regenerated.
2009-09-24bfd/H.J. Lu64-306/+388
2009-09-24 H.J. Lu <hongjiu.lu@intel.com> PR ld/10630 * elflink.c (elf_link_output_extsym): Turn off visibility on local symbol. (bfd_elf_final_link): Turn off visibility on dynamic local symbol. ld/testsuite/ 2009-09-24 H.J. Lu <hongjiu.lu@intel.com> PR ld/10630 * ld-alpha/tlsbin.rd: Remove HIDDEN/.hidden on local symbols. * ld-alpha/tlsbinr.rd: Likewise. * ld-alpha/tlspic.rd: Likewise. * ld-cris/libdso-2.d: Likewise. * ld-cris/locref1.d: Likewise. * ld-cris/locref2.d: Likewise. * ld-cris/tls-e-20a.d: Likewise. * ld-cris/tls-e-20.d: Likewise. * ld-cris/tls-e-80.d: Likewise. * ld-cris/tls-gc-68.d: Likewise. * ld-cris/tls-gc-69.d: Likewise. * ld-cris/tls-gc-70.d: Likewise. * ld-cris/tls-gc-75.d: Likewise. * ld-cris/tls-gc-76.d: Likewise. * ld-cris/tls-gc-79.d: Likewise. * ld-cris/tls-gd-1h.d: Likewise. * ld-cris/tls-gd-2h.d: Likewise. * ld-cris/tls-ld-4.d: Likewise. * ld-cris/tls-ld-5.d: Likewise. * ld-cris/tls-ld-6.d: Likewise. * ld-cris/tls-ld-7.d: Likewise. * ld-cris/tls-ldgd-14.d: Likewise. * ld-cris/tls-ldgd-15.d: Likewise. * ld-cris/tls-local-63.d: Likewise. * ld-cris/tls-local-64.d: Likewise. * ld-elf/pr9676.rd: Likewise. * ld-elf/pr9679.rd: Likewise. * ld-elfvsb/hidden2.d: Likewise. * ld-i386/tlsbindesc.rd: Likewise. * ld-i386/tlsbin.rd: Likewise. * ld-i386/tlsdesc.rd: Likewise. * ld-i386/tlsgdesc.rd: Likewise. * ld-i386/tlsnopic.rd: Likewise. * ld-i386/tlspic.rd: Likewise. * ld-ia64/tlsbin.rd: Likewise. * ld-ia64/tlspic.rd: Likewise. * ld-powerpc/tlsexe32.r: Likewise. * ld-powerpc/tlsexe.r: Likewise. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsso32.r: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlstocso.r: Likewise. * ld-s390/tlsbin_64.rd: Likewise. * ld-s390/tlsbin.rd: Likewise. * ld-s390/tlspic_64.rd: Likewise. * ld-s390/tlspic.rd: Likewise. * ld-sparc/gotop32.rd: Likewise. * ld-sparc/gotop64.rd: Likewise. * ld-sparc/tlssunbin32.rd: Likewise. * ld-sparc/tlssunbin64.rd: Likewise. * ld-sparc/tlssunnopic32.rd: Likewise. * ld-sparc/tlssunnopic64.rd: Likewise. * ld-sparc/tlssunpic32.rd: Likewise. * ld-sparc/tlssunpic64.rd: Likewise. * ld-x86-64/tlsbindesc.rd: Likewise. * ld-x86-64/tlsbin.rd: Likewise. * ld-x86-64/tlsdesc.rd: Likewise. * ld-x86-64/tlsgdesc.rd: Likewise. * ld-x86-64/tlspic.rd: Likewise. * ld-xtensa/tlsbin.rd: Likewise. * ld-xtensa/tlspic.rd: Likewise. * ld-elf/local1.d: New. * ld-elf/local1.map: Likewise. * ld-elf/local1.s: Likewise. * ld-ia64/local1.d: Likewise. * ld-ia64/local1.map: Likewise. * ld-ia64/local1.s: Likewise.
2009-09-24 * readelf.c (print_dynamic_symbol): Format entries as forAlan Modra2-8/+14
normal symbol table. (process_symbol_table): Use -7s format string for visibility.
2009-09-24gas/H.J. Lu6-8/+32
2009-09-24 H.J. Lu <hongjiu.lu@intel.com> PR gas/10677 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true for BFD_RELOC_X86_64_GOTPCREL. gas/testsuite/ 2009-09-24 H.J. Lu <hongjiu.lu@intel.com> PR gas/10677 * gas/i386/i386.exp: Run x86-64-localpic. * gas/i386/x86-64-localpic.d: New. * gas/i386/x86-64-localpic.s: Likewise.
2009-09-242009-09-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
* gas/i386/localpic.d: Updated.
2009-09-24gas/H.J. Lu6-4/+26
2009-09-23 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check BFD_RELOC_386_GOT32. gas/testsuite/ 2009-09-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run localpic. * gas/i386/localpic.d: New. * gas/i386/localpic.s: Likewise.
2009-09-24 PR binutils/10654Alan Modra2-97/+36
* dwarf2.c (lookup_address_in_line_info_table): Remove workaround for invalid location lists generated by gcc-2.95 and Intel 6.0 C++. Remove "function" parm, adjust caller.
2009-09-24*** empty log message ***gdbadmin1-1/+1
2009-09-24daily updateAlan Modra1-1/+1
2009-09-23 * m32r.cpu (sth-plus): Fix address mode and calculation.Doug Evans3-101/+117
(stb-plus): Ditto. (clrpsw): Fix mask calculation. (bset, bclr, btst): Make mode in bit calculation match expression. * xc16x.cpu (rtl-version): Set to 0.8. (gr-names, ext-names,psw-names): Update, print-name -> enum-prefix, make uppercase. Remove unnecessary name-prefix spec. (grb-names, conditioncode-names, extconditioncode-names): Ditto. (grb8-names, r8-names, regmem8-names, regdiv8-names): Ditto. (reg0-name, reg0-name1, regbmem8-names, memgr8-names): Ditto. (h-cr): New hardware. (muls): Comment out parts that won't compile, add fixme. (mulu, divl, divlu, jmpabs, jmpa-, jmprel, jbc, jnbs, callr): Ditto. (scxti, scxtmg, scxtm, bclear, bclr18, bset19, bitset, bmov): Ditto. (bmovn, band, bor, bxor, bcmp, bfldl, bfldh): Ditto.
2009-09-232009-09-23 Michael Eager <eager@eagercon.com>Michael Eager12-0/+9353
* configure: Add microblaze-*.* (not regenerated). * configure.ac: Likewise. * microblaze/config.in: New. * microblaze/configure: Generate. * microblaze/configure.ac: New. * microblaze/interp.c: New. * microblaze/Makefile.in: New. * microblaze/microblaze.h: New. * microblaze/microblaze.isa: New. * microblaze/sim-main.h: New. * microblaze/sysdep.h: New.
2009-09-23merge from gccDJ Delorie2-1/+8
2009-09-232009-09-23 John Wright <john.wright@hp.com>Tom Tromey2-0/+7
PR gdb/10684: * event-top.c (command_line_handler): Terminate linebuffer before xstrdup.
2009-09-232009-09-22 Sterling Augustine <sterling@tensilica.com>Sterling Augustine1-0/+6
* config/tc-xtensa.c (md_apply_fix): Remove check for constant with difference of of two symbols. (xtensa_fix_adjustable): Likewise.
2009-09-23bfd/Alan Modra13-19/+275
* bfd-in.h (bfd_elf_size_dynamic_sections): Add audit and depaudit arguments. * elflink.c (bfd_elf_size_dynamic_sections): Generate DT_AUDIT, DT_DEPAUDIT from audit/depaudit arguments. (elf_finalize_dynstr): Finalize DT_AUDIT and DT_DEPAUDIT strtab entries. (elf_link_add_object_symbols): Set dt_audit target data when finding a DT_AUDIT. * bfd-in2.h: Regenerate. * bfd-elf.h: Add dt_audit to elf_obj_tdata, and elf_dt_audit macro. ld/ * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit, --depaudit, and -P options. (gld${EULATION_NAME}_handle_options): Ditto. (gld${EULATION_NAME}_list_options): Ditto. (gld${EMULATION_NAME}_append_to_separated_string): New function for handling rpath-like colon separated strings. (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit libs to bfd. Propagate DT_AUDIT from needed libs to depaudit. * ld.texinfo: Document new options. ld/testsuite/ * ld-elf/audit.exp: New. * ld-elf/audit.rd: New. * ld-elf/depaudit.rd: New. * ld-elf/depaudit2.rd: New.
2009-09-23Updated French and Vietnamese translations.Nick Clifton6-718/+873
2009-09-23 * config.sub, config.guess: Update from upstream sources.Nick Clifton3-83/+52
2009-09-23 * ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.Jie Zhang2-0/+8
2009-09-23Fix previous entry.Tristan Gingold1-1/+1
2009-09-232009-09-23 Tim E. Sneddon <tsneddon@kednos.com>Tristan Gingold2-1/+5
* gas/configure.com: Fix a typo.
2009-09-23 * elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure emptyJie Zhang2-26/+28
.rel.plt and .plt sections are removed. (elf32_bfinfdpic_size_dynamic_sections): Remove empty .dynbss section. Remove the duplicated removing of empty .rel.plt section.
2009-09-23 * symbols.c (define_sym_at_dot): New function, extracted from..Alan Modra2-12/+19
(colon): ..here. Define error case cloned symbol.
2009-09-23Tolerate some whitespace differences in readelf output.Alan Modra137-4042/+4183
2009-09-23*** empty log message ***gdbadmin1-1/+1
2009-09-23daily updateAlan Modra1-1/+1
2009-09-22 * solib.c (solib_bfd_open): Relax a bit the compatibility check.Joel Brobecker2-1/+5
2009-09-22 * source.c (forget_cached_source_info): Clear last_source_visited.Daniel Jacobowitz4-11/+18
(init_last_source_visited): Delete. (directory_command): Do not clear last_source_visited. Call forget_cached_source_info only if required. (unset_substitute_path_command, set_substitute_path_command): Call forget_cached_source_info. * mi/mi-cmd-env.c (mi_cmd_env_dir): Do not call init_last_source_visited. * defs.h (init_last_source_visited): Delete declaration.
2009-09-22merge from gccDJ Delorie2-0/+13
2009-09-222009-09-22 Sterling Augustine <sterling@jaw.hq.tensilica.com>Sterling Augustine1-17/+0
* config/tc-xtensa.c (md_apply_fix): Remove check for constant with difference of of two symbols. (xtensa_fix_adjustable): Likewise.
2009-09-22 PR gdb/10583:Tom Tromey2-0/+17
* python/py-value.c (valpy_int): Use PyLong_FromLongLong. (valpy_long): Likewise.
2009-09-22 * testsuite/retain_symbols_file_test.sh (check_present): ChangeIan Lance Taylor2-4/+10
output file name to retain_symbols_file_test.stdout. (check_absent): Likewise.
2009-09-22binutils/Richard Sandiford2-4/+9
* objdump.c (disassemble_section): Use bfd_get_arch_size instead of assuming that the address size is 32 bits.
2009-09-22Error out if building separately but srcdir has build remnants.Ralf Wildenhues3-0/+17
/: PR bootstrap/32272 * configure.ac: Error out if $srcdir isn't '.' but contains host-${host_noncanonical}. * configure: Regenerate.
2009-09-22gdbTom Tromey4-4/+34
PR python/10680: * eval.c (evaluate_subexp_standard) <do_call_it>: Handle internal functions in EVAL_AVOID_SIDE_EFFECTS case. gdb/testsuite * gdb.python/py-function.exp: Add regression tests.
2009-09-222009-09-22 Ozkan Sezer <sezeroz@gmail.com>Kai Tietz2-0/+8
* choose-temp.c: Include unistd.h for mingw targets.
2009-09-22 * main.c: Fix spelling error.Joel Brobecker2-1/+5
2009-09-22 * MAINTAINERS: Add myself under Write After Approval.Jie Zhang2-0/+5
2009-09-22 * gas/ppc/a2.d: Match PPC64 relocs.Alan Modra2-16/+20