Doug Evans
1ef75ecca6
* dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
16 years ago
DJ Delorie
98f0b5d4e5
merge from gcc
16 years ago
Doug Kwan
017257f8db
2010-12-07 Doug Kwan <dougkwan@google.com>
* arm.cc (Target_arm::Scan::get_reference_flags): Treat R_ARM_PREL31
like function call relocations.
16 years ago
Alan Modra
dbcf63876c
* 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.
16 years ago
Alan Modra
90b79792c0
* 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'.
16 years ago
Alan Modra
4e4075512b
* 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.
16 years ago
Alan Modra
1154c3efa1
* ar.c (main): Split ranlib path.
(ranlib_usage): New
(ranlib_main): New
16 years ago
gdbadmin
4937863dfe
*** empty log message ***
16 years ago
Alan Modra
63118c065d
daily update
16 years ago
Ian Lance Taylor
4f11b2237e
* configure.ac: Always set default for poststage1_ldflags to
-static-libstdc++ -static-libgcc.
16 years ago
Doug Evans
74dd2ca6a7
* dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
gdb_realpath.
16 years ago
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.
16 years ago
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.
16 years ago
gdbadmin
ee6352bb19
*** empty log message ***
16 years ago
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.
16 years ago
Alan Modra
78536d6e46
daily update
16 years ago
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.
16 years ago
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.
16 years ago
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'.
16 years ago
Marc Khouzam
8e0e408ae6
2010-12-06 Marc Khouzam <marc.khouzam@ericsson.com>
* mi/mi-parse.c (mi_parse): Missing else.
16 years ago
Alexandre Oliva
7d509c83fd
Check in for PR other/46020 was meant for PR other/46026.
16 years ago
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.
16 years ago
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.
16 years ago
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.
16 years ago
Hans-Peter Nilsson
d357cef784
PR libffi/46792
* configure.ac (cris-*-elf, crisv32-*-elf): Disable target-libffi.
* configure: Regenerate.
16 years ago
Dave Korn
03e81c4586
PR target/40125
PR lto/46695
* lthostflags.m4: New file.
(ACX_LT_HOST_FLAGS): Define.
16 years ago
H.J. Lu
7ac96fb5a8
Add `%P' on error in plugin message.
16 years ago
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.
16 years ago
H.J. Lu
2be3382c20
Mention PR ld/12277 in ChangeLog.
16 years ago
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'.
16 years ago
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.
16 years ago
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.
16 years ago
gdbadmin
a2c86c8224
*** empty log message ***
16 years ago
Alan Modra
73ac8532e4
daily update
16 years ago
Arnold Metselaar
cb501641d0
ChangeLog entry for config/tc-z80.c testsuite/gas/z80/z80.exp testsuite/gas/z80/atend.[sd]
16 years ago
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.
16 years ago
gdbadmin
7353ec481f
*** empty log message ***
16 years ago
Alan Modra
ac0094b509
daily update
16 years ago
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.
16 years ago
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.
16 years ago
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>
16 years ago
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.
16 years ago
Alan Modra
c5b0a9ef7e
* ldlang.c (lang_size_sections_1): Align lma using same alignment
as for vma.
16 years ago
Masaki Muranaka
97fc68fe16
* configure.tgt: Accept microblaze*-*-linux* for linux target
and microblaze*-*-* for as target.
16 years ago
Masaki Muranaka
cd006ce47a
* Makefile.in: Use CC_FOR_BUILD to build opc2c.
16 years ago
Maciej W. Rozycki
e66a3432ef
PR gas/12282
* expr.c (expr_build_dot): Make a clone of the symbol to return if
needed.
16 years ago
gdbadmin
5492beb9c8
*** empty log message ***
16 years ago
Alan Modra
831b644cf3
daily update
16 years ago
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.
16 years ago
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.
16 years ago