OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
12 years agoAdd smart identification of auxiliary header file paths.
keithmarshall [Sun, 15 Jan 2012 19:11:08 +0000 (19:11 +0000)]
Add smart identification of auxiliary header file paths.

12 years agoMore makefile code refactoring; fix top_srcdir references.
keithmarshall [Sun, 15 Jan 2012 15:31:10 +0000 (15:31 +0000)]
More makefile code refactoring; fix top_srcdir references.

12 years agoUpdate and correct makefile rebuilding rules.
keithmarshall [Sun, 15 Jan 2012 15:10:08 +0000 (15:10 +0000)]
Update and correct makefile rebuilding rules.

12 years agoMore formatting adjustments.
keithmarshall [Sun, 15 Jan 2012 14:28:17 +0000 (14:28 +0000)]
More formatting adjustments.

12 years agoMiscellaneous formatting adjustments.
keithmarshall [Sun, 15 Jan 2012 14:20:35 +0000 (14:20 +0000)]
Miscellaneous formatting adjustments.

12 years agoImprove self-documentation of 'for' loop commands.
keithmarshall [Sun, 15 Jan 2012 12:39:00 +0000 (12:39 +0000)]
Improve self-documentation of 'for' loop commands.

12 years agoGeneralise 'all' rule to arbitrary prerequisite sub-directories.
keithmarshall [Sun, 15 Jan 2012 12:27:13 +0000 (12:27 +0000)]
Generalise 'all' rule to arbitrary prerequisite sub-directories.

12 years agoDerive package release index from configure time specification.
keithmarshall [Sun, 15 Jan 2012 12:20:06 +0000 (12:20 +0000)]
Derive package release index from configure time specification.

12 years ago PR ld/12758
amodra [Sun, 15 Jan 2012 01:57:14 +0000 (01:57 +0000)]
PR ld/12758
* ldlang.c (lang_process): Don't reopen all files, just those
newly added by plugin.

12 years ago*** empty log message ***
gdbadmin [Sun, 15 Jan 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Sat, 14 Jan 2012 23:00:06 +0000 (23:00 +0000)]
daily update

12 years agoDiscontinue CVS tracking of generated 'configure' script.
keithmarshall [Sat, 14 Jan 2012 21:19:11 +0000 (21:19 +0000)]
Discontinue CVS tracking of generated 'configure' script.

12 years ago * NEWS: Update text for "maint set python print-stack".
devans [Sat, 14 Jan 2012 18:13:26 +0000 (18:13 +0000)]
* NEWS: Update text for "maint set python print-stack".
It is deprecated in gdb 7.4 and deleted in 7.5.

12 years agogdb/testsuite/
jkratoch [Sat, 14 Jan 2012 10:46:34 +0000 (10:46 +0000)]
gdb/testsuite/
* gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
* gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.

12 years ago*** empty log message ***
gdbadmin [Sat, 14 Jan 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Fri, 13 Jan 2012 23:00:11 +0000 (23:00 +0000)]
daily update

12 years agoAdd vmfunc
hjl [Fri, 13 Jan 2012 22:19:27 +0000 (22:19 +0000)]
Add vmfunc

gas/

2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add ".vmfunc".

* doc/c-i386.texi: Document vmfunc.

gas/testsuite/

2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run vmfunc and x86-64-vmfunc.

* gas/i386/vmfunc.d: New.
* gas/i386/vmfunc.s: Likewise.
* gas/i386/x86-64-vmfunc.d: Likewise.

opcodes/

2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (mod_table): Add vmfunc.

* i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
(cpu_flags): CpuVMFUNC.

* i386-opc.h (CpuVMFUNC): New.
(i386_cpu_flags): Add cpuvmfunc.

* i386-opc.tbl: Add vmfunc.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

12 years ago2012-01-13 Pedro Alves <palves@redhat.com>
palves [Fri, 13 Jan 2012 20:06:40 +0000 (20:06 +0000)]
2012-01-13  Pedro Alves  <palves@redhat.com>

