Commit Graph

67762 Commits

Author SHA1 Message Date
Alan Modra 1154c3efa1 * ar.c (main): Split ranlib path.
(ranlib_usage): New
	(ranlib_main): New
2010-12-08 04:58:23 +00:00
gdbadmin 4937863dfe *** empty log message *** 2010-12-08 00:00:03 +00:00
Alan Modra 63118c065d daily update 2010-12-07 23:00:05 +00:00
Ian Lance Taylor 4f11b2237e * configure.ac: Always set default for poststage1_ldflags to
-static-libstdc++ -static-libgcc.
2010-12-07 21:20:22 +00:00
Doug Evans 74dd2ca6a7 * dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
gdb_realpath.
2010-12-07 17:30:52 +00:00
Doug Evans aae1c79a03 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.
2010-12-07 17:26:06 +00:00
Ian Lance Taylor c20cbc067b * 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.
2010-12-07 15:47:47 +00:00
gdbadmin ee6352bb19 *** empty log message *** 2010-12-07 00:00:02 +00:00
H.J. Lu 94bf3a11ec 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.
2010-12-06 23:35:13 +00:00
Alan Modra 78536d6e46 daily update 2010-12-06 23:00:04 +00:00
H.J. Lu d251c5c4e1 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.
2010-12-06 21:47:43 +00:00
H.J. Lu ada487f6b3 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.
2010-12-06 20:59:20 +00:00
H.J. Lu d9b2146348 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'.
2010-12-06 20:25:49 +00:00
Marc Khouzam 8e0e408ae6 2010-12-06 Marc Khouzam <marc.khouzam@ericsson.com>
* mi/mi-parse.c (mi_parse): Missing else.
2010-12-06 14:16:43 +00:00
Alexandre Oliva 7d509c83fd Check in for PR other/46020 was meant for PR other/46026. 2010-12-06 13:00:26 +00:00
H.J. Lu e73d965c22 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.
2010-12-06 12:44:51 +00:00
H.J. Lu 3b8525f821 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.
2010-12-06 05:38:11 +00:00
H.J. Lu 7990daecfc 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.
2010-12-06 02:28:31 +00:00
Hans-Peter Nilsson d357cef784 PR libffi/46792
* configure.ac (cris-*-elf, crisv32-*-elf): Disable target-libffi.
	* configure: Regenerate.
2010-12-06 01:55:25 +00:00
Dave Korn 03e81c4586 PR target/40125
PR lto/46695
	* lthostflags.m4: New file.
	(ACX_LT_HOST_FLAGS): Define.
2010-12-06 01:40:20 +00:00
H.J. Lu 7ac96fb5a8 Add `%P' on error in plugin message. 2010-12-06 00:59:14 +00:00
H.J. Lu ea360572bd 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.
2010-12-06 00:53:20 +00:00
H.J. Lu 2be3382c20 Mention PR ld/12277 in ChangeLog. 2010-12-06 00:51:14 +00:00
H.J. Lu b7f4214449 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'.
2010-12-06 00:49:00 +00:00
H.J. Lu b7f95647fd 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.
2010-12-06 00:07:06 +00:00
H.J. Lu cfac8028e4 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.
2010-12-06 00:00:15 +00:00
gdbadmin a2c86c8224 *** empty log message *** 2010-12-06 00:00:03 +00:00
Alan Modra 73ac8532e4 daily update 2010-12-05 23:00:05 +00:00
Arnold Metselaar cb501641d0 ChangeLog entry for config/tc-z80.c testsuite/gas/z80/z80.exp testsuite/gas/z80/atend.[sd] 2010-12-05 22:13:01 +00:00
Arnold Metselaar 761025beb3 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.
2010-12-05 21:44:08 +00:00
gdbadmin 7353ec481f *** empty log message *** 2010-12-05 00:00:33 +00:00
Alan Modra ac0094b509 daily update 2010-12-04 23:00:05 +00:00
H.J. Lu 1d62840f4f 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.
2010-12-04 18:32:52 +00:00
H.J. Lu 8233c39317 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.
2010-12-04 18:07:42 +00:00
Mike Frysinger 200c83b8a9 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>
2010-12-04 13:00:35 +00:00
Alan Modra 17d078c589 PR ld/12277
* elflink.c (elf_link_output_extsym): Set bfd_error on symbol
	and section errors.  Allow better translation of error messages.
2010-12-04 04:42:06 +00:00
Alan Modra c5b0a9ef7e * ldlang.c (lang_size_sections_1): Align lma using same alignment
as for vma.
2010-12-04 03:30:45 +00:00
Masaki Muranaka 97fc68fe16 * configure.tgt: Accept microblaze*-*-linux* for linux target
and microblaze*-*-* for  as target.
2010-12-04 02:10:53 +00:00
Masaki Muranaka cd006ce47a * Makefile.in: Use CC_FOR_BUILD to build opc2c. 2010-12-04 01:58:55 +00:00
Maciej W. Rozycki e66a3432ef PR gas/12282
* expr.c (expr_build_dot): Make a clone of the symbol to return if
	needed.
2010-12-04 00:19:19 +00:00
gdbadmin 5492beb9c8 *** empty log message *** 2010-12-04 00:00:33 +00:00
Alan Modra 831b644cf3 daily update 2010-12-03 23:00:05 +00:00
H.J. Lu 99bca8f991 Fix a typo in comments.
2010-12-03  H.J. Lu  <hongjiu.lu@intel.com>

	* lexsup.c (ld_options): Fix a typo in comments.
2010-12-03 22:03:22 +00:00
Doug Evans 5bbdf3d565 * 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.
2010-12-03 17:07:20 +00:00
gdbadmin d91ffc6b21 *** empty log message *** 2010-12-03 00:00:33 +00:00
Dave Korn a9ae4fffeb * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
(BOOT_LDFLAGS): Add matching stack size flag.
	* mh-mingw (LDFLAGS): Likewise.
	(BOOT_LDFLAGS): Likewise.
2010-12-02 23:36:59 +00:00
Alan Modra c45c13cab8 daily update 2010-12-02 23:00:06 +00:00
Michael Snyder d426f7b419 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.
2010-12-02 21:34:14 +00:00
Keith Seitz d03a3acf07 * linespec.c (find_method): Move name canonicalization outside
the loop.
	Be paranoid and use a cleanup.
2010-12-02 20:05:59 +00:00
Jeff Johnston 989abc33c7 2010-12-02 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add National Semiconductor notice.
2010-12-02 20:05:11 +00:00