binutils-gdb.git
13 years ago * config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*.
Alan Modra [Fri, 10 Dec 2010 01:03:13 +0000 (01:03 +0000)]
* config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*.
Add aix5coff64_vec to powerpc ELF entries.

13 years ago*** empty log message ***
gdbadmin [Fri, 10 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago * config/tc-mips.c (mips_ip): Remove dead format specifier code.
Maciej W. Rozycki [Thu, 9 Dec 2010 23:59:12 +0000 (23:59 +0000)]
* config/tc-mips.c (mips_ip): Remove dead format specifier code.

13 years ago gas/
Maciej W. Rozycki [Thu, 9 Dec 2010 23:57:22 +0000 (23:57 +0000)]
gas/
* 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 `!'.

13 years ago * config/tc-mips.c (macro)
Maciej W. Rozycki [Thu, 9 Dec 2010 23:46:06 +0000 (23:46 +0000)]
* config/tc-mips.c (macro)
<M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T>: Remove
dedicated return points.

13 years ago * config/tc-mips.c (macro) <M_DEXT, M_DINS>: Correct types used
Maciej W. Rozycki [Thu, 9 Dec 2010 23:43:32 +0000 (23:43 +0000)]
* config/tc-mips.c (macro) <M_DEXT, M_DINS>: Correct types used
for pos and size.

13 years ago * gas/mips/jal-svr4pic.d: Also use wildcard address matching in
Maciej W. Rozycki [Thu, 9 Dec 2010 23:39:46 +0000 (23:39 +0000)]
* gas/mips/jal-svr4pic.d: Also use wildcard address matching in
relocations.
* gas/mips/mips1@jal-svr4pic.d: Likewise.
* gas/mips/jal-svr4pic-noreorder.d: Likewise.
* gas/mips/mips1@jal-svr4pic-noreorder.d: Likewise.

13 years ago gas/
Maciej W. Rozycki [Thu, 9 Dec 2010 23:33:24 +0000 (23:33 +0000)]
gas/
* 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.

13 years ago * config/tc-mips.c (mips_ip): Remove lastregno's
Maciej W. Rozycki [Thu, 9 Dec 2010 23:21:51 +0000 (23:21 +0000)]
* config/tc-mips.c (mips_ip): Remove lastregno's
preinitialization.

13 years ago * layout.cc (Layout::layout_gnu_stack): Add warnings for executable
Cary Coutant [Thu, 9 Dec 2010 23:19:50 +0000 (23:19 +0000)]
* layout.cc (Layout::layout_gnu_stack): Add warnings for executable
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.

13 years ago * config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'
Maciej W. Rozycki [Thu, 9 Dec 2010 23:19:22 +0000 (23:19 +0000)]
* config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'
as a base register specifier.

13 years agodaily update
Alan Modra [Thu, 9 Dec 2010 23:00:08 +0000 (23:00 +0000)]
daily update

13 years ago * config/tc-mips.c (macro) <M_S_DOB>: Fix the placement of code.
Maciej W. Rozycki [Thu, 9 Dec 2010 22:56:46 +0000 (22:56 +0000)]
* config/tc-mips.c (macro) <M_S_DOB>: Fix the placement of code.

13 years ago * config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI
Maciej W. Rozycki [Thu, 9 Dec 2010 22:52:54 +0000 (22:52 +0000)]
* config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI
argument complained about; reword the message.

13 years ago * config/tc-mips.c (macro)
Maciej W. Rozycki [Thu, 9 Dec 2010 22:45:13 +0000 (22:45 +0000)]
* config/tc-mips.c (macro)
<M_BGTUL_I, M_BGTU_I, M_BLEUL_I, M_BLEU_I>: Fix the constant
used to compare against for the always-false/true case.

13 years ago * config/tc-mips.c (macro): Remove a trailing 0 from NOP
Maciej W. Rozycki [Thu, 9 Dec 2010 22:29:18 +0000 (22:29 +0000)]
* config/tc-mips.c (macro): Remove a trailing 0 from NOP
requests.

13 years ago * config/tc-mips.c (macro): Use EXTRACT_OPERAND to get register
Maciej W. Rozycki [Thu, 9 Dec 2010 22:17:27 +0000 (22:17 +0000)]
* config/tc-mips.c (macro): Use EXTRACT_OPERAND to get register
numbers.

13 years ago * config/tc-mips.c (macro): Replace 0 with ZERO in macro_build
Maciej W. Rozycki [Thu, 9 Dec 2010 22:09:40 +0000 (22:09 +0000)]
* config/tc-mips.c (macro): Replace 0 with ZERO in macro_build
and move_register calls referring to $0.

13 years ago gas/
Maciej W. Rozycki [Thu, 9 Dec 2010 22:04:43 +0000 (22:04 +0000)]
gas/
* config/tc-mips.c (macro, mips_ip): Correct message
capitalization.

gas/testsuite/
* gas/mips/at-2.l: Adjust according to message capitalization
fixes.
* gas/mips/illegal.l: Likewise.
* gas/mips/jalr.l: Likewise.
* gas/mips/octeon-ill.l: Likewise.
* gas/mips/tls-ill.l: Likewise.

13 years ago * mi/mi-parse.c (mi_parse): Wrong error message.
Marc Khouzam [Thu, 9 Dec 2010 20:41:54 +0000 (20:41 +0000)]
* mi/mi-parse.c (mi_parse): Wrong error message.

13 years ago* config/tc-z80.c (md_apply_fix): Rename var to fix shadow warning.
Arnold Metselaar [Thu, 9 Dec 2010 20:02:07 +0000 (20:02 +0000)]
* config/tc-z80.c (md_apply_fix): Rename var to fix shadow warning.

13 years ago * symfile.h (quick_symbol_functions): Clarify usage of
Doug Evans [Thu, 9 Dec 2010 19:52:23 +0000 (19:52 +0000)]
* symfile.h (quick_symbol_functions): Clarify usage of
map_symbol_filenames.

13 years agogdb
Tom Tromey [Thu, 9 Dec 2010 19:23:49 +0000 (19:23 +0000)]
gdb
* mi/mi-parse.h (mi_parse): Update.
* mi/mi-parse.c (mi_parse_cleanup): New function.
(mi_parse): Add 'token' argument.  Throw exception on error.
* mi/mi-main.c (mi_print_exception): New function.
(mi_execute_command): Use mi_print_exception.  Catch exceptions
from mi_parse.
gdb/testsuite
* gdb.base/interp.exp: Add regression test.

13 years ago * config/tc-mips.c (macro_build, macro, mips_ip, md_apply_fix):
Maciej W. Rozycki [Thu, 9 Dec 2010 19:07:07 +0000 (19:07 +0000)]
* config/tc-mips.c (macro_build, macro, mips_ip, md_apply_fix):
Fix formatting.

13 years ago * gas/mips/ldstla-32.d: Use wildcard address matching.
Maciej W. Rozycki [Thu, 9 Dec 2010 19:00:00 +0000 (19:00 +0000)]
* gas/mips/ldstla-32.d: Use wildcard address matching.
* gas/mips/ldstla-32-mips3.d: Likewise.
* gas/mips/ldstla-32-shared.d: Likewise.
* gas/mips/ldstla-32-mips3-shared.d: Likewise.

13 years agogdb
Tom Tromey [Thu, 9 Dec 2010 16:09:54 +0000 (16:09 +0000)]
gdb
PR c++/9593:
* thread.c (clear_thread_inferior_resources): Call
delete_longjmp_breakpoint.
* infrun.c (handle_inferior_event): Handle exception breakpoints.
(handle_inferior_event): Likewise.
(insert_exception_resume_breakpoint): New function.
(check_exception_resume): Likewise.
* inferior.h (delete_longjmp_breakpoint_cleanup): Declare.
* infcmd.c (delete_longjmp_breakpoint_cleanup): No longer static.
(step_1): Set thread's initiating frame.
(until_next_continuation): New function.
(until_next_command): Support exception breakpoints.
(finish_command_continuation): Delete longjmp breakpoint.
(finish_forward): Support exception breakpoints.
* gdbthread.h (struct thread_info) <initiating_frame>: New field.
* breakpoint.h (enum bptype) <bp_exception, bp_exception_resume,
bp_exception_master>: New constants.
(struct bpstat_what) <is_longjmp>: New field.
(set_longjmp_breakpoint): Update.
* breakpoint.c (create_exception_master_breakpoint): New function.
(update_breakpoints_after_exec): Handle bp_exception_master.  Call
create_exception_master_breakpoint.
(print_it_typical): Handle bp_exception_master, bp_exception.
(bpstat_stop_status): Handle bp_exception_master.
(bpstat_what): Handle bp_exception_master, bp_exception,
bp_exception_resume.
(bptype_string): Likewise.
(print_one_breakpoint_location): Likewise.
(allocate_bp_location): Likewise.
(set_longjmp_breakpoint): Handle exception breakpoints.  Change
interface.
(delete_longjmp_breakpoint): Handle exception breakpoints.
(mention): Likewise.
(struct until_break_command_continuation_args) <thread_num>: New
field.
(until_break_command_continuation): Call
delete_longjmp_breakpoint.
(until_break_command): Support exception breakpoints.
(delete_command): Likewise.
(breakpoint_re_set_one): Likewise.
(breakpoint_re_set): Likewise.
gdb/testuite
* gdb.java/jnpe.java: New file.
* gdb.java/jnpe.exp: New file.
* gdb.cp/nextoverthrow.exp: New file.
* gdb.cp/nextoverthrow.cc: New file.

13 years agobfd/binutils/gas/gprof/ld/libiberty/opcodes: add .gitignore
Mike Frysinger [Thu, 9 Dec 2010 09:03:18 +0000 (09:03 +0000)]
bfd/binutils/gas/gprof/ld/libiberty/opcodes: add .gitignore

This seems to cover a few random targets as well as --enable-targets=all.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago*** empty log message ***
gdbadmin [Thu, 9 Dec 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Wed, 8 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years ago * gdbtypes.h (TYPE_IS_OPAQUE): Reformat.
Doug Evans [Wed, 8 Dec 2010 21:35:59 +0000 (21:35 +0000)]
* gdbtypes.h (TYPE_IS_OPAQUE): Reformat.

13 years ago * gdbtypes.c (check_typedef): Tweak comment.
Doug Evans [Wed, 8 Dec 2010 21:33:20 +0000 (21:33 +0000)]
* gdbtypes.c (check_typedef): Tweak comment.

13 years ago PR symtab/12302
Doug Evans [Wed, 8 Dec 2010 19:03:35 +0000 (19:03 +0000)]
PR symtab/12302
* dwarf2read.c (struct psymtab_cu_index_map): New struct.
(hash_psymtab_cu_index, eq_psymtab_cu_index): New functions.
(struct addrmap_index_data): New struct.
(add_address_entry): Remove arg `pst', new args `start', `end'.
(add_address_entry_worker, write_address_map): New functions.
(write_psymtabs_to_index): Address table generation moved to
write_address_map.  Build a table mapping psymtab to CU index
to pass to it.

13 years ago * dwarf2read.c (write_psymtabs_to_index): When stat fails, pass file
Doug Evans [Wed, 8 Dec 2010 18:26:40 +0000 (18:26 +0000)]
* dwarf2read.c (write_psymtabs_to_index): When stat fails, pass file
name to perror.

13 years ago * symfile.h (quick_symbol_functions): Clarify usage of
Doug Evans [Wed, 8 Dec 2010 18:04:08 +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.

13 years ago * dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
Doug Evans [Wed, 8 Dec 2010 17:31:52 +0000 (17:31 +0000)]
* dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.

13 years agomerge from gcc
DJ Delorie [Wed, 8 Dec 2010 16:24:43 +0000 (16:24 +0000)]
merge from gcc

13 years ago2010-12-07 Doug Kwan <dougkwan@google.com>
Doug Kwan [Wed, 8 Dec 2010 05:18:54 +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.

13 years ago * ar.c: Formatting.
Alan Modra [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.

13 years ago * ar.c (long_options): Add target.
Alan Modra [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'.

13 years ago * ar.c (operation): New global variable.
Alan Modra [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.

13 years ago * ar.c (main): Split ranlib path.
Alan Modra [Wed, 8 Dec 2010 04:58:23 +0000 (04:58 +0000)]
* ar.c (main): Split ranlib path.
(ranlib_usage): New
(ranlib_main): New

13 years ago*** empty log message ***
gdbadmin [Wed, 8 Dec 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Tue, 7 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years ago * configure.ac: Always set default for poststage1_ldflags to
Ian Lance Taylor [Tue, 7 Dec 2010 21:20:22 +0000 (21:20 +0000)]
* configure.ac: Always set default for poststage1_ldflags to
-static-libstdc++ -static-libgcc.

13 years ago * dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
Doug Evans [Tue, 7 Dec 2010 17:30:52 +0000 (17:30 +0000)]
* dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
gdb_realpath.

13 years ago PR python/12227
Doug Evans [Tue, 7 Dec 2010 17:26:06 +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.

13 years ago * archive.cc (Archive::get_elf_object_for_member): Permit
Ian Lance Taylor [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.

13 years ago*** empty log message ***
gdbadmin [Tue, 7 Dec 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

13 years agoAdd -flto and -flto-partition=.
H.J. Lu [Mon, 6 Dec 2010 23:35:13 +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.

13 years agodaily update
Alan Modra [Mon, 6 Dec 2010 23:00:04 +0000 (23:00 +0000)]
daily update

13 years agoDon't add the trailing `\n' for LDPL_ERROR.
H.J. Lu [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.

13 years agoRemove the trailing `\n' from TV_MESSAGE.
H.J. Lu [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.

13 years agoUse putchar for the trailing `\n' in plugin message.
H.J. Lu [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'.

13 years ago2010-12-06 Marc Khouzam <marc.khouzam@ericsson.com>
Marc Khouzam [Mon, 6 Dec 2010 14:16:43 +0000 (14:16 +0000)]
2010-12-06 Marc Khouzam  <marc.khouzam@ericsson.com>

* mi/mi-parse.c (mi_parse): Missing else.

13 years agoCheck in for PR other/46020 was meant for PR other/46026.
Alexandre Oliva [Mon, 6 Dec 2010 13:00:26 +0000 (13:00 +0000)]
Check in for PR other/46020 was meant for PR other/46026.

13 years agoCall xatexit with plugin_call_cleanup.
H.J. Lu [Mon, 6 Dec 2010 12:44:51 +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.

13 years agoCall plugin_call_cleanup on plugin fatal error.
H.J. Lu [Mon, 6 Dec 2010 05:38:11 +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.

13 years agoAdd a space after `:' in plugin error message.
H.J. Lu [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.

13 years ago PR libffi/46792
Hans-Peter Nilsson [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.

13 years ago PR target/40125
Dave Korn [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.

13 years agoAdd `%P' on error in plugin message.
H.J. Lu [Mon, 6 Dec 2010 00:59:14 +0000 (00:59 +0000)]
Add `%P' on error in plugin message.

13 years agoAdd the trailing `\n' to einfo in plugin.c.
H.J. Lu [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.

13 years agoMention PR ld/12277 in ChangeLog.
H.J. Lu [Mon, 6 Dec 2010 00:51:14 +0000 (00:51 +0000)]
Mention PR ld/12277 in ChangeLog.

13 years agoAdd the trailing `\n' to pluin message.
H.J. Lu [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'.

13 years agoReplace is_archive with maybe_archive.
H.J. Lu [Mon, 6 Dec 2010 00:07:06 +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.

13 years agoProperly convert LTO plugin visibility to ELF visibility.
H.J. Lu [Mon, 6 Dec 2010 00:00:15 +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.

13 years ago*** empty log message ***
gdbadmin [Mon, 6 Dec 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Sun, 5 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years agoChangeLog entry for config/tc-z80.c testsuite/gas/z80/z80.exp testsuite/gas/z80/atend...
Arnold Metselaar [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]

13 years agoPR gas/12269
Arnold Metselaar [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.

13 years ago*** empty log message ***
gdbadmin [Sun, 5 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Sat, 4 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years agoDon't pass -fvtable-gc to GCC 3.4.0 or above.
H.J. Lu [Sat, 4 Dec 2010 18:32:52 +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.

13 years agoReplace -export-dynamic with -Wl,-export-dynamic.
H.J. Lu [Sat, 4 Dec 2010 18:07:42 +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.

13 years agobfd: install plugin-api.h as needed
Mike Frysinger [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>
13 years ago PR ld/12277
Alan Modra [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.

13 years ago * ldlang.c (lang_size_sections_1): Align lma using same alignment
Alan Modra [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.

13 years ago * configure.tgt: Accept microblaze*-*-linux* for linux target
Masaki Muranaka [Sat, 4 Dec 2010 02:10:53 +0000 (02:10 +0000)]
   * configure.tgt: Accept microblaze*-*-linux* for linux target
       and microblaze*-*-* for  as target.

13 years ago* Makefile.in: Use CC_FOR_BUILD to build opc2c.
Masaki Muranaka [Sat, 4 Dec 2010 01:58:55 +0000 (01:58 +0000)]
* Makefile.in: Use CC_FOR_BUILD to build opc2c.

13 years ago PR gas/12282
Maciej W. Rozycki [Sat, 4 Dec 2010 00:19:19 +0000 (00:19 +0000)]
PR gas/12282
* expr.c (expr_build_dot): Make a clone of the symbol to return if
needed.

13 years ago*** empty log message ***
gdbadmin [Sat, 4 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Fri, 3 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years agoFix a typo in comments.
H.J. Lu [Fri, 3 Dec 2010 22:03:22 +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.

13 years ago * dwarf.c: #include "bfd_stdint.h".
Doug Evans [Fri, 3 Dec 2010 17:07:20 +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.

13 years ago*** empty log message ***
gdbadmin [Fri, 3 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
Dave Korn [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.

13 years agodaily update
Alan Modra [Thu, 2 Dec 2010 23:00:06 +0000 (23:00 +0000)]
daily update

13 years ago2010-11-29 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
Michael Snyder [Thu, 2 Dec 2010 21:34:14 +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.

13 years ago * linespec.c (find_method): Move name canonicalization outside
Keith Seitz [Thu, 2 Dec 2010 20:05:59 +0000 (20:05 +0000)]
* linespec.c (find_method): Move name canonicalization outside
the loop.
Be paranoid and use a cleanup.

13 years ago2010-12-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [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.

13 years agobfd/
Richard Sandiford [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.

13 years agobfd/
Richard Sandiford [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.

13 years agogas/
Richard Sandiford [Thu, 2 Dec 2010 13:25:13 +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.

13 years ago* pdp11.c (aout_link_add_symbols): Ignore debug symbols.
Paul Koning [Thu, 2 Dec 2010 11:53:07 +0000 (11:53 +0000)]
* pdp11.c (aout_link_add_symbols): Ignore debug symbols.

13 years agoBreak long lines.
H.J. Lu [Thu, 2 Dec 2010 01:26:07 +0000 (01:26 +0000)]
Break long lines.

13 years agoRe-indent plugin.h.
H.J. Lu [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.

13 years ago*** empty log message ***
gdbadmin [Thu, 2 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Wed, 1 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years ago * symbols.h (dot_symbol): New declaration.
Maciej W. Rozycki [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.

13 years ago * symbols.c (symbol_clone_if_forward_ref): Don't limit cloning
Maciej W. Rozycki [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.