* server.c (attach_inferior): Clear `cont_thread'.

12 years ago2012-01-13 Pedro Alves <palves@redhat.com>
palves [Fri, 13 Jan 2012 20:02:36 +0000 (20:02 +0000)]
2012-01-13  Pedro Alves  <palves@redhat.com>

* server.c (main): Avoid infinite loop while detaching/killing
after a longjmp.

12 years ago2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Fri, 13 Jan 2012 18:39:31 +0000 (18:39 +0000)]
2012-01-13  Paul Pluzhnikov  <ppluzhnikov@google.com>

* gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
* gdb.base/pie-execl.exp: Likewise.

12 years agoreverse the order of relocs in mach-o gas output.
iains [Fri, 13 Jan 2012 15:19:06 +0000 (15:19 +0000)]
reverse the order of relocs in mach-o gas output.

gas:

* config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
* config/obj-macho.h (SET_SECTION_RELOCS): Define.
(obj_mach_o_reorder_section_relocs): Declare.

gas/testsuite:

* gas/all/redef2.d: Skip for Darwin.
* gas/all/redef3.d: Likewise.
* gas/all/weakref1.d: Likewise.
* gas/macros/irp.d: Likewise.
* gas/macros/repeat.d: Likewise.
* gas/macros/rept.d: Likewise.
* gas/macros/test2.d: Likewise.
* gas/macros/vararg.d: Likewise.
* gas/mach-o/macro-irp.d: New.
* gas/mach-o/macro-repeat.d: New.
* gas/mach-o/macro-rept.d: New.
* gas/mach-o/macro-test2.d: New.
* gas/mach-o/macro-vararg.d: New.
* gas/mach-o/redef2.d: New.
* gas/mach-o/redef3.d: New.

12 years agogdb/doc/
jkratoch [Fri, 13 Jan 2012 14:31:55 +0000 (14:31 +0000)]
gdb/doc/
* gdbint.texinfo (Coding Standards): Require braces for two lines of
code.

12 years agohandle absolute indirect syms in mach-o
iains [Fri, 13 Jan 2012 12:59:29 +0000 (12:59 +0000)]
handle absolute indirect syms in mach-o

bfd:

* mach-o.c (bfd_mach_o_build_dysymtab_command): Handle absolute
indirect symbols.
gas:

* config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
absolute indirect symbols.

gas/testsuite:

* gas/mach-o/dysymtab-3.d: New.
* gas/mach-o/symbols-7.s: New.

12 years agoorder relocs after segments for mach-o
iains [Fri, 13 Jan 2012 12:08:22 +0000 (12:08 +0000)]
order relocs after segments for mach-o

bfd:

* mach-o.c (bfd_mach_o_write_relocs): Move compuation of relocs file
position from here... to (bfd_mach_o_build_seg_command): Here.

12 years agoset vma on mach-o sections.
iains [Fri, 13 Jan 2012 11:55:01 +0000 (11:55 +0000)]
set vma on mach-o sections.

gas:

* config/obj-macho.c (obj_mach_o_set_vma_data): New type.
(obj_mach_o_set_section_vma): New.
(obj_mach_o_post_relax_hook): New.
* config/obj-macho.h (md_post_relax_hook): Define.
(obj_mach_o_post_relax_hook): Declare.

gas/testsuite:

* gas/mach-o/dysymtab-2.d: Update to include the set VMA.
* gas/mach-o/symbols-1-64.d: Likewise.
* gas/mach-o/symbols-1.d: Likewise.
* gas/mach-o/symbols-6.d: Likewise.
* gas/mach-o/zerofill-1.d: Likewise.
* gas/mach-o/zerofill-2.d: Likewise.

12 years agoAvoid compiler warnings in gdb_curses.h on MinGW.
eliz [Fri, 13 Jan 2012 10:44:35 +0000 (10:44 +0000)]
Avoid compiler warnings in gdb_curses.h on MinGW.

See http://sourceware.org/ml/gdb-patches/2012-01/msg00298.html
for more details about the problem.

 gdb/gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
 including curses.h.

12 years agoDocument support of printf %m conversion flag.
yselkowitz [Fri, 13 Jan 2012 10:01:12 +0000 (10:01 +0000)]
Document support of printf %m conversion flag.

12 years ago * new-features.sgml (ov-new1.7.10): Document support for the %m
yselkowitz [Fri, 13 Jan 2012 09:59:52 +0000 (09:59 +0000)]
* new-features.sgml (ov-new1.7.10): Document support for the %m
conversion flag in printf functions.

12 years ago * include/cygwin/config.h (_GLIBC_EXTENSION): Define.
yselkowitz [Fri, 13 Jan 2012 09:15:22 +0000 (09:15 +0000)]
* include/cygwin/config.h (_GLIBC_EXTENSION): Define.

12 years ago * libc/stdio/sprintf.c: Document 'm' conversion specifier.
yselkowitz [Fri, 13 Jan 2012 09:13:56 +0000 (09:13 +0000)]
* libc/stdio/sprintf.c: Document 'm' conversion specifier.
* libc/stdio/swprintf.c: Ditto.
* libc/stdio/vfprintf.c (_VFPRINTF_R) [_GLIBC_EXTENSION]: Handle 'm'
conversion specifier.
* libc/stdio/vfwprintf.c (_VFWPRINTF_R) [_GLIBC_EXTENSION]: Ditto.

12 years ago*** empty log message ***
gdbadmin [Fri, 13 Jan 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoDocument tgmath.h.
yselkowitz [Thu, 12 Jan 2012 23:43:21 +0000 (23:43 +0000)]
Document tgmath.h.

12 years ago * new-features.sgml (ov-new1.7.10): Document tgmath.h.
yselkowitz [Thu, 12 Jan 2012 23:42:11 +0000 (23:42 +0000)]
* new-features.sgml (ov-new1.7.10): Document tgmath.h.

12 years agogdb/
jkratoch [Thu, 12 Jan 2012 23:38:46 +0000 (23:38 +0000)]
gdb/
* configure: Regenerate.
* config.in: Regenerate.

12 years agodaily update
amodra [Thu, 12 Jan 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago PR mi/10586
kseitz [Thu, 12 Jan 2012 22:51:08 +0000 (22:51 +0000)]
PR mi/10586
* varobj.c (ANONYMOUS_STRUCT_NAME): Define.
(ANONYMOUS_UNION_NAME): Define.
(is_path_expr_parent): New function.
(get_path_expr_parent): New function.
(is_anonymous_child): New function.
(create_child_with_value): If the child is anonymous and without
a name, assign an object name to it.
(c_describe_child): Use get_path_expr_parent to determine
the parent expression.
If there field represents an anonymous struct or union and
has no name, set an appropriate display name and expression.
(cplus_describe_child): Likewise.

12 years ago PR mi/10586
kseitz [Thu, 12 Jan 2012 22:50:49 +0000 (22:50 +0000)]
PR mi/10586
* gdb.mi/var-cmd.c (struct anonymous): New structure.
(do_anonymous_type_tests): New function.
(main): Call do_anonymous_type_tests.
* gdb.mi/mi2-var-child.exp: Add anonymous type tests.
(verify_everything): New procedure.
* gdb.mi/mi-var-cp.cc (class A): New class.
(anonymous_structs_and_unions): New function.
(main): Call anonymous_structs_and_unions.
* gdb.mi/mi-var-cp.exp: Add anonymous type tests.
(verify_everything): New procedure.

12 years ago * lib/mi-support.exp: Expand comments about PATH_EXPR.
kseitz [Thu, 12 Jan 2012 22:28:33 +0000 (22:28 +0000)]
* lib/mi-support.exp: Expand comments about PATH_EXPR.
(varobj_tree::get_path_expr): Assume that all varobjs are
compound unless they are known simple types.
Adjust path expressions based on parent type, path parent type,
and tree language.
(varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
the root varobj.
(mi_walk_varobj_tree): Add LANGUAGE parameter.

12 years ago2012-01-12 Pedro Alves <palves@redhat.com>
palves [Thu, 12 Jan 2012 15:39:28 +0000 (15:39 +0000)]
2012-01-12  Pedro Alves  <palves@redhat.com>

* i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
available when %ebp is found to be zero (outermost).

12 years agoadd indirect_symbol to mach-o port.
iains [Thu, 12 Jan 2012 14:03:05 +0000 (14:03 +0000)]
add indirect_symbol to mach-o port.

bfd:

* mach-o.c (bfd_mach_o_count_indirect_symbols): New.
(bfd_mach_o_build_dysymtab_command): Populate indirect symbol table.
* mach-o.h (bfd_mach_o_asymbol): Move declaration to start of the
file. (bfd_mach_o_section): Add indirect_syms field.

gas:

* config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
lazy when the symbol is private_extern.
(obj_mach_o_indirect_sym): New type.
(obj_mach_o_indirect_symbol): New.
(mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
(obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
(obj_macho_frob_label): Likewise.  Adjust external and comm
symbol tests.
(obj_mach_o_set_indirect_symbols): New.
(obj_mach_o_frob_file_after_relocs): New.
*config/obj-macho.h (obj_frob_file_after_relocs): Define.
(obj_mach_o_frob_file_after_relocs): Declare.

include/mach-o:

* loader.h (BFD_MACH_O_INDIRECT_SYM_LOCAL): New.
(BFD_MACH_O_INDIRECT_SYM_ABS): New

gas/testsuite:

* gas/mach-o/dysymtab-2.d: New.
* gas/mach-o/err-syms-4.s: New.
* gas/mach-o/err-syms-5.s: New.
* gas/mach-o/err-syms-6.s: New.
* gas/mach-o/symbols-6-64.d: New.
* gas/mach-o/symbols-6-64.s: New.
* gas/mach-o/symbols-6.d: New.
* gas/mach-o/symbols-6.s: New.

12 years ago * libc/include/tgmath.h: New header.
yselkowitz [Thu, 12 Jan 2012 11:19:31 +0000 (11:19 +0000)]
* libc/include/tgmath.h: New header.

12 years ago2012-01-12 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 12 Jan 2012 08:53:34 +0000 (08:53 +0000)]
2012-01-12  Tristan Gingold  <gingold@adacore.com>

PR gas/13591
* config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.

12 years ago*** empty log message ***
gdbadmin [Thu, 12 Jan 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoTrivial cleanup: kill trailing whitespace
ppluzhnikov [Thu, 12 Jan 2012 00:00:01 +0000 (00:00 +0000)]
Trivial cleanup: kill trailing whitespace

12 years agodaily update
amodra [Wed, 11 Jan 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago* spawn.cc (child_info_spawn::worker): Delete debugging.
cgf [Wed, 11 Jan 2012 22:38:52 +0000 (22:38 +0000)]
* spawn.cc (child_info_spawn::worker): Delete debugging.

12 years ago2012-01-11 Andreas Tobler <andreast@fgznet.ch>
andreast [Wed, 11 Jan 2012 21:51:25 +0000 (21:51 +0000)]
2012-01-11  Andreas Tobler  <andreast@fgznet.ch>

* common/gdb_assert.h (gdb_static_assert): Rename static_assert to
an internal gdb_static_assert.
* mi/mi-common.c: Rename static_assert to gdb_static_assert.

12 years agoUpdate copyright on all files checked in so far this year.
cgf [Wed, 11 Jan 2012 19:07:07 +0000 (19:07 +0000)]
Update copyright on all files checked in so far this year.
* fhandler.h: Use #pragma once rather than ifdef guards.
(fhandler_console::tc_getpgid): Return our pgid if we have never opened a
console.
* fork.cc: Rearrange includes to accommodate fhandler.h use of pinfo.h.
* sigproc.cc: Ditto.
* spawn.cc: Ditto.
(child_info_spawn::worker): Query myself->pgid rather than calling expensive
function.
* thread.h: Use #pragma once rather than ifdef guards.
* pinfo.h: Use #pragma once rather than ifdef guards.
(pinfo::remember): Don't define if sigproc.h has not been included.
(pinfo::reattach): Ditto.
* sigproc.h: Use #pragma once rather than ifdef guards.  Use different test to
see if pinfo.h has been included.

12 years ago PR gdb/9598:
tromey [Wed, 11 Jan 2012 18:30:19 +0000 (18:30 +0000)]
PR gdb/9598:
* breakpoint.c (_initialize_breakpoint): Fix help for "catch
catch" and "catch throw".

12 years ago PR gdb/9598:
tromey [Wed, 11 Jan 2012 18:30:05 +0000 (18:30 +0000)]
PR gdb/9598:
* breakpoint.c (_initialize_breakpoint): Fix help for "catch
catch" and "catch throw".

12 years agobfd:
iains [Wed, 11 Jan 2012 15:24:09 +0000 (15:24 +0000)]
bfd:

* mach-o.c (bfd_mach_o_build_seg_command): Separate computation of
vmsize from filesize.  Don't compute offsets or file sizes for
zerofill sections.

12 years agobfd:
iains [Wed, 11 Jan 2012 15:06:34 +0000 (15:06 +0000)]
bfd:

* mach-o.c (bfd_mach_o_build_commands): Make the building of each
command type independent.

12 years ago2012-01-11 Pedro Alves <palves@redhat.com>
palves [Wed, 11 Jan 2012 10:59:51 +0000 (10:59 +0000)]
2012-01-11  Pedro Alves  <palves@redhat.com>

* gdb.base/default.exp (core-file): Don't expect "GDB can't read
core files on this machine" anymore.

12 years agoAdd test for use of "<block>::<variable>" syntax for locals in watch.
hilfingr [Wed, 11 Jan 2012 10:36:17 +0000 (10:36 +0000)]
Add test for use of "<block>::<variable>" syntax for locals in watch.

First, fix a technical problem with the function recurser.  The test sets a
watch on local_x at a point where its value is technically undefined.  The
test is written assuming that the value is not initially 2, but nothing in the
C standard guarantees that.

Second, augment the existing test for variables in recursive calls to check an
equivalent expression that explicitly sets the scope of the local variable
being tracked.

2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>

* gdb.base/watchpoint.c (recurser): Initialize local_x.
(main): Repeat recurser call.
* gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
equivalent to 'local_x'.

12 years agoAdd testcase for locals identified with FUNCTION::VAR syntax.
hilfingr [Wed, 11 Jan 2012 10:35:11 +0000 (10:35 +0000)]
Add testcase for locals identified with FUNCTION::VAR syntax.

This test stops inside a recursive function after a few levels of recursion,
goes up some frames, and then accesses a local variable with 'print foo::val'
rather than the usual 'print val' to see if the former pays attention to the
selected frame.

2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
         Joel Brobecker <brobecker@adacore.com>

* gdb.base/recpar.c, gdb.base/recpar.exp: New files.

12 years agoHave block_innermost_frame start from selected frame and document.
hilfingr [Wed, 11 Jan 2012 10:34:19 +0000 (10:34 +0000)]
Have block_innermost_frame start from selected frame and document.

GDB used to search for the frame containing variables in a particular
lexical block starting from the current (top) frame, ignoring any
currently selected frame.  It is not clear why this is desirable for
variables that require a frame; why would a user deliberately select
one frame and then expect to see the value of a variable in a more
recent frame?  This change causes block_innermost_frame to start
looking from the selected frame, if there is one.  It may be
unnecessarily conservative: we use get_selected_frame_if_set rather
than get_selected_frame in order to avoid the side effect of calling
select_frame, which would probably be harmless.

Expression-parsing routines previously made the unwarranted assumption
that all block-qualified variables (written with the GDB extension
<block>::<variable>) are static.  As a result, they failed to update
innermost_block, which confused the watch commands about when
variables in watched expressions went out of scope, and also caused
the wrong variables to be watched.  This patch also modifies these
routines to treat all local variables the same whether or not they are
block-qualified.

Finally, we add a paragraph to the "Program Variables" section of the texinfo
documentation concerning the use of "::" for accessing non-static variables.

2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>

* gdb/blockframe.c (block_innermost_frame): Start search from selected
frame, if present, or otherwise the current frame.

* gdb/c-exp.y (variable): Update innermost_block for
'block COLONCOLON NAME' clause.
* gdb/m2-exp.y (variable): Ditto.
* gdb/objc-exp.y (variable): Ditto.

* gdb/doc/gdb.texinfo (Variables): Document use of :: for non-static
variables.

12 years agobfd/
amodra [Wed, 11 Jan 2012 09:28:44 +0000 (09:28 +0000)]
bfd/
* elf64-ppc.c: Define more insns used in plt call stubs.
(ppc64_elf_brtaken_reloc): Assume isa version 2 or above.
(ppc64_elf_relocate_section): Likewise.
(enum ppc_stub_type): Add ppc_stub_plt_call_r2save.
(struct ppc_link_hash_table): Increase size of stub_count array.
Add plt_stub_align and plt_thread_safe.
(ALWAYS_USE_FAKE_DEP, ALWAYS_EMIT_R2SAVE): Define.
(plt_stub_size, plt_stub_pad): New functions.
(build_plt_stub): Emit barriers for power7 thread safety.  Don't
emit needless save of r2.
(build_tls_get_addr_stub): Adjust params.
(ppc_build_one_stub): Handle ppc_stub_plt_call_r2save and aligning
plt stubs.  Adjust build_*plt_stub calls.
(ppc_size_one_stub): Similarly.
(ppc64_elf_size_stubs): Accept plt_thread_safe and plt_stub_align
params.  Choose default for plt_thread_safe based on existence of
calls to thread creation functions.  Modify plt_call to
plt_call_r2save when no tocsave reloc found.  Align tail of stub
sections.
(ppc64_elf_build_stubs): Align tail of stub sections.  Adjust
output of stub statistics.
(ppc64_elf_relocate_section): Handle ppc_stub_plt_call_r2save.
* elf64-ppc.h (ppc64_elf_size_stubs): Update prototype.
ld/
* emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
--{no-,}plt-align.
(plt_thread_safe, plt_stub_align): New vars.
(gld${EMULATION_NAME}_after_allocation): Pass them to
ppc64_elf_size_stubs.  Align stub sections according to plt_stub_align.
* ld.texinfo: Document new command line options, and an old
undocumented option.

12 years ago*** empty log message ***
gdbadmin [Wed, 11 Jan 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Tue, 10 Jan 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago PR python/13199:
tromey [Tue, 10 Jan 2012 21:26:38 +0000 (21:26 +0000)]
PR python/13199:
* python/python.c (finish_python_initialization): Set sys.argv.

12 years ago * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
devans [Tue, 10 Jan 2012 21:16:53 +0000 (21:16 +0000)]
* dwarf2read.c (dwarf_decode_lines): Remove arg "abfd".  New arg
"want_line_info".  All callers updated.
(dwarf_decode_lines_1): New function.
(handle_DW_AT_stmt_list): Add function comment.
New arg "want_line_info".  All callers updated.
(read_file_scope,read_type_unit_scope): Move comment from
handle_DW_AT_stmt_list to here.

12 years agoProperly handle R_X86_64_32 for x32
hjl [Tue, 10 Jan 2012 20:58:35 +0000 (20:58 +0000)]
Properly handle R_X86_64_32 for x32

2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* x86_64.cc (Scan::check_non_pic): Allow R_X86_64_32 for x32.
(Scan::local): Use R_X86_64_RELATIVE relocation for R_X86_64_32
under x32.

12 years agoRemove ABI_64_P check on R_X86_64_PCXX
hjl [Tue, 10 Jan 2012 20:18:14 +0000 (20:18 +0000)]
Remove ABI_64_P check on R_X86_64_PCXX

bfd/

2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13581
* elf64-x86-64.c (elf_x86_64_relocate_section): Remove ABI_64_P
check on R_X86_64_PCXX.

ld/testsuite/

2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13581
* ld-x86-64/ilp32-4.s: New.
* ld-x86-64/ilp32-10.d: Likewise.
* ld-x86-64/ilp32-10.s: Likewise.

* ld-x86-64/ilp32-4.d: Adjusted.
* ld-x86-64/ilp32-5.d: Likewise.
* ld-x86-64/ilp32-5.s: Likewise.

* ld-x86-64/x86-64.exp: Run ilp32-10.

12 years agogdb/
jkratoch [Tue, 10 Jan 2012 19:29:06 +0000 (19:29 +0000)]
gdb/
Fix regression after libiberty/ update for GCC PR 6057 and others.
* c-exp.y (operator) <OPERATOR DELETE>
(operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
* cp-name-parser.y (fill_comp, make_operator, make_dtor)
(make_builtin_type, make_name): New variable i, add gdb_assert.
(operator) <OPERATOR NEW>: Update ARGS to 3.
(operator) <OPERATOR DELETE>: Add trailing space.
(operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
(operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
* cp-support.c (cp_canonicalize_string): Check NULL from
cp_comp_to_string, call warning and return.

12 years agomerge from gcc
dj [Tue, 10 Jan 2012 18:15:31 +0000 (18:15 +0000)]
merge from gcc

12 years agogdb/
jkratoch [Tue, 10 Jan 2012 16:30:43 +0000 (16:30 +0000)]
gdb/
Fix duplicate .o files after omitting libbfd.a.
* Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
(SFILES): Add corelow.c.
(COMMON_OBS): Add corelow.o.
(ALLDEPFILES): Remove corelow.c.
* config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
* config/alpha/alpha-osf3.mh: Likewise.
* config/alpha/fbsd.mh: Likewise.
* config/arm/nbsdaout.mh: Likewise.
* config/arm/nbsdelf.mh: Likewise.
* config/i386/i386gnu.mh: Likewise.
* config/ia64/hpux.mh: Likewise.
* config/ia64/linux.mh: Likewise.
* config/m32r/linux.mh: Likewise.
* config/m68k/linux.mh: Likewise.
* config/mips/irix5.mh: Likewise.
* config/mips/irix6.mh: Likewise.
* config/pa/hpux.mh: Likewise.
* config/pa/linux.mh: Likewise.
* config/powerpc/aix.mh: Likewise.
* config/sparc/linux.mh: Likewise.
* config/sparc/linux64.mh: Likewise.
* config/sparc/sol2.mh: Likewise.
* config/vax/vax.mh: Likewise.
* configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
(alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
(am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
(arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
(hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
(i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
(i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
(i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
(m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
(microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
(mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
(powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
(powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
(sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
(sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
(sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
(sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
(vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
(x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
(x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
corelow.o from gdb_target_obs.
* corefile.c (core_target): Update the comment on NULL value.
(core_file_command): Replace error by gdb_assert on CORE_TARGET.
* corelow.c (sniff_core_bfd): Call error instead of warning on zero
MATCHES.  Drop YUMMY set on NULL.
(core_close): Do not call exit_inferior_silent on zero PID.  Do not
reclaim CORE_DATA if it is already NULL.

12 years agogdb/
jkratoch [Tue, 10 Jan 2012 16:30:34 +0000 (16:30 +0000)]
gdb/
Fix duplicate .o files after omitting libbfd.a.
* Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
(SFILES): Add corelow.c.
(COMMON_OBS): Add corelow.o.
(ALLDEPFILES): Remove corelow.c.
* config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
* config/alpha/alpha-osf3.mh: Likewise.
* config/alpha/fbsd.mh: Likewise.
* config/arm/nbsdaout.mh: Likewise.
* config/arm/nbsdelf.mh: Likewise.
* config/i386/i386gnu.mh: Likewise.
* config/ia64/hpux.mh: Likewise.
* config/ia64/linux.mh: Likewise.
* config/m32r/linux.mh: Likewise.
* config/m68k/linux.mh: Likewise.
* config/mips/irix5.mh: Likewise.
* config/mips/irix6.mh: Likewise.
* config/pa/hpux.mh: Likewise.
* config/pa/linux.mh: Likewise.
* config/powerpc/aix.mh: Likewise.
* config/sparc/linux.mh: Likewise.
* config/sparc/linux64.mh: Likewise.
* config/sparc/sol2.mh: Likewise.
* config/vax/vax.mh: Likewise.
* configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
(alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
(am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
(arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
(hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
(i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
(i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
(i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
(m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
(microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
(mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
(powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
(powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
(sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
(sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
(sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
(sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
(vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
(x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
(x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
corelow.o from gdb_target_obs.
* corefile.c (core_target): Update the comment on NULL value.
(core_file_command): Replace error by gdb_assert on CORE_TARGET.
* corelow.c (sniff_core_bfd): Call error instead of warning on zero
MATCHES.  Drop YUMMY set on NULL.
(core_close): Do not call exit_inferior_silent on zero PID.  Do not
reclaim CORE_DATA if it is already NULL.

12 years ago2012-01-10 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 10 Jan 2012 11:59:28 +0000 (11:59 +0000)]
2012-01-10  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false
warning.

12 years ago2012-01-10 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 10 Jan 2012 11:52:27 +0000 (11:52 +0000)]
2012-01-10  Tristan Gingold  <gingold@adacore.com>

* objdump.c (display_object_bfd): Renamed from ...
(display_bfd): ... this.
(display_any_bfd): New function.
(display_file): Split.  Handle nested archives.

12 years ago2012-01-10 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 10 Jan 2012 11:51:08 +0000 (11:51 +0000)]
2012-01-10  Tristan Gingold  <gingold@adacore.com>

* bfdio.c (bfd_tell): Handle nested archives.
(bfd_seek): Ditto.
* cache.c (bfd_cache_lookup_worker): Ditto.
* archive.c (_bfd_get_elt_at_filepos): Remove code dealing with
nested archives.
(bfd_generic_openr_next_archived_file): Likewise.

12 years ago2012-01-10 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 10 Jan 2012 11:48:26 +0000 (11:48 +0000)]
2012-01-10  Tristan Gingold  <gingold@adacore.com>

* struc-symbol.h (struct symbol_flags): New struct, created from...
(struct symbol): ... this one.  Add sy_flags field, remove flag fields.
(struct local_symbol): Replace lsy_marker field by lsy_flags.
Adjust comment.
(local_symbol_resolved_p): Adjust.
(local_symbol_mark_resolved): Likewise.
* symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
(local_symbol_make, local_symbol_convert, colon)
(symbol_clone_if_forward_ref, verify_symbol_chain)
(resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
(S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
(S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
(S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
(S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
(symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
(symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
(symbol_mark_mri_common, symbol_clear_mri_common)
(symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
(symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
(symbol_equated_reloc_p, dot_symbol_init)
(print_symbol_value_1): Adjust.

12 years agobinutils/
roland [Tue, 10 Jan 2012 00:02:44 +0000 (00:02 +0000)]
binutils/
* configure.in: Use AM_ZLIB.
* configure: Regenerated.

ld/
* configure.in: Use AM_ZLIB.
* configure: Regenerated.

12 years ago*** empty log message ***
gdbadmin [Tue, 10 Jan 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Mon, 9 Jan 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
yselkowitz [Mon, 9 Jan 2012 22:49:19 +0000 (22:49 +0000)]
* libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
Declare.

12 years ago * libc/include/complex.h: Fix "/*" within comment warning.
yselkowitz [Mon, 9 Jan 2012 22:46:33 +0000 (22:46 +0000)]
* libc/include/complex.h: Fix "/*" within comment warning.

12 years ago * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
devans [Mon, 9 Jan 2012 22:31:37 +0000 (22:31 +0000)]
* gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
* varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.

12 years ago * breakpoint.c (wrapper.h): Don't include.
kseitz [Mon, 9 Jan 2012 20:47:46 +0000 (20:47 +0000)]
* breakpoint.c (wrapper.h): Don't include.

12 years ago * Makefile.in (SFILES): Remove wrapper.c.
kseitz [Mon, 9 Jan 2012 20:27:41 +0000 (20:27 +0000)]
* Makefile.in (SFILES): Remove wrapper.c.
(HFILES_NO_SRCDIR): Remove wrapper.h.
(COMMON_OBS): Remove wrapper.o.
* cli/cli-interp.c: Don't inlude wrapper.h.
* corelow.c: Likewise.
(core_open): Replace gdb_target_find_new_threads with
TRY_CATCH around target_find_new_threads.
* eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
* gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
* varobj.c (varobj_create): Likewise for parse_exp_1 and
evaluate_expression.
(varobj_set_value): Likewise for evaluate_expression and
value_assign.
(install_new_variable): Likewise for value_fetch_lazy.
(adjust_value_for_child_access): Likewise for value_ind.
(c_describe_child): Likewise for value_subscript and
value_ind.
(c_value_of_root): Likewise for evaluate_expression.
* wrapper.c: Remove.
* wrapper.h: Remove.

12 years agoInitial x32 support in gold
hjl [Mon, 9 Jan 2012 17:42:34 +0000 (17:42 +0000)]
Initial x32 support in gold

2012-01-09  H.J. Lu  <hongjiu.lu@intel.com>

* x86_64.cc: Initial support for x32.

12 years ago * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
devans [Mon, 9 Jan 2012 17:40:04 +0000 (17:40 +0000)]
* dwarf2read.c (read_and_check_comp_unit_head): Renamed from
partial_read_comp_unit_head.  Replace "buffer", "buffer_size" and
"abfd" args with "section".  All callers updated.
Error checking code moved ...
(error_check_comp_unit_head): ... here.  New function.
(read_and_check_type_unit_head): Renamed from read_type_unit_head.
Delete arg "abfd".  New arg "type_offset".  All callers updated.
(create_debug_types_hash_table): Simplify by using
read_and_check_type_unit_head.

12 years ago * parser-defs.h (namecopy): Delete.
devans [Mon, 9 Jan 2012 17:27:15 +0000 (17:27 +0000)]
* parser-defs.h (namecopy): Delete.
* parse.c (namecopy, namecopy_size): Move into copy_name.

12 years ago * server.c (start_inferior): Set last_ptid in --wrapper case.
devans [Mon, 9 Jan 2012 17:17:50 +0000 (17:17 +0000)]
* server.c (start_inferior): Set last_ptid in --wrapper case.

12 years ago * libc/include/process.h: Remove Cygwin-only header.
corinna [Mon, 9 Jan 2012 17:06:19 +0000 (17:06 +0000)]
* libc/include/process.h: Remove Cygwin-only header.

12 years ago * include/cygwin/process.h: Move here from newlib.
corinna [Mon, 9 Jan 2012 17:03:33 +0000 (17:03 +0000)]
* include/cygwin/process.h: Move here from newlib.
* exec.cc: Change include of process.h to reflect the fact that it's
now in the include/cygwin subfolder.
* spawn.cc: Ditto.
* syscalls.cc: Ditto.

12 years agogdb/
jkratoch [Mon, 9 Jan 2012 15:21:07 +0000 (15:21 +0000)]
gdb/
Partially fix duplicate .o files after omitting libbfd.a.
* config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
* config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
* config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
* config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
* config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
* config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
* config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.

12 years ago * miscfuncs.cc (thread_wrapper): Make sure stack is 16 byte aligned
corinna [Mon, 9 Jan 2012 14:19:56 +0000 (14:19 +0000)]
* miscfuncs.cc (thread_wrapper): Make sure stack is 16 byte aligned
to make gcc-3 compiled pthread applications happy.

12 years agoadd symbol qualifiers for mach-o to bfd/gas
iains [Mon, 9 Jan 2012 10:47:45 +0000 (10:47 +0000)]
add symbol qualifiers for mach-o to bfd/gas

bfd:

* mach-o.c (bfd_mach_o_bfd_copy_private_symbol_data): Implement.
(bfd_mach_o_write_symtab): Remove handling for indirect syms.
(bfd_mach_o_primary_symbol_sort_key): Likewise.
(bfd_mach_o_cf_symbols): Likewise.
(bfd_mach_o_sort_symbol_table): Remove.
(bfd_mach_o_mangle_symbols): Adjust arguments, remove handling
for indirect and dysymtab counts.  Do the symbol sorting here.
(bfd_mach_o_build_dysymtab_command): Count the symbol types here.
Make the indirect symbols a TODO.
(bfd_mach_o_build_commands): Adjust call to bfd_mach_o_mangle_symbols.
(bfd_mach_o_make_empty_symbol): Specifically flag unset symbols with
a non-zero value.
(bfd_mach_o_read_symtab_symbol): Record the symbol index.
(bfd_mach_o_read_symtab_symbol): Adjust recording of global status.
* mach-o.h (mach_o_data_struct): Remove indirect and dysymtab entries.
(IS_MACHO_INDIRECT): Remove.
(SYM_MACHO_FIELDS_UNSET, SYM_MACHO_FIELDS_NOT_VALIDATED): New.

gas:

* config/obj-macho.c (obj_mach_o_weak): Remove.
(obj_mach_o_common_parse): Set symbol qualifiers.
(LAZY, REFE): New macros.
(obj_mach_o_symbol_type): New enum.
(obj_mach_o_set_symbol_qualifier): New.
(obj_mach_o_sym_qual): New.
(mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
a dummy function.
(obj_mach_o_type_for_symbol): New.
(obj_macho_frob_label): New.
(obj_macho_frob_symbol): New.
* config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
(obj_frob_label, obj_macho_frob_label): Declare.
(obj_frob_symbol, obj_macho_frob_symbol): Declare.

gas/testsuite:

* gas/mach-o/err-syms-1.s: New.
* gas/mach-o/err-syms-2.s: New.
* gas/mach-o/err-syms-3.s: New.
* gas/mach-o/symbols-2.d: New.
* gas/mach-o/symbols-2.s: New.
* gas/mach-o/symbols-3.s: New.
* gas/mach-o/symbols-4.s: New.
* gas/mach-o/symbols-5.d: New.
* gas/mach-o/symbols-5.s: New.

12 years ago2012-01-09 Pedro Alves <palves@redhat.com>
palves [Mon, 9 Jan 2012 10:07:26 +0000 (10:07 +0000)]
2012-01-09  Pedro Alves  <palves@redhat.com>

* MAINTAINERS: Update my email address.

12 years ago * Makefile.common (MINGW_LDFLAGS): Correctly use -L rather than -B here.
corinna [Mon, 9 Jan 2012 09:50:43 +0000 (09:50 +0000)]
* Makefile.common (MINGW_LDFLAGS): Correctly use -L rather than -B here.

12 years ago*** empty log message ***
gdbadmin [Mon, 9 Jan 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Sun, 8 Jan 2012 23:00:06 +0000 (23:00 +0000)]
daily update

12 years ago * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
devans [Sun, 8 Jan 2012 22:20:16 +0000 (22:20 +0000)]
* dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
n_type_units.  Rename type_comp_units to all_type_units.
All uses updated.
(add_signatured_type_cu_to_table): Renamed from
add_signatured_type_cu_to_list.  All callers updated.

12 years ago * gdbtypes.h (struct cplus_struct_type): Delete member
devans [Sun, 8 Jan 2012 21:02:39 +0000 (21:02 +0000)]
* gdbtypes.h (struct cplus_struct_type): Delete member
nfn_fields_total.  All uses removed.

12 years agogas/
rsandifo [Sun, 8 Jan 2012 12:33:53 +0000 (12:33 +0000)]
gas/
* config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.

gas/testsuite/
* gas/mips/tls-relw.s, gas/mips/tls-relw.d: New test.
* gas/mips/mips.exp: Run it.

12 years agogas/
rsandifo [Sun, 8 Jan 2012 12:11:39 +0000 (12:11 +0000)]
gas/
2011-01-08  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
    Richard Sandiford  <rdsandiford@googlemail.com>

* config/tc-mips.c (mips_move_labels): Take the list of labels and
textness as parameters.
(mips_move_text_labels): New function.
(append_insn): Use it instead of mips_move_labels.
(mips_emit_delays, start_noreorder): Likewise.
(mips_align): Take the labels rather than just one label.
Move all labels to after the .align.
(s_align): Change the last argument to mips_align.
(s_cons): Likewise.
(s_float_cons): Likewise.
(s_gpword): Likewise.
(s_gpdword): Likewise.

gas/testsuite/
* gas/mips/align3.s, gas/mips/align3.d: New testcase.
* gas/mips/mips.exp: Run it.

12 years ago* dtable.cc (dtable::stdio_init): Always initialize console when we have one.
cgf [Sun, 8 Jan 2012 06:24:15 +0000 (06:24 +0000)]
* dtable.cc (dtable::stdio_init): Always initialize console when we have one.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Use a better method to
print tty name for debugging.
(fhandler_termios::bg_check): Ditto.
* pinfo.cc (_pinfo::set_ctty): Remove leftover debugging stuff.  Simplify
behavior when setting tty's sid and pgid to avoid overwriting previously set
values.
* spawn.cc (ch_spawn): Cosmetic change.

12 years agoAdd my recent API additions.
yselkowitz [Sun, 8 Jan 2012 01:32:17 +0000 (01:32 +0000)]
Add my recent API additions.

12 years ago*** empty log message ***
gdbadmin [Sun, 8 Jan 2012 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Sat, 7 Jan 2012 23:00:06 +0000 (23:00 +0000)]
daily update