Alan Modra [Mon, 31 Dec 2012 23:00:05 +0000 (23:00 +0000)]
daily update
Yao Qi [Mon, 31 Dec 2012 03:00:11 +0000 (03:00 +0000)]
gdb/doc/
* gdb.texinfo (Remote Non-Stop): Move paragraphs to ...
(Packets): Move "vStopped" packet to ...
(Notification Packets): ... here. Describe the components
of notification. Add a table of supported notifications.
Add an example on the process of he async notification.
gdbadmin [Mon, 31 Dec 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 30 Dec 2012 23:00:05 +0000 (23:00 +0000)]
daily update
Hans-Peter Nilsson [Sun, 30 Dec 2012 20:15:07 +0000 (20:15 +0000)]
* ld-scripts/pr14962.d: Don't run for mmix-knuth-mmixware. Add
comment punctuation.
gdbadmin [Sun, 30 Dec 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 29 Dec 2012 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 29 Dec 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 28 Dec 2012 23:00:06 +0000 (23:00 +0000)]
daily update
Jan Kratochvil [Fri, 28 Dec 2012 09:05:40 +0000 (09:05 +0000)]
gdb/
* symtab.c (find_line_symtab): Call symtab_to_fullname instead of
accessing FULLNAME directly.
gdbadmin [Fri, 28 Dec 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 27 Dec 2012 23:00:04 +0000 (23:00 +0000)]
daily update
gdbadmin [Thu, 27 Dec 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 26 Dec 2012 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Wed, 26 Dec 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 25 Dec 2012 23:00:06 +0000 (23:00 +0000)]
daily update
Sergio Durigan Junior [Tue, 25 Dec 2012 17:27:49 +0000 (17:27 +0000)]
2012-12-25 Sergio Durigan Junior <sergiodj@redhat.com>
* frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Fix typo.
Jan Kratochvil [Tue, 25 Dec 2012 08:03:33 +0000 (08:03 +0000)]
gdb/
* ada-lang.c (is_known_support_routine): New variable fullname. Use
access call to verify the symtab_to_fullname result.
* breakpoint.c (print_breakpoint_location, update_static_tracepoint):
Remove NULL check of symtab_to_fullname result.
* cli/cli-cmds.c (edit_command): Likewise.
* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
(mi_cmd_file_list_exec_source_files): Likewise.
* python/py-symtab.c (stpy_fullname): Likewise.
* source.c (symtab_to_fullname): Update function comment. Rename
variable r to fd, move it to inner block. Always provide non-NULL
result.
(print_source_lines_base): Remove NULL check of symtab_to_fullname
result.
* stack.c (print_frame): Likewise.
* symtab.c (iterate_over_some_symtabs, find_line_symtab, sources_info):
Likewise.
* tracepoint.c (print_one_static_tracepoint_marker): Likewise.
gdb/doc/
* gdb.texinfo (GDB/MI Data Manipulation) (fullname): Make it always
present.
(GDB/MI File Commands) (-file-list-exec-source-files): Make the
fullname output always present.
gdb/testsuite/
* gdb.mi/mi-fullname-deleted.exp: New file.
gdbadmin [Tue, 25 Dec 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 24 Dec 2012 23:00:05 +0000 (23:00 +0000)]
daily update
Jan Kratochvil [Mon, 24 Dec 2012 19:42:16 +0000 (19:42 +0000)]
gdb/
Code cleanup.
* dwarf2read.c (fixup_go_packaging): Do not check symtab->FILENAME for
NULL.
* linespec.c (add_sal_to_sals): Likewise.
* psympriv.h (allocate_psymtab): Add ATTRIBUTE_NONNULL.
* stack.c (print_frame): Do not check symtab->FILENAME for NULL.
* symfile.h (allocate_symtab): Add ATTRIBUTE_NONNULL.
* symtab.h (struct symtab): Add comment it is never NULL for filename.
* tracepoint.c (set_traceframe_context): Do not check symtab->FILENAME
for NULL.
* tui/tui-source.c (tui_set_source_content): Likewise.
Jan Kratochvil [Mon, 24 Dec 2012 19:40:05 +0000 (19:40 +0000)]
gdb/
* breakpoint.c (breakpoint_re_set): Remove the skip_re_set call.
* infrun.c (handle_inferior_event): Rename the called function to
function_name_is_marked_for_skip, pass it TMP_SAL.
* skip.c (struct skiplist_entry): Update function_name comment. Remove
fields pc, gdbarch and pending.
(skip_function_pc): Rename this forward declaration to ...
(skip_function): ... here.
(skip_file_command): Remove variable pending and its use, remove
initialization of E fields pending and gdbarch. Do not use SYMTAB
filename, use the specified one.
(skip_function_command): Remove variable func_pc, do not set it.
Update the caller of skip_function. Replace decode_line_1 call by
a lookup_symbol call. Remove variables orig_arg, decode_exception and
sals. Update the caller of skip_function.
(skip_info): Remove variable address_width and its use. Do not print
address (PC). Renumber column 5 to 4.
(skip_function_pc): Rename to ...
(skip_function): ... here and remove its parameters pc, arch and
pending. Update the function comment and no longer use those
parameters.
(function_pc_is_marked_for_skip): Rename to ...
(function_name_is_marked_for_skip): ... here, update function comment
just to a skip.h reference, replace pc parameter by function_name and
function_sal. No longer use E field pending and pc. Remove variables
searched_for_sal, sal and filename. Call compare_filenames_for_search
instead of just strcmp.
(skip_re_set): Remove the function.
* skip.h (struct symtab_and_line): New declaration.
(function_pc_is_marked_for_skip): Rename to ...
(function_name_is_marked_for_skip): ... here, replace pc parameter by
function_name and function_sal, update the function comment.
gdb/testsuite/
* gdb.base/skip-solib.exp (info skip with pending file): Update the
expected output.
(info skip with pending file): Remove.
(ignoring function in solib, info skip for function multiply): Update
the expected output.
* gdb.base/skip.ex (skip (main), skip function baz, info skip)
(info skip (delete 1), info skip after disabling all)
(info skip after enabling all, info skip after disabling 4 2-3)
(info skip after enabling 2-3, info skip 2-3)
(info skip after deleting 2 3): Update the expected output.
* gdb.linespec/base/two/thefile.cc (n): New variable v, split the
statement to its initialization and return.
* gdb.linespec/skip-two.exp: New file.
Mike Frysinger [Mon, 24 Dec 2012 02:47:51 +0000 (02:47 +0000)]
bfd: also enable x86_64pei_vec for 64bit i386-linux targets
We enable x86_64pei_vec for x86_64-linux targets, so we should list this
in the 64bit i386-linux vec section. This is useful for when we want to
build 64bit EFI code on an i386 system.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
gdbadmin [Mon, 24 Dec 2012 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 23 Dec 2012 23:00:04 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 23 Dec 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 22 Dec 2012 23:00:05 +0000 (23:00 +0000)]
daily update
Pierre Muller [Sat, 22 Dec 2012 18:53:36 +0000 (18:53 +0000)]
* ui-file.h (tee_file_new): Add extern modifier in header declaration.
Pierre Muller [Sat, 22 Dec 2012 17:51:11 +0000 (17:51 +0000)]
* gdbint.texinfo (Function prototypes): Require use of "extern"
modifier for function prototypes in headers.
gdbadmin [Sat, 22 Dec 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 21 Dec 2012 23:00:06 +0000 (23:00 +0000)]
daily update
H.J. Lu [Fri, 21 Dec 2012 20:54:59 +0000 (20:54 +0000)]
Check R_X86_64_standard for unrecognized relocation
* elf64-x86-64.c (elf_x86_64_relocate_section): Check
R_X86_64_standard instead of R_X86_64_max for unrecognized
relocation.
H.J. Lu [Fri, 21 Dec 2012 18:15:22 +0000 (18:15 +0000)]
Properly adjust h->plt.refcount
bfd/
PR ld/14980
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Properly
adjust h->plt.refcount.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise.
ld/testsuite/
PR ld/14980
* ld-ifunc/ifunc-14c.s: New file.
* ld-ifunc/ifunc-14e-i386.d: Likewise.
* ld-ifunc/ifunc-14e-x86-64.d: Likewise.
* ld-ifunc/ifunc-14f-i386.d: Likewise.
* ld-ifunc/ifunc-14f-x86-64.d: Likewise.
Ian Lance Taylor [Fri, 21 Dec 2012 06:24:31 +0000 (06:24 +0000)]
* layout.cc (Layout::special_ordering_of_input_section): New
function.
(Layout::layout): If input section requires special ordering, must
sort input sections.
(Layout::make_output_section): May sort .text input sections.
(Layout::is_section_name_prefix_grouped): Remove.
* layout.h (class Layout): Declare
special_ordering_of_input_section. Don't declare
is_section_name_prefix_grouped.
* output.cc (Output_section::add_input_section): Revert last
change.
(Output_section::Input_section_sort::match_file_name): Don't crash
if called on output section data.
(Output_section::Input_section_sort_compare): Sort based on
special ordering.
(Output_section::Input_section_sort_section_order_index_compare):
Revert last patch.
(Output_section::sort_attached_input_sections): Likewise.
gdbadmin [Fri, 21 Dec 2012 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 20 Dec 2012 23:00:05 +0000 (23:00 +0000)]
daily update
Jan-Benedict Glaw [Thu, 20 Dec 2012 21:59:17 +0000 (21:59 +0000)]
* Makefile.def (install-target-libgo): Depend on
install-target-libatomic. Merged from GCC repo.
* Makefile.in: Regenerate.
Richard Earnshaw [Thu, 20 Dec 2012 16:31:15 +0000 (16:31 +0000)]
Fix commit date in previous commit.
Richard Earnshaw [Thu, 20 Dec 2012 16:19:53 +0000 (16:19 +0000)]
2012-12-20 Greta Yorsh <Greta.Yorsh@arm.com>
* config/tc-arm.c (rfefa,rfeea,rfeed): Fix encoding.
(rfe,srs,srsea,srsfa,srsed,srsfd): Add missing mnemonics.
* gas/arm/srs-t2.s: Add tests for missing srs modes.
* gas/arm/srs-t2.l: Update expected output.
* gas/arm/srs-arm.s: Add tests for missing srs modes.
* gas/arm/srs-arm.l: Update expected output.
* gas/arm/archv6.s: Add tests for missing rfe modes.
* gas/arm/archv6.d: Update expected output.
Tom Tromey [Thu, 20 Dec 2012 15:30:25 +0000 (15:30 +0000)]
* serial.c (deprecated_serial_fd): Remove.
* serial.h (deprecated_serial_fd): Remove.
Doug Evans [Thu, 20 Dec 2012 05:05:49 +0000 (05:05 +0000)]
* gdb.base/maint.exp: Handle testing with .gdb_index.
Joel Brobecker [Thu, 20 Dec 2012 05:01:54 +0000 (05:01 +0000)]
Revert GPL version change in sim/bfin/aclocal.m4
sim/bfin/ChangeLog:
* aclocal.m4: Revert the previous change changing
the license from GPL v2 or later to GPL v3 or later
(this file was generated).
Joel Brobecker [Thu, 20 Dec 2012 04:18:53 +0000 (04:18 +0000)]
Revert GPL version change in linux-fixed-code.s.
sim/bfin/ChangeLog:
* linux-fixed-code.s: Revert the previous change changing
the license from GPL v2 or later to GPL v3 or later.
Yao Qi [Thu, 20 Dec 2012 01:07:04 +0000 (01:07 +0000)]
gdb/
2012-12-20 Yao Qi <yao@codesourcery.com>
* maint.c (_initialize_maint_cmds): Move code ...
* symmisc.c (_initialize_symmisc): ... to here.
(maintenance_print_msymbols): Make it static.
(maintenance_print_objfiles): Likewise.
(maintenance_print_symbols): Likewise.
(maintenance_info_symtabs): Likewise.
* symtab.h (maintenance_print_msymbols): Remove declaration.
(maintenance_print_objfiles, maintenance_print_symbols): Likewise.
(maintenance_info_symtabs): Likewise.
Yao Qi [Thu, 20 Dec 2012 00:58:14 +0000 (00:58 +0000)]
gdb/
2012-12-20 Yao Qi <yao@codesourcery.com>
* maint.c (_initialize_maint_cmds): Move code to ...
* psymtab.c (_initialize_psymtab): ... here. New.
Include "gdbcmd.h".
(maintenance_print_psymbols): Make it static.
(maintenance_info_psymtabs, maintenance_check_symtabs): Likewise.
* symtab.h (maintenance_print_psymbols): Remove declaration.
(maintenance_check_symtabs, maintenance_info_psymtabs): Likewise.
gdbadmin [Thu, 20 Dec 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 19 Dec 2012 23:00:04 +0000 (23:00 +0000)]
daily update
Maxim Kuvyrkov [Wed, 19 Dec 2012 22:07:44 +0000 (22:07 +0000)]
* MAINTAINERS: Add myself to write-after-approval maintainers.
Andreas Tobler [Wed, 19 Dec 2012 20:57:55 +0000 (20:57 +0000)]
2012-12-19 Andreas Tobler <andreast@neon.andreas.nets>
* mips-tdep.c (micromips_deal_with_atomic_sequence): Initialize
branch_bp to keep gcc happy.
H.J. Lu [Wed, 19 Dec 2012 19:50:40 +0000 (19:50 +0000)]
Fix indentation in the last checkin
H.J. Lu [Wed, 19 Dec 2012 19:45:43 +0000 (19:45 +0000)]
Fix and use elf_append_rel
* elf32-i386.c (elf_i386_relocate_section): Replace
bfd_elf32_swap_reloc_out with elf_append_rel.
(elf_i386_finish_dynamic_symbol): Likewise.
* elflink.c (elf_append_rel): Call swap_reloc_out instead of
swap_reloca_out.
H.J. Lu [Wed, 19 Dec 2012 19:41:18 +0000 (19:41 +0000)]
Reindent elf_i386_finish_dynamic_symbol
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Reindent.
Joel Brobecker [Wed, 19 Dec 2012 15:49:44 +0000 (15:49 +0000)]
Change copyright from Cavium to FSF.
gdb/testsuite/ChangeLog:
* gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
Cavium to FSF.
Joel Brobecker [Wed, 19 Dec 2012 10:54:54 +0000 (10:54 +0000)]
Add copyright header to stubs/buildvms.com.
gdb/stubs/ChangeLog:
* buildvms.com: Add copyright header.
Joel Brobecker [Wed, 19 Dec 2012 08:20:43 +0000 (08:20 +0000)]
Fix copyright years in gdbarch.h and gdbarch.c.
copyright.py was updating gdbarch.sh' copyright years, but not
the function that genarates the copyright headers for gdbarch.[hc].
This patch makes the following changes:
- fixes gdbarch.sh and regenerates gdbarch.[hc]
- Modify copyright.py to remind the user to update gdbarch.sh
by hand. This should also remind the user to rerun the script
and update gdbarch.[hc] - see next point;
- Allow copyright.py to update gdbarch.[hc]'c copyright years,
even though these are generated files; This should free
the user from having to update gdbarch.[hc] himself;
gdb/ChangeLog:
* gdbarch.sh (copyright): Update copyright years.
* gdbarch.h, gdbarch.c: Regenerate.
* copyright.py (EXCLUDE_LIST): Remove gdbarch.h and gdbarch.c.
(MULTIPLE_COPYRIGHT_HEADERS): Add 'gdb/gdbarch.sh'.
Joel Brobecker [Wed, 19 Dec 2012 08:19:59 +0000 (08:19 +0000)]
update copyright notices in various GDB files.
Update some files in GDB that were accidently left with a GPL v2
copyright header.
Update some files where the copyright notice still provides the
old contact info, using the approach for providing the FSF's contact
info.
gdb/ChangeLog:
* acinclude.m4: Update contact info in copyright notice.
gdb/doc/ChangeLog:
* refcard.tex: Update copyright notice to GPL v3 or later.
Update contact info.
gdb/testsuite/ChangeLog:
* dg-extract-results.sh: Update contact info in copyright notice.
* gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
GPL v3 or later. Update contact info.
* gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
gdb.threads/watchpoint-fork-mt.c,
gdb.threads/watchpoint-fork-parent.c,
gdb.threads/watchpoint-fork-st.c,
gdb.threads/watchpoint-fork.h: Likewise.
Yao Qi [Wed, 19 Dec 2012 07:51:50 +0000 (07:51 +0000)]
gdb/
2012-12-19 Yao Qi <yao@codesourcery.com>
* maint.c (maintenance_print_statistics): Make it static.
* symtab.h (maintenance_print_statistics): Remove declaration.
Joel Brobecker [Wed, 19 Dec 2012 07:19:14 +0000 (07:19 +0000)]
Update sim's COPYING files.
sim/arm/ChangeLog:
* COPYING: Update to GPL version 3.
sim/ppc/ChangeLog:
* COPYING: Update to GPL version 3.
Joel Brobecker [Wed, 19 Dec 2012 07:18:22 +0000 (07:18 +0000)]
[sim] Update old contact info in GPL license notices
sim/ChangeLog:
Update old contact info in GPL license notices.
Joel Brobecker [Wed, 19 Dec 2012 07:12:02 +0000 (07:12 +0000)]
Update sim copyright headers from GPLv2-or-later to GPLv3-or-later.
gdb/sim/ChangeLog:
Update the non-FSF-copyrighted files in sim to GPLv3 or later.
Joel Brobecker [Wed, 19 Dec 2012 04:28:53 +0000 (04:28 +0000)]
NEWS: Announce ppc-lynx178 support.
gdb/ChangeLog:
* NEWS: Add entry announcing ppc-lynx178 support.
Joel Brobecker [Wed, 19 Dec 2012 04:13:54 +0000 (04:13 +0000)]
Revert "Import gnulib's errno module."
There are some compatibility concerns with libiconv to be
discussed first.
gdb/ChangeLog:
Revert the following change:
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add errno.
* gnulib/import/errno.in.h: Import.
* gnulib/import/m4/errno_h.m4: Import.
* gnulib/aclocal.m4: Regenerate.
* gnulib/configure: Regenerate.
* gnulib/import/Makefile.am: Update.
* gnulib/import/Makefile.in: Update.
* gnulib/import/m4/gnulib-cache.m4: Update.
* gnulib/import/m4/gnulib-comp.m4: Update.
Sriraman Tallam [Wed, 19 Dec 2012 02:55:15 +0000 (02:55 +0000)]
Group text sections with prefixes .text.unlikely,.text.hot and .text.startup
by default.
2012-12-18 Sriraman Tallam <tmsriram@google.com>
* layout.cc (Layout::is_section_name_prefix_grouped): New function.
* layout.h (Layout::is_section_name_prefix_grouped): New function.
* output.cc (Output_section::add_input_section): Check if section
name contains special prefix. Keep input sections to sort such
sections.
(Output_section::Input_section_sort_section_order_index_compare
::operator()): Group sections according to prefixes.
* (Output_section::sort_attached_input_sections): Add condition
to Input_section_entry constructor call.
* testsuite/Makefile.am (text_section_grouping): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/text_section_grouping.cc: New file.
* testsuite/text_section_grouping.sh: New file.
gdbadmin [Wed, 19 Dec 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 18 Dec 2012 23:00:04 +0000 (23:00 +0000)]
daily update
Roland McGrath [Tue, 18 Dec 2012 20:42:43 +0000 (20:42 +0000)]
ld/
* ld.texinfo (Options): Describe -Trodata-segment.
* ldlex.h (enum option_values): Add OPTION_TRODATA_SEGMENT.
* lexsup.c (ld_options, parse_args): Handle -Trodata-segment.
* scripttempl/elf.sc (RODATA_ADDR, SHLIB_RODATA_ADDR): Wrap
SEGMENT_START("rodata-segment", ...) + SIZEOF_HEADERS around the value.
Tom Tromey [Tue, 18 Dec 2012 19:33:44 +0000 (19:33 +0000)]
fix some bad ChangeLog dates from today
Tom Tromey [Tue, 18 Dec 2012 19:32:41 +0000 (19:32 +0000)]
* defs.h (directory_command): Don't declare.
* source.c (directory_command): Now static.
Tom Tromey [Tue, 18 Dec 2012 19:31:17 +0000 (19:31 +0000)]
* infcmd.c (all_registers_info, nexti_command, stepi_command)
(continue_command, interrupt_target_command): Now static.
(registers_info): Remove declaration.
* inferior.h (all_registers_info, nexti_command, stepi_command)
(continue_command, interrupt_target_command): Don't declare.
Tom Tromey [Tue, 18 Dec 2012 19:27:35 +0000 (19:27 +0000)]
* cli/cli-cmds.c (apropos_command): Now static.
Tom Tromey [Tue, 18 Dec 2012 19:27:00 +0000 (19:27 +0000)]
* breakpoint.c (dprintf_command): Now static.
Tom Tromey [Tue, 18 Dec 2012 19:26:29 +0000 (19:26 +0000)]
* Makefile.in (init.c): Declare initialize_all_files;
don't include call-cmds.h.
* call-cmds.h: Remove.
* symtab.c: Don't include call-cmds.h.
* top.c: Don't include call-cmds.h. Declare
initialize_all_files.
Tom Tromey [Tue, 18 Dec 2012 19:25:24 +0000 (19:25 +0000)]
* symfile.c (list_overlays_command, map_overlay_command)
(unmap_overlay_command): Now static.
Tom Tromey [Tue, 18 Dec 2012 19:24:40 +0000 (19:24 +0000)]
* cli/cli-cmds.c (_initialize_cli_cmds): Remove "document",
"define", "while", and "if" commands.
* cli/cli-script.c (while_command, if_command, define_command)
(document_command): Now static.
(_initialize_cli_script): New function.
* cli/cli-script.h (while_command, if_command, define_command)
(document_command): Don't declare.
Tom Tromey [Tue, 18 Dec 2012 19:23:33 +0000 (19:23 +0000)]
* cli/cli-cmds.c (_initialize_cli_cmds): New function.
(init_cli_cmds): Move most code into new function.
Tom Tromey [Tue, 18 Dec 2012 19:21:53 +0000 (19:21 +0000)]
* minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static.
* minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't
declare.
DJ Delorie [Tue, 18 Dec 2012 17:41:27 +0000 (17:41 +0000)]
merge from gcc
Michael Eager [Tue, 18 Dec 2012 16:01:02 +0000 (16:01 +0000)]
PR ld/14736
bfd:
* elf32-microblaze.c (calc_fixup): Add end range.
gas/testsuite:
* gas/microblaze/relax_size.exp: New file - test object size after linker
relaxation
* gas/microblaze/relax_size.s: Likewise
* gas/microblaze/relax_size.elf: Likewise
* gas/microblaze/relax_size2.s: Likewise
* gas/microblaze/relax_size2.elf: Likewise
Joel Brobecker [Tue, 18 Dec 2012 14:52:59 +0000 (14:52 +0000)]
Port GDB to powerpc-lynx178.
gdb/ChangeLog:
* defs.h (enum gdb_osabi): Add GDB_OSABI_LYNXOS178.
* osabi.c (gdb_osabi_names): Add entry for GDB_OSABI_LYNXOS178.
* xcoffread.c (xcoff_get_core_n_import_files): New function.
(xcoff_get_n_import_files): New function.
* xcoffread.h (xcoffread.h): Add declaration.
* rs6000-aix-tdep.c: #include "xcoffread.h".
(rs6000_aix_osabi_sniffer): Do not return GDB_OSABI_AIX for
XCOFF executables that do not depend on any shared library.
* rs6000-lynx178-tdep.c: New file.
* configure.tgt: Add powerpc-*-lynx*178 handling.
* Makefile.in (ALL_TARGET_OBS): Add rs6000-lynx178-tdep.o.
(ALLDEPFILES): Add rs6000-lynx178-tdep.c.
Alan Modra [Tue, 18 Dec 2012 13:38:10 +0000 (13:38 +0000)]
PR ld/14962
* ld-scripts/pr14962.d, * ld-scripts/pr14962.t,
* ld-scripts/pr14962a.s, * ld-scripts/pr14962b.s: New test.
* ld-scripts/expr.exp: Run it.
Alan Modra [Tue, 18 Dec 2012 13:25:46 +0000 (13:25 +0000)]
* elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of
the special MAP_* values.
Markus Metzger [Tue, 18 Dec 2012 08:01:42 +0000 (08:01 +0000)]
Fix ChangeLog format.
Hui Zhu [Tue, 18 Dec 2012 07:01:58 +0000 (07:01 +0000)]
2012-12-18 Hui Zhu <hui_zhu@mentor.com>
* ui-file.c (ui_file): Add to_fseek.
(ui_file_new): Call set_ui_file_fseek.
(null_file_fseek, ui_file_fseek, set_ui_file_fseek,
stdio_file_fseek): New functions.
(stdio_file_new): Call set_ui_file_fseek.
* ui-file.h (ui_file_fseek_ftype): New typedef.
(set_ui_file_fseek, ui_file_fseek): New externs.
Hui Zhu [Tue, 18 Dec 2012 06:39:37 +0000 (06:39 +0000)]
2012-12-18 Hui Zhu <hui_zhu@mentor.com>
* ui-file.c (set_ui_file_flush): Change flush to flush_ptr.
(set_ui_file_isatty): Change isatty to isatty_ptr.
(set_ui_file_rewind): Change rewind to rewind_ptr.
(set_ui_file_put): Change put to put_ptr.
(set_ui_file_write): Change write to write_ptr.
(set_ui_file_write_async_safe): Change write_async_safe to
write_async_safe_ptr.
(set_ui_file_read): Change read to read_ptr.
(set_ui_file_fputs): Change fputs to fputs_ptr.
(set_ui_file_data): Change delete to delete_ptr.
Joel Brobecker [Tue, 18 Dec 2012 06:19:54 +0000 (06:19 +0000)]
solib-darwin.c: handle PIE when attaching processes.
gdb/ChangeLog:
* solib-darwin.c (darwin_current_sos): Fix indentation.
(darwin_read_exec_load_addr): New function.
(darwin_solib_create_inferior_hook): Rebase executable.
* objfiles.c (objfile_rebase1, objfile_rebase): New functions.
* objfiles.h (objfile_rebase1, objfile_rebase): Add prototypes.
Joel Brobecker [Tue, 18 Dec 2012 06:02:32 +0000 (06:02 +0000)]
Import gnulib's errno module.
gdb/ChangeLog:
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add errno.
* gnulib/import/errno.in.h: Import.
* gnulib/import/m4/errno_h.m4: Import.
* gnulib/aclocal.m4: Regenerate.
* gnulib/configure: Regenerate.
* gnulib/import/Makefile.am: Update.
* gnulib/import/Makefile.in: Update.
* gnulib/import/m4/gnulib-cache.m4: Update.
* gnulib/import/m4/gnulib-comp.m4: Update.
Joel Brobecker [Tue, 18 Dec 2012 06:00:55 +0000 (06:00 +0000)]
Update gnulib to current HEAD.
gdb/ChangeLog:
* gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
8d5bd1402003bd0153984b138735adf537d960b0.
* gnulib/aclocal.m4, configure, config.in: Regenerate.
* gnulib/import/m4/extern-inline.m4: Import.
* gnulib/import/wctype-h.c: Import.
* gnulib/import/Makefile.am: Update.
* gnulib/import/Makefile.in: Update.
* gnulib/import/alloca.in.h: Update.
* gnulib/import/extra/snippet/warn-on-use.h: Update.
* gnulib/import/localcharset.c: Update.
* gnulib/import/m4/fcntl-o.m4: Update.
* gnulib/import/m4/gnulib-cache.m4: Update.
* gnulib/import/m4/gnulib-comp.m4: Update.
* gnulib/import/m4/wctype_h.m4: Update.
* gnulib/import/stdbool.in.h: Update.
* gnulib/import/verify.h: Update.
* gnulib/import/wctype.in.h: Update.
Joel Brobecker [Tue, 18 Dec 2012 04:41:41 +0000 (04:41 +0000)]
Fix author in last ChangeLog entry.
Joel Brobecker [Tue, 18 Dec 2012 04:40:25 +0000 (04:40 +0000)]
Add call to autoheader in update-gnulib.sh.
gdb/ChangeLog:
* gnulib/update-gnulib.sh: Add call to autoheader.
gdbadmin [Tue, 18 Dec 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 17 Dec 2012 23:00:08 +0000 (23:00 +0000)]
daily update
Doug Evans [Mon, 17 Dec 2012 19:40:24 +0000 (19:40 +0000)]
Enable accidentally commented out code.
Roland McGrath [Mon, 17 Dec 2012 19:32:52 +0000 (19:32 +0000)]
ld/testsuite/
* ld-elf/elf.exp (stack exec, stack size): Run for *-*-nacl* targets.
* ld-i386/export-class.exp: Run for i?86-*-nacl* targets.
Roland McGrath [Mon, 17 Dec 2012 19:13:07 +0000 (19:13 +0000)]
bfd/
* elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are
not ARM ELF.
Jeff Johnston [Mon, 17 Dec 2012 17:46:09 +0000 (17:46 +0000)]
2012-12-17 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.LIBGLOSS: Add license for bfin libgloss.
H.J. Lu [Mon, 17 Dec 2012 17:20:07 +0000 (17:20 +0000)]
Remove the leading zero
* ld-elf/var1.d: Remove the leading zero.
Nick Clifton [Mon, 17 Dec 2012 16:56:12 +0000 (16:56 +0000)]
Add copyright notices
H.J. Lu [Mon, 17 Dec 2012 15:37:40 +0000 (15:37 +0000)]
Update PR ld/14962 testcase
Tom Tromey [Mon, 17 Dec 2012 15:11:56 +0000 (15:11 +0000)]
* top.c (xgdb_verbose): Remove.
H.J. Lu [Mon, 17 Dec 2012 14:53:35 +0000 (14:53 +0000)]
Add a testcase for PR ld/14962
PR ld/14962
* ld-elf/var1.d: New file.
* ld-elf/var1.s: Likewise.
* ld-elf/var1.t: Likewise.