OSDN Git Service
devans [Wed, 8 Dec 2010 18:04:05 +0000 (18:04 +0000)]
* symfile.h (quick_symbol_functions): Clarify usage of
expand_symtabs_with_filename.
* dwarf2read.c (dw2_expand_symtabs_with_filename): Only iterate over
comp units, ignore type units.
devans [Wed, 8 Dec 2010 17:31:51 +0000 (17:31 +0000)]
* dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
dj [Wed, 8 Dec 2010 16:24:42 +0000 (16:24 +0000)]
merge from gcc
corinna [Wed, 8 Dec 2010 14:44:06 +0000 (14:44 +0000)]
* include/sys/types.h: Add #if defined(__rtems__) around
pthread_attr_t.guardsize.
* include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack,
pthread_attr_getguardsize, pthread_attr_setguardsize.
* include/sys/types.h (pthread_attr_t): Add guardsize.
corinna [Wed, 8 Dec 2010 14:28:17 +0000 (14:28 +0000)]
* include/strings.h: Remove in favor of equivalent newlib file.
corinna [Wed, 8 Dec 2010 10:28:39 +0000 (10:28 +0000)]
* libc/include/strings.h: Don't include locale.h.
corinna [Wed, 8 Dec 2010 10:24:19 +0000 (10:24 +0000)]
* sec_acl.cc (getacl): Set DEF_CLASS_OBJ permissions to 07 instead
of 0777.
dougkwan [Wed, 8 Dec 2010 05:18:53 +0000 (05:18 +0000)]
2010-12-07 Doug Kwan <dougkwan@google.com>
* arm.cc (Target_arm::Scan::get_reference_flags): Treat R_ARM_PREL31
like function call relocations.
amodra [Wed, 8 Dec 2010 05:05:30 +0000 (05:05 +0000)]
* ar.c: Formatting.
(usage): Correct help strings.
(decode_options): Correct getopt_long short options. Remove
duplicate non-handled option message.
(main): Don't handle -M specially.
amodra [Wed, 8 Dec 2010 05:00:14 +0000 (05:00 +0000)]
* ar.c (long_options): Add target.
(decode_options): Handle the --target option.
(open_inarch): Check for plugin's target, default to --target
(replace_members): Use generic `target'.
amodra [Wed, 8 Dec 2010 04:59:36 +0000 (04:59 +0000)]
* ar.c (operation): New global variable.
(show_version): Likewise.
(show_help): Likewise.
(long_options): Likewise.
(usage): Fix help string argument order.
(decode_options): New.
(ranlib_main): Use getopt_long.
(main): Use decode_options.
amodra [Wed, 8 Dec 2010 04:58:23 +0000 (04:58 +0000)]
* ar.c (main): Split ranlib path.
(ranlib_usage): New
(ranlib_main): New
ericb [Wed, 8 Dec 2010 02:47:13 +0000 (02:47 +0000)]
strings.h: avoid namespace pollution
* libc/include/strings.h: Don't declare removed functions when
requesting POSIX 2008 compliance.
gdbadmin [Wed, 8 Dec 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 7 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update
jjohnstn [Tue, 7 Dec 2010 21:27:45 +0000 (21:27 +0000)]
Fix formatting.
jjohnstn [Tue, 7 Dec 2010 21:26:45 +0000 (21:26 +0000)]
2010-12-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/strtod.c(_strtod_r): Fix code to handle case whereby
_DOUBLE_IS_32BITS is set and DBL_DIGS is 6 instead of 15.
ian [Tue, 7 Dec 2010 21:20:22 +0000 (21:20 +0000)]
* configure.ac: Always set default for poststage1_ldflags to
-static-libstdc++ -static-libgcc.
jjohnstn [Tue, 7 Dec 2010 17:31:25 +0000 (17:31 +0000)]
2010-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/include/strings.h: New (split-out from string.h).
devans [Tue, 7 Dec 2010 17:30:48 +0000 (17:30 +0000)]
* dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
gdb_realpath.
devans [Tue, 7 Dec 2010 17:26:00 +0000 (17:26 +0000)]
PR python/12227
* NEWS: Mention -data-directory.
* main.c (captured_main): Recognize -data-directory.
doc/
* gdb.texinfo (Mode Options): Document -data-directory.
(Data Files): Add reference to -data-directory.
testsuite/
* gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
of data-directory.
* lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
updated.
* lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
ian [Tue, 7 Dec 2010 15:47:47 +0000 (15:47 +0000)]
* archive.cc (Archive::get_elf_object_for_member): Permit
punconfigured to be NULL.
(Archive::read_symbols): Pass NULL to get_elf_object_for_member.
(Archive::include_member): Pass NULL to get_elf_object_for_member
if we searched for the archive and this is the first included
object.
gdbadmin [Tue, 7 Dec 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
hjl [Mon, 6 Dec 2010 23:35:12 +0000 (23:35 +0000)]
Add -flto and -flto-partition=.
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
* lexsup.c (ld_options): Add -flto and -flto-partition= for
GCC LTO option compatibility.
amodra [Mon, 6 Dec 2010 23:00:04 +0000 (23:00 +0000)]
daily update
hjl [Mon, 6 Dec 2010 21:47:43 +0000 (21:47 +0000)]
Don't add the trailing `\n' for LDPL_ERROR.
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/12288
* plugin.c (message): Don't add the trailing `\n' for
LDPL_ERROR.
hjl [Mon, 6 Dec 2010 20:59:20 +0000 (20:59 +0000)]
Remove the trailing `\n' from TV_MESSAGE.
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/12288
* testplug.c: Remove the trailing `\n' from TV_MESSAGE.
hjl [Mon, 6 Dec 2010 20:25:49 +0000 (20:25 +0000)]
Use putchar for the trailing `\n' in plugin message.
bfd/
2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR ld/12288
* plugin.c (message): Add putchar for the trailing `\n'.
ld/
2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR ld/12288
* plugin.c (message): Use putchar for the trailing `\n'.
marckhouzam [Mon, 6 Dec 2010 14:16:42 +0000 (14:16 +0000)]
2010-12-06 Marc Khouzam <marc.khouzam@ericsson.com>
* mi/mi-parse.c (mi_parse): Missing else.
corinna [Mon, 6 Dec 2010 13:40:24 +0000 (13:40 +0000)]
* cygpath.cc (get_device_name): Fix path length test.
corinna [Mon, 6 Dec 2010 13:09:39 +0000 (13:09 +0000)]
* path.cc (path_conv::check): Don't generate ENOENT for non-existant
CYGDRIVE and NETDRIVE paths. Add comment.
aoliva [Mon, 6 Dec 2010 13:00:26 +0000 (13:00 +0000)]
Check in for PR other/46020 was meant for PR other/46026.
hjl [Mon, 6 Dec 2010 12:44:50 +0000 (12:44 +0000)]
Call xatexit with plugin_call_cleanup.
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR ld/12289
* ldmain.c (main): Don't call plugin_call_cleanup.
* plugin.c (plugin_call_cleanup): Make it static.
(message): Don't call plugin_call_cleanup.
(plugin_load_plugins): Call xatexit with plugin_call_cleanup.
hjl [Mon, 6 Dec 2010 05:38:10 +0000 (05:38 +0000)]
Call plugin_call_cleanup on plugin fatal error.
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/12289
* plugin.c (message): Call plugin_call_cleanup on fatal
error.
hjl [Mon, 6 Dec 2010 02:28:31 +0000 (02:28 +0000)]
Add a space after `:' in plugin error message.
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
* plugin.c (message): Add a space after `:' in error message.
hp [Mon, 6 Dec 2010 01:55:25 +0000 (01:55 +0000)]
PR libffi/46792
* configure.ac (cris-*-elf, crisv32-*-elf): Disable target-libffi.
* configure: Regenerate.
davek [Mon, 6 Dec 2010 01:40:20 +0000 (01:40 +0000)]
PR target/40125
PR lto/46695
* lthostflags.m4: New file.
(ACX_LT_HOST_FLAGS): Define.
hjl [Mon, 6 Dec 2010 00:59:14 +0000 (00:59 +0000)]
Add `%P' on error in plugin message.
hjl [Mon, 6 Dec 2010 00:53:20 +0000 (00:53 +0000)]
Add the trailing `\n' to einfo in plugin.c.
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
* plugin.c (asymbol_from_plugin_symbol): Add the trailing `\n'
to einfo.
(get_symbols): Likewise.
(plugin_notice): Likewise.
(plugin_multiple_definition): Likewise.
hjl [Mon, 6 Dec 2010 00:51:14 +0000 (00:51 +0000)]
Mention PR ld/12277 in ChangeLog.
hjl [Mon, 6 Dec 2010 00:49:00 +0000 (00:49 +0000)]
Add the trailing `\n' to pluin message.
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/12288
* plugin.c (message): Add the trailing `\n'.
hjl [Mon, 6 Dec 2010 00:07:04 +0000 (00:07 +0000)]
Replace is_archive with maybe_archive.
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
* ldfile.c (ldfile_open_file_search): Check maybe_archive instead
of is_archive.
* emultempl/aix.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/vms.em: Likewise.
* ldlang.c (new_afile): Set maybe_archive instead of is_archive..
* ldlang.h (lang_input_statement_struct): Replace is_archive
with maybe_archive.
hjl [Mon, 6 Dec 2010 00:00:12 +0000 (00:00 +0000)]
Properly convert LTO plugin visibility to ELF visibility.
ld/
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
* plugin.c (asymbol_from_plugin_symbol): Properly convert LTO
plugin visibility to ELF visibility.
(is_visible_from_outside): Re-indent.
ld/testsuite/
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
* ld-plugin/plugin-vis-1.d: Updated.
gdbadmin [Mon, 6 Dec 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 5 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update
arnoldm [Sun, 5 Dec 2010 22:13:01 +0000 (22:13 +0000)]
ChangeLog entry for config/tc-z80.c testsuite/gas/z80/z80.exp testsuite/gas/z80/atend.[sd]
arnoldm [Sun, 5 Dec 2010 21:44:08 +0000 (21:44 +0000)]
PR gas/12269
* config/tc-z80.c (emit_mx, emit_ldxhl): Do not use
symbol_get_value_expression on a symbol that may not yet have
a value.
* testsuite/gas/z80/atend.s: New file, test case for bug 12269,
provided by Chris Smith.
* testsuite/gas/z80/atend.d: New file, expected results for atend.s.
* testsuite/gas/z80/z80.exp: Run new test case.
gdbadmin [Sun, 5 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 4 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update
hjl [Sat, 4 Dec 2010 18:32:51 +0000 (18:32 +0000)]
Don't pass -fvtable-gc to GCC 3.4.0 or above.
2010-12-04 H.J. Lu <hongjiu.lu@intel.com>
* ld-selective/selective.exp: Don't pass -fvtable-gc to GCC
3.4.0 or above.
hjl [Sat, 4 Dec 2010 18:07:41 +0000 (18:07 +0000)]
Replace -export-dynamic with -Wl,-export-dynamic.
2010-12-04 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp: Replace -export-dynamic with
-Wl,-export-dynamic.
vapier [Sat, 4 Dec 2010 13:00:35 +0000 (13:00 +0000)]
bfd: install plugin-api.h as needed
Since people need plugin-api.h in order to build linker plugins, install
the header with the other library headers when plugin support is enabled.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
amodra [Sat, 4 Dec 2010 04:42:06 +0000 (04:42 +0000)]
PR ld/12277
* elflink.c (elf_link_output_extsym): Set bfd_error on symbol
and section errors. Allow better translation of error messages.
amodra [Sat, 4 Dec 2010 03:30:45 +0000 (03:30 +0000)]
* ldlang.c (lang_size_sections_1): Align lma using same alignment
as for vma.
monaka [Sat, 4 Dec 2010 02:10:48 +0000 (02:10 +0000)]
* configure.tgt: Accept microblaze*-*-linux* for linux target
and microblaze*-*-* for as target.
monaka [Sat, 4 Dec 2010 01:58:55 +0000 (01:58 +0000)]
* Makefile.in: Use CC_FOR_BUILD to build opc2c.
macro [Sat, 4 Dec 2010 00:19:18 +0000 (00:19 +0000)]
PR gas/12282
* expr.c (expr_build_dot): Make a clone of the symbol to return if
needed.
gdbadmin [Sat, 4 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 3 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update
hjl [Fri, 3 Dec 2010 22:03:21 +0000 (22:03 +0000)]
Fix a typo in comments.
2010-12-03 H.J. Lu <hongjiu.lu@intel.com>
* lexsup.c (ld_options): Fix a typo in comments.
devans [Fri, 3 Dec 2010 17:07:19 +0000 (17:07 +0000)]
* dwarf.c: #include "bfd_stdint.h".
(do_gdb_index): New global.
(display_gdb_index): New function.
(dwarf_select_sections_by_names) Add "gdb_index".
(dwarf_select_sections_all): Set do_gdb_index.
(debug_displays): Add .gdb_index.
* dwarf.h (do_gdb_index): Declare.
* objdump.c (usage): Add gdb_index.
* readelf.c (usage): Add gdb_index.
(process_section_headers): Process ".gdb_index".
* doc/binutils.texi (readelf): Document gdb_index dump.
(objdump): Ditto.
corinna [Fri, 3 Dec 2010 16:08:47 +0000 (16:08 +0000)]
* libc/include/math.h: Missing from previous checkin.
gdbadmin [Fri, 3 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
davek [Thu, 2 Dec 2010 23:36:59 +0000 (23:36 +0000)]
* mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
(BOOT_LDFLAGS): Add matching stack size flag.
* mh-mingw (LDFLAGS): Likewise.
(BOOT_LDFLAGS): Likewise.
amodra [Thu, 2 Dec 2010 23:00:06 +0000 (23:00 +0000)]
daily update
msnyder [Thu, 2 Dec 2010 21:34:13 +0000 (21:34 +0000)]
2010-11-29 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* gdb.base/callfuncs.exp: Test for skip_float_tests.
* gdb.base/call-sc.exp: Ditto.
* gdb.base/finish.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/return2.exp: Ditto.
kseitz [Thu, 2 Dec 2010 20:05:57 +0000 (20:05 +0000)]
* linespec.c (find_method): Move name canonicalization outside
the loop.
Be paranoid and use a cleanup.
jjohnstn [Thu, 2 Dec 2010 20:05:11 +0000 (20:05 +0000)]
2010-12-02 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add National Semiconductor notice.
jjohnstn [Thu, 2 Dec 2010 19:57:42 +0000 (19:57 +0000)]
2010-12-02 Craig Howland <howland@LGSInnovations.com>
* libm/common/s_log2.c: Change from using M_LOG2_E to M_LN2 define
(from math.h--the latter is POSIX, the former non-standard).
* libm/common/sf_log2.c: Ditto. Change cast for M_LN2 from float to
float_t (in case all math not done in float).
* libc/include/math.h: Ditto (same 2 things as sf_log2.c).
jjohnstn [Thu, 2 Dec 2010 19:35:47 +0000 (19:35 +0000)]
2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
Kaushik Phatak kaushik.phatak@kpitcummins.com
* configure.in: Add CR16 support.
* configure: Regenerated.
* cr16/aclocal.m4: New.
* cr16/close.c: New.
* cr16/configure: New.
* cr16/configure.in: New.
* cr16/crt1.S: New.
* cr16/crti.S: New.
* cr16/crtn.S: New.
* cr16/dvz_hndl.c: New.
* cr16/_exit.c: New.
* cr16/flg_hndl.c: New.
* cr16/fstat.c: New.
* cr16/_getenv.c: New.
* cr16/getpid.c: New.
* cr16/iad_hndl.c: New.
* cr16/intable.c: New.
* cr16/isatty.c: New.
* cr16/kill.c: New.
* cr16/lseek.c: New.
* cr16/Makefile.in: New.
* cr16/open.c: New.
* cr16/putnum.c: New.
* cr16/read.c: New.
* cr16/_rename.c: New.
* cr16/sbrk.c: New.
* cr16/sim.ld: New.
* cr16/stat.c: New.
* cr16/svc_hndl.c: New.
* cr16/time.c: New.
* cr16/und_hndl.c: New.
* cr16/unlink.c: New.
* cr16/write.c: New.
jjohnstn [Thu, 2 Dec 2010 19:30:46 +0000 (19:30 +0000)]
2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
Kaushik Phatak kaushik.phatak@kpitcummins.com
* configure.host: Add CR16 support.
* libc/include/machine/ieeefp.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/include/sys/config.h: Ditto.
* libc/machine/configure.in: Ditto
* libc/machine/configure: Regenerated
* libc/machine/cr16/aclocal.m4: New.
* libc/machine/cr16/configure.in: New
* libc/machine/cr16/configure: New
* libc/machine/cr16/getenv.c: New
* libc/machine/cr16/Makefile.am: New
* libc/machine/cr16/Makefile.in: New
* libc/machine/cr16/setjmp.S: New
* libc/machine/cr16/sys/asm.h: New
* libc/machine/cr16/sys/libh.h: New
* libc/machine/cr16/sys/syscall.h: New
kseitz [Thu, 2 Dec 2010 13:48:54 +0000 (13:48 +0000)]
remove personal email address
rsandifo [Thu, 2 Dec 2010 13:28:35 +0000 (13:28 +0000)]
bfd/
* elf32-arm.c (elf32_arm_link_hash_table): Remove sgot, sgotplt,
srelgot, splt, srelplt.
(create_got_section, elf32_arm_link_hash_table_create): Don't set them.
(elf32_arm_create_dynamic_sections): Likewise. Use htab->root
fields instead.
(arm_type_of_stub): Use the root fields instead of the removed ones.
(cortex_a8_erratum_scan, elf32_arm_size_stubs): Likewise.
(bfd_elf32_arm_process_before_allocation): Likewise.
(elf32_arm_check_relocs, allocate_dynrelocs): Likewise.
(elf32_arm_size_dynamic_sections): Likewise.
(elf32_arm_output_arch_local_syms): Likewise.
(elf32_arm_final_link_relocate): Set sgot, splt and srelgot from the
htab fields instead of looking them up by name. Consistently use
these local variables instead of htab fields.
(elf32_arm_finish_dynamic_symbol): Likewise sgot, splt and srel.
Use srelbss instead of looking it up by name.
(elf32_arm_finish_dynamic_sections): Use sgotplt, splt and srelplt
instead of looking up the symbols by name. Use the root fields
instead of the removed ones.
rsandifo [Thu, 2 Dec 2010 13:27:21 +0000 (13:27 +0000)]
bfd/
* elf32-arm.c (elf32_arm_relocs_copied): Delete.
(elf32_arm_link_hash_entry): Replace relocs_copied with dyn_relocs.
(elf32_arm_link_hash_newfunc): Update accordingly.
(elf32_arm_copy_indirect_symbol, elf32_arm_gc_sweep_hook): Likewise.
(elf32_arm_check_relocs, allocate_dynrelocs): Likewise.
(elf32_arm_readonly_dynrelocs): Likewise.
(elf32_arm_size_dynamic_sections): Likewise.
rsandifo [Thu, 2 Dec 2010 13:25:12 +0000 (13:25 +0000)]
gas/
* symbols.c (S_FORCE_RELOC): Return true for indirect functions
even if !strict.
* expr.c (operand): Don't convert absolute symbols to constants
if S_FORCE_RELOC is true.
(expr): Only reduce subtractions between different symbols if
S_FORCE_RELOC is false for both of them.
* write.c (fixup_segment): Don't remove symbols if S_FORCE_RELOC
is true for them, regardless of their segment.
gas/testsuite/
* gas/i386/ifunc-2.s, gas/i386/ifunc-2.l: New test.
* gas/i386/ifunc-3.s, gas/i386/ifunc-3.d: Likeise.
* gas/i386/i386.exp: Run them.
pkoning [Thu, 2 Dec 2010 11:53:06 +0000 (11:53 +0000)]
* pdp11.c (aout_link_add_symbols): Ignore debug symbols.
corinna [Thu, 2 Dec 2010 11:39:15 +0000 (11:39 +0000)]
* net.cc (get_xp_ifs): Fix counting of idx to return stable interface
alias names for interfaces with multiple IPv4 addresses.
kseitz [Thu, 2 Dec 2010 06:47:59 +0000 (06:47 +0000)]
* generic/gdbtk-hooks.c (gdbtk_annotate_signal): Update to reflect
recnet thread_info changes.
hjl [Thu, 2 Dec 2010 01:26:07 +0000 (01:26 +0000)]
Break long lines.
hjl [Thu, 2 Dec 2010 01:22:54 +0000 (01:22 +0000)]
Re-indent plugin.h.
2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
* plugin.h: Re-indent.
gdbadmin [Thu, 2 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 1 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update
macro [Wed, 1 Dec 2010 21:34:10 +0000 (21:34 +0000)]
* symbols.h (dot_symbol): New declaration.
(dot_symbol_init): New prototype.
* symbols.c (dot_symbol): New variable.
(symbol_clone): Assert it's not dot_symbol being cloned.
(dot_symbol_init): New function.
(symbol_clone_if_forward_ref): Create a new temporary symbol
when trying to clone dot_symbol.
* expr.c (current_location): Refer to dot_symbol instead of
making a new temporary symbol.
* read.c (read_a_source_file): Update dot_symbol as we go.
* as.c (main): Call dot_symbol_init.
macro [Wed, 1 Dec 2010 20:35:13 +0000 (20:35 +0000)]
* symbols.c (symbol_clone_if_forward_ref): Don't limit cloning
to expr_section symbols; clone all equated symbols. Clear
sy_resolving of the cloned copy.
* expr.c (operand): Only clone equated symbols on a final
(i.e. non-equated) reference.
macro [Wed, 1 Dec 2010 20:30:04 +0000 (20:30 +0000)]
* config/tc-mips.c (md_convert_frag): Remove a call to
S_GET_VALUE and use the result of resolve_symbol_value as the
value of the symbol processed in MIPS16 relaxation.
ian [Wed, 1 Dec 2010 19:49:21 +0000 (19:49 +0000)]
* dwarf_reader.h (class Sized_dwarf_line_info): Add
track_relocs_type_ field.
* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
Set track_relocs_type_.
(Sized_dwarf_line_info::process_one_opcode): Ignore the section
contents when using RELA relocs.
(Sized_dwarf_line_info::read_relocs): Add the reloc addend to
reloc_map_.
* reloc.cc (Track_relocs::next_addend): New function.
* reloc.h (class Track_relocs): Declare next_addend.
devans [Wed, 1 Dec 2010 19:37:35 +0000 (19:37 +0000)]
* dwarf2read.c (save_gdb_index_command): Add comment.
ian [Wed, 1 Dec 2010 16:53:57 +0000 (16:53 +0000)]
* testsuite/icf_virtual_function_folding_test.cc (class Bar): Add
virtual destructor.
ian [Wed, 1 Dec 2010 16:51:44 +0000 (16:51 +0000)]
* README: Update compilers known to work and fail.
uweigand [Wed, 1 Dec 2010 16:49:40 +0000 (16:49 +0000)]
* valops.c (value_assign): Returned value is never lazy. If a
C++ class type is returned, fix incorrect enclosing type / embedded
offset. If internal variable is returned, allocate new internalvar
value using value_of_internalvar.
* NEWS: Document changes in behavior of "print x = 0" and similar
expressions.
ktietz [Wed, 1 Dec 2010 14:15:05 +0000 (14:15 +0000)]
2010-12-01 Kai Tietz <kai.tietz@onevision.com>
PR binutils/11065
* dlltool.c (dll_name_set_by_exp_name): New variable.
(def_name): Allow setting of dll_name by .def file.
(def_library): Likewise.
(main): Set dll_name_set_by_exp_name, if dll_name is
set indirect by exp_name.
gdbadmin [Wed, 1 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 30 Nov 2010 23:00:05 +0000 (23:00 +0000)]
daily update
devans [Tue, 30 Nov 2010 17:41:13 +0000 (17:41 +0000)]
* lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
(gdb_expect_list): Fix spelling errors in comments.
* gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
send_gdb/gdb_expect_list where applicable.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/gcore.exp: Ditto.
* gdb.base/page.exp: Ditto.
* gdb.base/sigaltstack.exp: Ditto.
* gdb.base/siginfo.exp: Ditto.
* gdb.base/sigstep.exp: Ditto.
* gdb.base/trace-commands.exp: Ditto.
mgretton [Tue, 30 Nov 2010 13:38:58 +0000 (13:38 +0000)]
* ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test
names.
amodra [Tue, 30 Nov 2010 01:14:06 +0000 (01:14 +0000)]
Add sparc64-rtems.
gdbadmin [Tue, 30 Nov 2010 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
devans [Mon, 29 Nov 2010 23:20:56 +0000 (23:20 +0000)]
* python/lib/gdb/printing.py (register_pretty_printer): Change
printer-name:subprinter-name to printer-name;subprinter-name.
* python/lib/gdb/command/pretty_printers.py (parse_printer_regexps):
Ditto.
(InfoPrettyPrinter, EnablePrettyPrinter, DisablePrettyPrinter): Ditto.
doc/
* gdb.texinfo (Pretty-Printer Introduction): Change
printer-name:subprinter-name to printer-name;subprinter-name.
testsuite/
* gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
printer-name;subprinter-name.
amodra [Mon, 29 Nov 2010 23:00:05 +0000 (23:00 +0000)]
daily update
tromey [Mon, 29 Nov 2010 21:18:15 +0000 (21:18 +0000)]
gdb
* opencl-lang.c (lval_func_check_synthetic_pointer): New
function.
* value.h (struct lval_funcs) <indirect, check_synthetic_pointer>:
New fields.
(value_bits_synthetic_pointer): Declare.
* value.c (value_bits_synthetic_pointer): New function.
* valprint.c (valprint_check_validity): Handle synthetic
pointers.
* valops.c (value_ind): Use new 'indirect' lval_funcs method.
* valarith.c (value_ptradd): Use set_value_component_location.
* p-valprint.c (pascal_object_print_value_fields): Handle
synthetic pointers.
* jv-valprint.c (java_print_value_fields): Handle synthetic
pointers.
* dwarf2read.c (dwarf_stack_op_name): Add
DW_OP_GNU_implicit_pointer.
(dwarf2_fetch_die_location_block): Add get_frame_pc, baton
arguments. Handle location lists.
(fill_in_loclist_baton): New function.
(dwarf2_symbol_mark_computed): Use it.
* dwarf2loc.h (dwarf2_find_location_expression): Declare.
(dwarf2_fetch_die_location_block): Add get_frame_pc, baton
arguments.
* dwarf2loc.c (dwarf2_find_location_expression): Rename from
find_location_expression. No longer static. Update all callers.
(dwarf_expr_frame_pc): New function.
(per_cu_dwarf_call): Add get_frame_pc, baton arguments. Update
all callers.
(struct piece_closure) <per_cu>: New field.
(allocate_piece_closure): Add per_cu argument.
(read_pieced_value): Handle DWARF_VALUE_IMPLICIT_POINTER.
(check_pieced_value_bits): Remove validity argument, add check_for
argument. Handle DWARF_VALUE_IMPLICIT_POINTER.
(check_pieced_value_validity, check_pieced_value_invalid):
Update.
(check_pieced_synthetic_pointer): New function.
(get_frame_address_in_block_wrapper): New function.
(indirect_pieced_value): New function.
(pieced_value_funcs): Update.
(invalid_synthetic_pointer): New function.
(dwarf2_evaluate_loc_desc_full): Rename from
dwarf2_evaluate_loc_desc. Add byte_offset argument.
(dwarf2_evaluate_loc_desc): Rewrite.
(dwarf2_loc_desc_needs_frame): Set new field on context.
(get_ax_pc): New function.
(disassemble_dwarf_expression): Handle
DW_OP_GNU_implicit_pointer.
* dwarf2expr.h (enum dwarf_value_location)
<DWARF_VALUE_IMPLICIT_POINTER>: New constant.
(struct dwarf_expr_context) <get_frame_pc>: New field.
(struct dwarf_expr_piece) <v.ptr>: New field.
* dwarf2expr.c (add_piece): Handle DWARF_VALUE_IMPLICIT_POINTER.
(execute_stack_op): Handle DW_OP_GNU_implicit_pointer.
* dwarf2-frame.c (no_get_frame_pc): New function.
(execute_stack_op): Set new field on context.
* cp-valprint.c (cp_print_value_fields): Handle synthetic
pointers.
gdb/testsuite
* gdb.dwarf2/implptr.exp: New file.
* gdb.dwarf2/implptr.c: New file.
* gdb.dwarf2/implptr.S: New file.