aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-19[sim] Update old contact info in GPL license noticesJoel Brobecker256-523/+264
sim/ChangeLog: Update old contact info in GPL license notices.
2012-12-19Update sim copyright headers from GPLv2-or-later to GPLv3-or-later.Joel Brobecker169-170/+174
gdb/sim/ChangeLog: Update the non-FSF-copyrighted files in sim to GPLv3 or later.
2012-12-19NEWS: Announce ppc-lynx178 support.Joel Brobecker2-0/+8
gdb/ChangeLog: * NEWS: Add entry announcing ppc-lynx178 support.
2012-12-19Revert "Import gnulib's errno module."Joel Brobecker10-1053/+188
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.
2012-12-19Group text sections with prefixes .text.unlikely,.text.hot and .text.startupSriraman Tallam8-7/+265
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.
2012-12-19*** empty log message ***gdbadmin1-1/+1
2012-12-18daily updateAlan Modra1-1/+1
2012-12-18ld/Roland McGrath5-24/+59
* 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.
2012-12-18fix some bad ChangeLog dates from todayTom Tromey1-7/+7
2012-12-18 * defs.h (directory_command): Don't declare.Tom Tromey3-3/+6
* source.c (directory_command): Now static.
2012-12-18 * infcmd.c (all_registers_info, nexti_command, stepi_command)Tom Tromey3-29/+13
(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.
2012-12-18 * cli/cli-cmds.c (apropos_command): Now static.Tom Tromey2-3/+5
2012-12-18 * breakpoint.c (dprintf_command): Now static.Tom Tromey2-3/+5
2012-12-18 * Makefile.in (init.c): Declare initialize_all_files;Tom Tromey5-37/+12
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.
2012-12-18 * symfile.c (list_overlays_command, map_overlay_command)Tom Tromey2-9/+8
(unmap_overlay_command): Now static.
2012-12-18 * cli/cli-cmds.c (_initialize_cli_cmds): Remove "document",Tom Tromey4-35/+45
"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.
2012-12-18 * cli/cli-cmds.c (_initialize_cli_cmds): New function.Tom Tromey2-16/+30
(init_cli_cmds): Move most code into new function.
2012-12-18 * minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static.Tom Tromey3-8/+10
* minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't declare.
2012-12-18merge from gccDJ Delorie2-1/+14
2012-12-18PR ld/14736Michael Eager8-23/+155
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
2012-12-18Port GDB to powerpc-lynx178.Joel Brobecker9-0/+518
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.
2012-12-18 PR ld/14962Alan Modra6-0/+41
* ld-scripts/pr14962.d, * ld-scripts/pr14962.t, * ld-scripts/pr14962a.s, * ld-scripts/pr14962b.s: New test. * ld-scripts/expr.exp: Run it.
2012-12-18 * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one ofAlan Modra2-0/+6
the special MAP_* values.
2012-12-18Fix ChangeLog format.Markus Metzger2-5/+5
2012-12-182012-12-18 Hui Zhu <hui_zhu@mentor.com>Hui Zhu3-0/+54
* 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.
2012-12-182012-12-18 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2-18/+31
* 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.
2012-12-18solib-darwin.c: handle PIE when attaching processes.Joel Brobecker4-2/+128
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.
2012-12-18Import gnulib's errno module.Joel Brobecker10-175/+1065
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.
2012-12-18Update gnulib to current HEAD.Joel Brobecker19-172/+330
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.
2012-12-18Fix author in last ChangeLog entry.Joel Brobecker1-1/+1
2012-12-18Add call to autoheader in update-gnulib.sh.Joel Brobecker2-0/+5
gdb/ChangeLog: * gnulib/update-gnulib.sh: Add call to autoheader.
2012-12-18*** empty log message ***gdbadmin1-1/+1
2012-12-17daily updateAlan Modra1-1/+1
2012-12-17Enable accidentally commented out code.Doug Evans1-3/+3
2012-12-17ld/testsuite/Roland McGrath3-0/+7
* ld-elf/elf.exp (stack exec, stack size): Run for *-*-nacl* targets. * ld-i386/export-class.exp: Run for i?86-*-nacl* targets.
2012-12-17bfd/Roland McGrath2-0/+9
* elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are not ARM ELF.
2012-12-172012-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+20
* COPYING.LIBGLOSS: Add license for bfin libgloss.
2012-12-17Remove the leading zeroH.J. Lu2-3/+7
* ld-elf/var1.d: Remove the leading zero.
2012-12-17Add copyright noticesNick Clifton221-18/+3352
2012-12-17Update PR ld/14962 testcaseH.J. Lu2-4/+4
2012-12-17 * top.c (xgdb_verbose): Remove.Tom Tromey2-1/+4
2012-12-17Add a testcase for PR ld/14962H.J. Lu4-0/+49
PR ld/14962 * ld-elf/var1.d: New file. * ld-elf/var1.s: Likewise. * ld-elf/var1.t: Likewise.
2012-12-17lynx-low: Add debug trace when new thread is discovered.Joel Brobecker2-1/+10
gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_wait_1): Add debug trace before adding new thread.
2012-12-17Add PTRACE_GETTRACESIG handling in ptrace_request_to_strJoel Brobecker2-0/+8
We use this ptrace request when handling SIGTRAP signals, and without this change, the debug trances show: PTRACE (<unknown-request>, ... This patch fixes this. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Add handling for PTRACE_GETTRACESIG.
2012-12-17Delete unused variable in lynx_attach.Joel Brobecker2-2/+5
gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_attach): Delete variable new_process.
2012-12-17remove unused variable in lynx_create_inferior.Joel Brobecker2-2/+6
gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_create_inferior): Delete variable new_process.
2012-12-17lynx-low.c: PTRACE_GETTHREADLIST may not be defined.Joel Brobecker2-0/+7
LynxOS 178 does not define this macro. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Do not handle PTRACE_GETTHREADLIST if this macro does not exist.
2012-12-17 PR ld/14962Alan Modra4-74/+37
* ldexp.h (struct ldexp_control): Add "assign_name". * ldexp.c (fold_name <NAME>): Compare and clear assign_name on match. (exp_fold_tree_1): Remove existing code testing for self assignment. Instead set and test expld.assign_name. * ldlang.c (scan_for_self_assignment): Delete. (print_assignment): Instead set and test expld.assign_name.
2012-12-17*** empty log message ***gdbadmin1-1/+1
2012-12-16Don't check IFUNC relocations in elf_*_check_relocsH.J. Lu3-143/+10
* elf32-i386.c (elf_i386_check_relocs): Don't check IFUNC relocations here. * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.