Ian Lance Taylor
a6a22b839b
* testsuite/initpri1.c: Don't try to use constructor priorities if
...
compiling with gcc before 4.3.
2009-09-27 05:20:03 +00:00
Hui Zhu
5d40bb8544
2009-09-27 Hui Zhu <teawater@gmail.com>
...
* record.c (record_open): Change "query" to "error".
(cmd_record_stop): Change "query" to "printf_unfiltered".
2009-09-27 02:49:34 +00:00
Alan Modra
d8c8c4064b
daily update
2009-09-27 00:00:04 +00:00
gdbadmin
31892163e3
*** empty log message ***
2009-09-27 00:00:03 +00:00
Eli Zaretskii
cbb8f4286f
* gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK.
2009-09-26 16:47:13 +00:00
Pierre Muller
087b74b25b
gdb ChangeLog entry:
...
* i386-nat.c (i386_stopped_data_address): Also check that
hitted watch register is not vacant.
gdb/testsuite ChangeLog entry:
New test for two watchpoints, with disabling of
the first inserted.
* testsuite/gdb.base/watchpoints.c: New file.
* testsuite/gdb.base/watchpoints.exp: New file.
2009-09-26 12:08:31 +00:00
DJ Delorie
39236edf06
merge from gcc
2009-09-26 00:01:16 +00:00
gdbadmin
661f3447b6
*** empty log message ***
2009-09-26 00:00:05 +00:00
Alan Modra
e6eaf1c095
daily update
2009-09-26 00:00:04 +00:00
Tom Tromey
96c07c5b96
gdb
...
PR python/10664:
* language.h (struct language_defn) <la_get_string>: Add
'char_type' argument.
(LA_GET_STRING): Likewise.
(default_get_string, c_get_string): Update.
* language.c (default_get_string): Add 'char_type' argument.
* c-valprint.c (c_textual_element_type): Rename from
textual_element_type. No longer static. Update callers.
* c-lang.h (c_textual_element_type): Declare.
* c-lang.c (c_get_string): Add 'char_type' argument.
gdb/testsuite
PR python/10664:
* gdb.base/charset.exp: Test utf-16 strings with Python.
2009-09-25 21:39:53 +00:00
Tom Tromey
b8899f2b68
gdb
...
* charset.c (iconv_open): Use UTF-16 and UTF-32, not UCS-2 and
UCS-4.
(iconv): Rename 'ucs_flag'.
(GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
* c-lang.c (charset_for_string_type): Use UTF-16 and UTF-32, not
UCS-2 and UCS-4.
(convert_ucn): Use UTF-32.
gdb/testsuite
* gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
UCS-4.
* gdb.base/charset.c (utf_32_string): Rename.
(init_utf32): Rename.
(main): Update.
2009-09-25 20:53:14 +00:00
Michael Eager
fe2d172ccb
2009-09-25 Michael Eager <eager@eagercon.com>
...
* microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
microblaze_decode_insn): Add declarations.
(get_delay_slots_microblaze): Remove.
2009-09-25 19:59:51 +00:00
Nick Clifton
30167e0a4a
* configure.ac: Pass any --cache-file=/dev/null option on to
...
subconfigures.
* configure: Regenerate.
2009-09-25 19:25:04 +00:00
Nick Clifton
21d799b5c4
Update soruces to make alpha, arc and arm targets compile cleanly
...
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-25 19:13:27 +00:00
DJ Delorie
fa9efd0fbc
merge from gcc
2009-09-25 19:02:00 +00:00
Nick Hudson
605b1dd4b7
2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
...
* doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
entries.
2009-09-25 18:58:58 +00:00
Alan Modra
b4744b170e
* m32r.cpu (stb-plus): Typo fix.
2009-09-25 14:07:07 +00:00
Nick Clifton
c34f4fc672
PR 10656
...
* 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 09:57:50 +00:00
Nick Roberts
b7c313290a
*** empty log message ***
2009-09-25 01:57:35 +00:00
Nick Roberts
98517b4563
Remove file.
2009-09-25 01:53:34 +00:00
gdbadmin
00ac1fbefe
*** empty log message ***
2009-09-25 00:00:05 +00:00
Alan Modra
dc7b8cae79
daily update
2009-09-25 00:00:04 +00:00
Cary Coutant
2b6f59972b
include/
...
* 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 20:52:07 +00:00
Joel Brobecker
604ad007ee
* record.c (record_open, record_store_registers, record_xfer_partial):
...
Replace calls to nquery by calls to query.
2009-09-24 17:58:04 +00:00
Joel Brobecker
30a4a70c9c
* observer.texi (solib_unloaded): Document explicitly the fact that
...
this observer is called before the associated symbols are unloaded.
2009-09-24 17:49:56 +00:00
H.J. Lu
2bf05e5730
gas/
...
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-24 16:37:09 +00:00
H.J. Lu
935bd1e079
bfd/
...
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 15:56:52 +00:00
Alan Modra
f4be36b3fb
* readelf.c (print_dynamic_symbol): Format entries as for
...
normal symbol table.
(process_symbol_table): Use -7s format string for visibility.
2009-09-24 15:13:16 +00:00
H.J. Lu
f5d9e8160d
gas/
...
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-24 14:36:48 +00:00
H.J. Lu
3bccaff786
2009-09-23 H.J. Lu <hongjiu.lu@intel.com>
...
* gas/i386/localpic.d: Updated.
2009-09-24 05:08:24 +00:00
H.J. Lu
2a86604a47
gas/
...
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 03:23:52 +00:00
Alan Modra
107601c847
PR binutils/10654
...
* 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 00:11:51 +00:00
gdbadmin
ffa86b03e5
*** empty log message ***
2009-09-24 00:00:34 +00:00
Alan Modra
8363f85d9a
daily update
2009-09-24 00:00:04 +00:00
Doug Evans
ab5f875d24
* m32r.cpu (sth-plus): Fix address mode and calculation.
...
(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-23 22:30:55 +00:00
Michael Eager
bd30e45a34
2009-09-23 Michael Eager <eager@eagercon.com>
...
* 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-23 20:01:47 +00:00
DJ Delorie
572771db36
merge from gcc
2009-09-23 17:59:27 +00:00
Tom Tromey
20bb6bc822
2009-09-23 John Wright <john.wright@hp.com>
...
PR gdb/10684:
* event-top.c (command_line_handler): Terminate linebuffer before
xstrdup.
2009-09-23 17:27:39 +00:00
Sterling Augustine
417ba50c7d
2009-09-22 Sterling Augustine <sterling@tensilica.com>
...
* config/tc-xtensa.c (md_apply_fix): Remove check for constant
with difference of of two symbols.
(xtensa_fix_adjustable): Likewise.
2009-09-23 15:11:48 +00:00
Alan Modra
7ee314faa4
bfd/
...
* 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-23 13:54:29 +00:00
Nick Clifton
8a00d39205
Updated French and Vietnamese translations.
2009-09-23 10:09:19 +00:00
Nick Clifton
707a0b5cdc
* config.sub, config.guess: Update from upstream sources.
2009-09-23 09:51:31 +00:00
Jie Zhang
ba8149a9e4
* ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.
2009-09-23 09:29:52 +00:00
Tristan Gingold
bf70c4f883
Fix previous entry.
2009-09-23 08:30:55 +00:00
Tristan Gingold
6eb94e776a
2009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
...
* gas/configure.com: Fix a typo.
2009-09-23 08:30:12 +00:00
Jie Zhang
d3e32c2e1a
* elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure empty
...
.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 08:03:02 +00:00
Alan Modra
a3371076af
* symbols.c (define_sym_at_dot): New function, extracted from..
...
(colon): ..here. Define error case cloned symbol.
2009-09-23 06:10:08 +00:00
Alan Modra
f9272224cd
Tolerate some whitespace differences in readelf output.
2009-09-23 03:12:28 +00:00
gdbadmin
dfc3ab44df
*** empty log message ***
2009-09-23 00:00:05 +00:00
Alan Modra
82a3a7558d
daily update
2009-09-23 00:00:04 +00:00