summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gold: fix race in FileRead::~View.Ralf Wildenhues2010-12-142-10/+25
| | | | | | | | | gold/: * fileread.cc (file_counts_lock, file_counts_initialize_lock) (total_mapped_bytes, current_mapped_bytes, maximum_mapped_bytes): Move definition before File_read::View member definitions. (File_read::View::~View): Initialize and hold lock before updating current_mapped_bytes.
* * mips-tdep.c (mips_eabi_push_dummy_call): Place signed, ratherKevin Buettner2010-12-142-11/+16
| | | | than unsigned, values in registers.
* Fix typos in gold.Ralf Wildenhues2010-12-1436-114/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gold/: * dwarf_reader.cc: Remove outdated comment. * gold-threads.cc: Fix typo in error message. * archive.cc: Fix typos in comments. * archive.h: Likewise. * arm-reloc-property.cc: Likewise. * arm-reloc-property.h: Likewise. * arm-reloc.def: Likewise. * arm.cc: Likewise. * attributes.h: Likewise. * cref.cc: Likewise. * ehframe.cc: Likewise. * fileread.h: Likewise. * gold.h: Likewise. * i386.cc: Likewise. * icf.cc: Likewise. * incremental.h: Likewise. * int_encoding.cc: Likewise. * layout.h: Likewise. * main.cc: Likewise. * merge.h: Likewise. * object.cc: Likewise. * object.h: Likewise. * options.cc: Likewise. * readsyms.cc: Likewise. * reduced_debug_output.cc: Likewise. * reloc.cc: Likewise. * script-sections.cc: Likewise. * sparc.cc: Likewise. * symtab.h: Likewise. * target-reloc.h: Likewise. * target.cc: Likewise. * target.h: Likewise. * timer.cc: Likewise. * timer.h: Likewise. * x86_64.cc: Likewise.
* Move gdb ChangeLog entry to gdb/ChangeLog.H.J. Lu2010-12-142-7/+7
|
* gdb:Ken Werner2010-12-143-6/+25
| | | | | | | * valops.c (value_one): Use get_array_bounds to compute the number of array elements instead of dividing the length of the array by the length of the element types. * valarith.c (value_complement, value_neg): Likewise.
* build failure on IRIX when building with Python support.Joel Brobecker2010-12-144-5/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a nasty interaction between Python and GDB. Basically, Python causes some macros to be unilaterally defined in order to turns some features on: /* Define to activate features from IEEE Stds 1003.1-2001 */ #define _POSIX_C_SOURCE 200112L /* Define to the level of X/Open that your system supports */ #define _XOPEN_SOURCE 600 But the problem is that they turn off defines provided by some system headers on which we depend. Namely: * sys/siginfo.h: #if _SGIAPI #define siginfo __siginfo #endif * sys/ucontext.h: #if _SGIAPI && !defined(__SGI_NOUCONTEXT_COMPAT) [...] #define fp_r __fp_r [...] #define fp_csr __fp_csr [...] #endif The important macro here is _SGIAPI, defined as follow in standards.h: #define _SGIAPI ((defined(_SGI_SOURCE) && \ _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5) || \ (_ANSIMODE && _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5)) If one builds GDB without Python, then _SGIAPI is true, and all is fine. But building with Python causes both _POSIX_C_SOURCE and _XOPEN_SOURCE to trip all the _NO_[...] tests (_NO_POSIX, _NO_XOPEN4, _NO_XOPEN5). And so we get build failures because we try to use undefined types, or non-existent component names inside the regset structure. The latter problem is observed only within irix5-nat.c, which means that it is specific to IRIX. So it's easy to write the code in a way that it does not require the macros (just use the real component names, rather than relying on the macros to do the translation). The former, on the other hand, is a little trickier, because the problem occurs inside a generic unit (procfs.c). The solution I chose was to adjust the configure script to add -Dsiginfo=__siginfo to the CPPFLAGS if building with python using GCC on IRIX. We hadn't seen this sort of issue up to now because the affect units have not been dependent on the python includes up to now. Recent changes have made them indirectly dependent on Python, thus triggering the issues. gdb/ChangeLog: * irix5-nat.c: Replace fp_r, fp_regs and fp_scr by __fp_r, __fp_regs and __fp_scr respectively throughout. * configure.ac: Compile with -Dsiginfo=__siginfo if building with Python using GCC on IRIX. * configure: Regenerate.
* *** empty log message ***gdbadmin2010-12-141-1/+1
|
* daily updateAlan Modra2010-12-131-1/+1
|
* * solib-svr4.c (enable_break): Don't attempt to place breakpoints,Kevin Buettner2010-12-132-9/+18
| | | | | when attaching, on the names in bkpt_names: _start, __start, and main.
* 2010-12-12 Stan Shebs <stan@codesourcery.com>Stan Shebs2010-12-134-7/+90
| | | | | | | * value.c (value_of_internalvar): Add case for trace state variables. * gdb.trace/tsv.exp: Test print command on trace state variables.
* * ldlang.c (load_symbols): Correct last change.Alan Modra2010-12-132-3/+8
|
* * aoutx.h (aout_link_check_ar_symbols): Formatting.Alan Modra2010-12-139-98/+146
| | | | | | | | | | | | | | | | | | | | | | | | * cofflink.c (coff_link_check_ar_symbols): Likewise. * elflink.c (elf_link_add_archive_symbols): Likewise. * pdp11.c (aout_link_check_ar_symbols): Likewise. * xcofflink.c (xcoff_link_check_dynamic_ar_symbols, xcoff_link_check_dynamic_ar_symbols): Likewise. * aoutx.h (aout_link_check_archive_element): Simplify code dealing with add_archive_element substitute BFD. * cofflink.c (coff_link_check_archive_element): Likewise. * ecoff.c (ecoff_link_check_archive_element): Likewise. (ecoff_link_add_archive_symbols): Likewise. * linker.c (generic_link_check_archive_element): Likewise. * pdp11.c (aout_link_check_archive_element): Likewise. * vms-alpha.c (alpha_vms_link_add_archive_symbols): Likewise. * xcofflink.c (xcoff_link_check_archive_element): Likewise. * aoutx.h (aout_link_check_archive_element): Free symbols from old bfd if !keep_memory. * cofflink.c (coff_link_check_archive_element): Likewise. * pdp11.c (aout_link_check_archive_element): Likewise. * xcofflink.c (xcoff_link_check_archive_element): Likewise.
* *** empty log message ***gdbadmin2010-12-131-1/+1
|
* * plugin.c (bfd_plugin_mkobject): Delete.Alan Modra2010-12-122-8/+6
| | | | (plugin_vec): Use bfd_false instead.
* daily updateAlan Modra2010-12-121-1/+1
|
* * dwarf2read.c (dwarf2_per_objfile): New member quick_file_names_table.Doug Evans2010-12-122-124/+240
| | | | | | | | | | | | | | | | | | | | (dwarf2_per_cu_quick_data): Move definition down to "quick functions" section. Delete members lines full_names. Rename read_lines to no_file_data. (quick_file_names): New struct. (hash_file_name_entry, eq_file_name_entry): New functions. (delete_file_name_entry, create_quick_file_names_table): New functions. (dwarf2_read_index): Initialize quick_file_names_table. (dw2_get_file_names): Renamed from dw2_require_line_header. Return pointer to quick_file_names entry. All callers updated. (dw2_get_real_path): Renamed from dw2_require_full_path. Replace per_cu arg with pointer to quick_file_names entry. All callers updated. (dw2_free_cached_file_names): New function. (dw2_forget_cached_source_info): Call it (via htab_traverse_noresize). (dwarf2_initialize_objfile): Initialize quick_file_names_table in the OBJF_READNOW case. (dwarf2_free_objfile): Rewrite freeing of quick file names tables.
* Fix mail addres in ChangeLog.Mark Kettenis2010-12-121-1/+1
|
* * mips64obsd-tdep.c (floatformats_mips64_quad): New define.Mark Kettenis2010-12-122-0/+13
| | | | (mips64obsd_init_abi): Set long_double_bit and long_double_format.
* * sparc-tdep.c: Fix typo in comment.Mark Kettenis2010-12-122-1/+5
|
* Fix typos in elfedit documentation.H.J. Lu2010-12-122-4/+9
| | | | | | | 2010-12-12 Peter Breitenlohner <peb@mppmu.mpg.de> PR binutils/12306 * doc/binutils.texi: Fix typos in elfedit documentation.
* Optimize for add_archive_element.H.J. Lu2010-12-124-8/+12
| | | | | | | | | | | | | | bfd/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_archive_symbols): Remove subsbfd. ld/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * ldlang.c (load_symbols): Optimize for add_archive_element.
* Mark .gnu.lto_* sections with SHF_EXCLUDE.H.J. Lu2010-12-126-1/+25
| | | | | | | | | | | | | | | | | bfd/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * elf.c (special_sections_g): Add ".gnu.lto_". gas/testsuite/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Run section9. * gas/elf/section9.d: New. * gas/elf/section9.s: Likewise.
* *** empty log message ***gdbadmin2010-12-121-1/+1
|
* daily updateAlan Modra2010-12-111-1/+1
|
* * ld-elfvers/vers25a.dsym: Really include _? in match.Alan Modra2010-12-112-5/+11
|
* opcodes/Richard Sandiford2010-12-116-22/+262
| | | | | | | | | | | | | 2010-12-03 Mingming Sun <mingm.sun@gmail.com> * mips-opc.c: (mips_builtin_opcodes): Add loongson3a mul/div and fixed point instructions. gas/testsuite/ 2010-12-03 Mingming Sun <mingm.sun@gmail.com> * gas/mips/loongson-3a.s, gas/mips/loongson-3a.d: New test. * gas/mips/mips.exp: Run it.
* *** empty log message ***gdbadmin2010-12-111-1/+1
|
* daily updateAlan Modra2010-12-101-1/+1
|
* * dwarf2read.c: Whitespace cleanup, plus comment additions.Doug Evans2010-12-102-8/+29
| | | | No code changes.
* * NEWS: Document exception-handling change.Tom Tromey2010-12-102-0/+11
|
* PR bootstrap/46819Ian Lance Taylor2010-12-103-0/+12
| | | | | * configure.ac: For --disable-libgcj clear libgcj_saved. * configure: Rebuild.
* * config/tc-mips.h (TC_ADDRESS_BYTES): New macro.Maciej W. Rozycki2010-12-103-0/+18
| | | | | (mips_address_bytes): New prototype. * config/tc-mips.c (mips_address_bytes): New function.
* 2010-12-10 Tobias Burnus <burnus@net-b.de>Paolo Bonzini2010-12-103-0/+58
| | | | | | PR fortran/46540 * configure.ac: Add --disable-libquadmath and --disable-libquadmath-support.
* 2010-12-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-12-102-1/+5
| | | | * src-release (ETC_SUPPORT): add gnu-oids.texi
* * binemul.h (do_ar_emul_append): Declare.Alan Modra2010-12-105-84/+72
| | | | | | | | | | | | | * binemul.c (any_ok): New function. (do_ar_emul_append): Rename from do_ar_emul_default_append. Make global, add check arg. Adjust callers. (ar_emul_default_replace): Tidy. * configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use bin_aix_emulation. * emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete. (ar_emul_aix5_append, ar_emul_aix5_replace): Delete. (check_aix): New function. (ar_emul_aix_append, ar_emul_aix_replace): Rewrite.
* ld: elfvers tests: support symbol prefixed targetsMike Frysinger2010-12-1066-132/+196
| | | | | | | | | | | | | The symbol versioning tests mix C-visible symbols and linker-visible symbols in order to verify .symver behavior. This works for most people, but fail for targets that have a symbol prefix. So add a helper file with macros that expand gcc's __USER_LABEL_PREFIX__ as necessary and convert all .symver users over to it. Now that the tests are usable on prefixed targets, update the tests to take into account an optional leading underscore. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* * config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*.Alan Modra2010-12-102-6/+11
| | | | Add aix5coff64_vec to powerpc ELF entries.
* *** empty log message ***gdbadmin2010-12-101-1/+1
|
* * config/tc-mips.c (mips_ip): Remove dead format specifier code.Maciej W. Rozycki2010-12-092-6/+4
|
* gas/Maciej W. Rozycki2010-12-099-13/+53
| | | | | | | | | | | | | | | | | * config/tc-mips.c (file_ase_mips16): Adjust comment. (append_insn): Update file_ase_mips16. (mips_after_parse_args): Don't set file_ase_mips16 here. gas/testsuite/ * gas/mips/elf_ase_mips16.d: Update test for new MIPS16 ASE flag semantics. * gas/mips/elf_ase_mips16-2.d: New test. * gas/mips/nop.s: Source for the new test. * gas/mips/mips.exp: Run the new test. binutils/testsuite/ * lib/binutils-common.exp (regexp_diff): Implement inverse matching, requested by `!'.
* * config/tc-mips.c (macro)Maciej W. Rozycki2010-12-092-10/+11
| | | | | <M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T>: Remove dedicated return points.
* * config/tc-mips.c (macro) <M_DEXT, M_DINS>: Correct types usedMaciej W. Rozycki2010-12-092-13/+21
| | | | for pos and size.
* * gas/mips/jal-svr4pic.d: Also use wildcard address matching inMaciej W. Rozycki2010-12-095-36/+44
| | | | | | | relocations. * gas/mips/mips1@jal-svr4pic.d: Likewise. * gas/mips/jal-svr4pic-noreorder.d: Likewise. * gas/mips/mips1@jal-svr4pic-noreorder.d: Likewise.
* gas/Maciej W. Rozycki2010-12-097-127/+73
| | | | | | | | | | | | * config/tc-mips.c (macro) <ld_st>: Don't load a zero into an auxiliary register when using a signed 16-bit constant offset. gas/testsuite/ * gas/mips/ldstla-32.d: Update according to a 16-bit constant offset optimization. * gas/mips/ldstla-32-mips3.d: Likewise. * gas/mips/ldstla-32-shared.d: Likewise. * gas/mips/ldstla-32-mips3-shared.d: Likewise.
* * config/tc-mips.c (mips_ip): Remove lastregno'sMaciej W. Rozycki2010-12-092-1/+6
| | | | preinitialization.
* * layout.cc (Layout::layout_gnu_stack): Add warnings for executableCary Coutant2010-12-095-5/+33
| | | | | | | | stack. * layout.h (Layout::layout_gnu_stack): Add pointer to Object parameter; change all callers. * object.cc (Sized_relobj::do_layout): Adjust call to layout_gnu_stack. * options.h (warn_execstack): New option.
* * config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'Maciej W. Rozycki2010-12-092-2/+6
| | | | as a base register specifier.
* daily updateAlan Modra2010-12-091-1/+1
|
* * config/tc-mips.c (macro) <M_S_DOB>: Fix the placement of code.Maciej W. Rozycki2010-12-092-11/+15
|
* * config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUIMaciej W. Rozycki2010-12-092-1/+7
| | | | argument complained about; reword the message.