OSDN Git Service

pf3gnuchains/sourceware.git
13 years agoinclude/opcode/
rsandifo [Sat, 18 Dec 2010 20:28:25 +0000 (20:28 +0000)]
include/opcode/
* mips.h: Update commentary after last commit.

13 years agoinclude/opcode/
rsandifo [Sat, 18 Dec 2010 20:14:12 +0000 (20:14 +0000)]
include/opcode/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* mips.h (OP_*_OFFSET_A, OP_*_OFFSET_B, OP_*_OFFSET_C)
(OP_*_RZ, OP_*_FZ, INSN2_M_FP_D, INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z)
(INSN2_READ_GPR_Z, INSN2_READ_FPR_Z, INSN2_READ_GPR_D): Define.

opcodes/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* mips-opc.c (WR_z, WR_Z, RD_z, RD_Z, RD_d): Define.
(mips_builtin_opcodes): Add loongson3a specific instructions.
* mips-dis.c (print_insn_args): Handle the new arguments +a|b|c|z|Z.

gas/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* config/tc-mips.c (insn_uses_reg): Handle the new flags
INSN2_READ_FPR_Z, INSN2_READ_GPR_D and INSN2_READ_GPR_Z.
(append_insn): Handle delay-slot filling for the new flags.
(validate_mips_insn): Handle the new arguments +a|b|c|z|Z.
(mips_ip): Handle the new arguments +a|b|c|z|Z.

gas/testsuite/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* gas/mips/loongson-3a-2.s, gas/mips/loongson-3a-2.d,
gas/mips/loongson-3a-3.s, gas/mips/loongson-3a-3.d: New tests.
* gas/mips/mips.exp: Run them.

13 years ago* config/rx-parse.y (SUB): Correct subtraction of immediate
dj [Sat, 18 Dec 2010 14:40:45 +0000 (14:40 +0000)]
* config/rx-parse.y (SUB): Correct subtraction of immediate
pattern.

13 years ago * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior.
marckhouzam [Sat, 18 Dec 2010 11:10:04 +0000 (11:10 +0000)]
* mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior.
(get_other_inferior): New.

13 years ago * python/py-progspace.c (py_free_pspace): Obtain arch another
marckhouzam [Sat, 18 Dec 2010 11:08:42 +0000 (11:08 +0000)]
* python/py-progspace.c (py_free_pspace): Obtain arch another
way to avoid dereferencing a null pointer.

13 years ago2010-12-17 Michael Snyder <msnyder@vmware.com>
msnyder [Sat, 18 Dec 2010 09:11:44 +0000 (09:11 +0000)]
2010-12-17  Michael Snyder  <msnyder@vmware.com>

* utils.c (do_my_cleanups): Comment fix-up.

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

13 years agodaily update
amodra [Sat, 18 Dec 2010 08:00:06 +0000 (08:00 +0000)]
daily update

13 years ago2010-12-18 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Sat, 18 Dec 2010 07:09:16 +0000 (07:09 +0000)]
2010-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Remove the GPL for fr30 target.

13 years ago * mips-tdep.c (make_mips16_addr): New function.
kevinb [Sat, 18 Dec 2010 06:39:26 +0000 (06:39 +0000)]
* mips-tdep.c (make_mips16_addr): New function.
(mips_elf_make_msymbol_special): Don't set the low bit in the
symbol's address.
(mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit
indicating mips16 address, if present.
(mips_write_pc): Set bit indicating mips16 address when in a mips16
function.
(mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise,
but for each function pointer argument to inferior function call.

13 years ago * psympriv.h (struct partial_symtab) <readin>: Move field
tromey [Sat, 18 Dec 2010 02:19:33 +0000 (02:19 +0000)]
* psympriv.h (struct partial_symtab) <readin>: Move field
earlier.

13 years agoRemove GPL licencsing
nickc [Fri, 17 Dec 2010 19:13:31 +0000 (19:13 +0000)]
Remove GPL licencsing

13 years ago* reloc.c (BFD_RELOC_RX_ABS16_REV): Add.
dj [Fri, 17 Dec 2010 13:16:55 +0000 (13:16 +0000)]
* reloc.c (BFD_RELOC_RX_ABS16_REV): Add.
(BFD_RELOC_RX_ABS32_REV): Add.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf32-rx.c (rx_reloc_map): Add them.

* config/tc-rx.c (rx_validate_fix_sub): Permit subtraction in more
cases.
(tc_gen_reloc): Fix handling of subtraction (esp wrt endianness).

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

13 years agodaily update
amodra [Fri, 17 Dec 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years ago * mips-tdep.c (mips_convert_register_float_case_p)
kevinb [Fri, 17 Dec 2010 07:50:46 +0000 (07:50 +0000)]
* mips-tdep.c (mips_convert_register_float_case_p)
(mips_convert_register_gpreg_case_p): New functions.
(mips_convert_register_p): Invoke new functions above.
(mips_register_to_value): Add case for fetching value shorter
than 64 bits from a 64-bit register.
(mips_value_to_register): Add case for storing value shorter
than 64 bits into a 64-bit register.

13 years ago2010-12-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 17 Dec 2010 06:58:38 +0000 (06:58 +0000)]
2010-12-16  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.19.0 info.
        * README: Ditto.
        * MAINTAINERS: Update.
        * acinclude.m4: Change version number to 1.19.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.am: Fix stmp-targ-include target.
        * Makefile.in: Regenerated.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.19

13 years ago * symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label
macro [Fri, 17 Dec 2010 03:48:28 +0000 (03:48 +0000)]
* symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label
for new fake labels created off the dot special symbol.
* config/tc-mips.h (tc_new_dot_label): New macro.
(mips_record_label): New prototype.
* config/tc-mips.c (my_getExpression): Remove MIPS16 fake label
annotation.
(s_cons, s_float_cons, s_gpword, s_gpdword): Only clear labels
recorded once data expressions have been evaluated.
(mips_define_label): Move code to record labels over to...
(mips_record_label): ... this new function.
* doc/internals.texi: Document tc_new_dot_label.

13 years agogold: fix testsuite dependencies.
rwild [Fri, 17 Dec 2010 03:28:43 +0000 (03:28 +0000)]
gold: fix testsuite dependencies.

gold/:
* testsuite/Makefile.am (ifuncmain2static_LDADD)
(ifuncmain2_LDADD, ifuncmain4static_LDADD, ifuncmain4_LDADD)
(ifuncmain7static_LDADD, ifuncmain7_LDADD): New empty variables,
to avoid unneeded links against $(LDADD).
* testsuite/Makefile.in: Regenerate.

13 years ago2010-12-16 Joel Borggrén-Franck <joel.borggren.franck@gmail.com>
tromey [Fri, 17 Dec 2010 02:40:21 +0000 (02:40 +0000)]
2010-12-16  Joel Borggrén-Franck  <joel.borggren.franck@gmail.com>

* python/py-value.c (value_object_type) <tp_flags>: Add
Py_TPFLAGS_BASETYPE.

13 years agoNEWS: Mention new sim --map-info flag.
vapier [Thu, 16 Dec 2010 22:05:28 +0000 (22:05 +0000)]
NEWS: Mention new sim --map-info flag.

13 years ago * security.cc (alloc_sd): Really fix erroneous inheritence entry
corinna [Thu, 16 Dec 2010 19:31:08 +0000 (19:31 +0000)]
* security.cc (alloc_sd): Really fix erroneous inheritence entry
duplication now.  Add more comments for clarity.

13 years ago * dwarf2read.c (_initialize_dwarf2_read): Fix help text of
devans [Thu, 16 Dec 2010 10:42:40 +0000 (10:42 +0000)]
* dwarf2read.c (_initialize_dwarf2_read): Fix help text of
"save gdb-index" command.

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

13 years agodaily update
amodra [Thu, 16 Dec 2010 08:00:06 +0000 (08:00 +0000)]
daily update

13 years agogdb
tromey [Thu, 16 Dec 2010 06:19:50 +0000 (06:19 +0000)]
gdb
* infrun.c (save_infcall_control_state): Handle the
exception-resume breakpoint.
(restore_infcall_control_state): Likewise.
(discard_infcall_control_state): Likewise.
gdb/testsuite
2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.cp/nextoverthrow.cc (dummy): Return int 0.
(NextOverThrowDerivates) <resumebpt>: New.
(resumebpt_test): New.
(main): Call resumebpt_test.
* gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".

13 years ago * mips-tdep.c (mips_pseudo_register_write): Sign extend 32-bit
kevinb [Thu, 16 Dec 2010 05:53:06 +0000 (05:53 +0000)]
* mips-tdep.c (mips_pseudo_register_write): Sign extend 32-bit
cooked values that are being transferred to 64-bit raw registers.
(mips_pseudo_register_read): Revise to preserve symmetry with
mips_pseudo_register_write().

13 years ago2010-12-15 Greg Watson <g.watson@computer.org>
tromey [Thu, 16 Dec 2010 04:28:30 +0000 (04:28 +0000)]
2010-12-15  Greg Watson  <g.watson@computer.org>

* f-exp.y (yylex): Check entire token against keywords.

13 years ago Rename "maint set python auto-load" to "set auto-load-scripts".
devans [Thu, 16 Dec 2010 02:27:56 +0000 (02:27 +0000)]
Rename "maint set python auto-load" to "set auto-load-scripts".
* NEWS: Mention it.
* python/py-auto-load.c (auto_load_scripts): Renamed from
gdbpy_auto_load.
(load_auto_scripts_for_objfile): Update.
(gdbpy_initialize_auto_load): Rename "maint set python auto-load" to
"set auto-load-scripts".

doc/
* gdb.texinfo (Startup): Document auto-loading of scripts during
startup.
(Auto-loading): Delete "maint set python auto-load on|off".
Add "set auto-load-scripts on|off".

13 years ago PR gold/12324
ian [Thu, 16 Dec 2010 00:35:27 +0000 (00:35 +0000)]
PR gold/12324
* x86_64.cc (Target_x86_64::Scan::check_non_pic): Give an error
for R_X86_64_32 and R_X86_64_PC32.
* testsuite/Makefile.am (ver_matching_def.so): Depend on and use
ver_matching_def_pic.o.
(ver_matching_def_pic.o): New target.

13 years agoAdd SORT_BY_INIT_PRIORITY.
hjl [Wed, 15 Dec 2010 23:56:35 +0000 (23:56 +0000)]
Add SORT_BY_INIT_PRIORITY.

bfd/

2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (_bfd_elf_new_section_hook): Special handling for
.init_array/.fini_array output sections.

ld/

2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (GENSCRIPTS): Add @enable_initfini_array@.

* NEWS: Mention SORT_BY_INIT_PRIORITY.

* configure.in: Add AC_CANONICAL_BUILD.
Add --enable-initfini-array.

* genscripts.sh (ENABLE_INITFINI_ARRAY): New.

* ld.h (sort_type): Add by_init_priority.

* ld.texinfo: Document SORT_BY_INIT_PRIORITY.

* ldgram.y (SORT_BY_INIT_PRIORITY): New.
(wildcard_spec): Handle SORT_BY_INIT_PRIORITY.

* ldlang.c (get_init_priority): New.
(compare_section): Use get_init_priority for by_init_priority.

* ldlex.l (SORT_BY_INIT_PRIORITY): New.

* scripttempl/elf.sc: Support ENABLE_INITFINI_ARRAY.

* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* config.in: Likewise.
* configure: Likewise.

ld/testsuite/

2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/elf.exp (array_tests): Add init-mixed.
(array_tests_static): Likewise.
Also delete tmpdir/init-mixed.

* ld-elf/init-mixed.c: New.
* ld-elf/init-mixed.out: Likewise.

13 years ago * sec_acl.cc (getacl): Ensure that the default acl contains at least
corinna [Wed, 15 Dec 2010 23:11:03 +0000 (23:11 +0000)]
* sec_acl.cc (getacl): Ensure that the default acl contains at least
DEF_(USER|GROUP|OTHER)_OBJ entries.

13 years ago * security.cc (alloc_sd): Fix erroneous inheritence entry duplication.
corinna [Wed, 15 Dec 2010 22:56:30 +0000 (22:56 +0000)]
* security.cc (alloc_sd): Fix erroneous inheritence entry duplication.

13 years agosim: add --map-info option
vapier [Wed, 15 Dec 2010 20:50:46 +0000 (20:50 +0000)]
sim: add --map-info option

There are options for listing the current device/hw tree and memory
regions, but no way to find out at run time all the current mappings.
So add a new --map-info option akin to the --memory-info option which
displays all the current mappings.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago2010-12-15 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 15 Dec 2010 17:45:59 +0000 (17:45 +0000)]
2010-12-15  Kai Tietz  <kai.tietz@onevision.com>

        * dwarf.c (display_gdb_index): Fix printf types for
        used formatters.

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

13 years ago(decode_opcode): RXO_branchrel is relative to the opcode's PC, not
dj [Wed, 15 Dec 2010 08:39:03 +0000 (08:39 +0000)]
(decode_opcode): RXO_branchrel is relative to the opcode's PC, not
the address following the opcode.

13 years ago* rx.c (decode_opcode): For "MVFC PC,", use the address of the
dj [Wed, 15 Dec 2010 08:12:20 +0000 (08:12 +0000)]
* rx.c (decode_opcode): For "MVFC PC,", use the address of the
opcode, not the address following the opcode.

13 years agodaily update
amodra [Wed, 15 Dec 2010 08:00:08 +0000 (08:00 +0000)]
daily update

13 years ago2010-12-14 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 15 Dec 2010 07:35:27 +0000 (07:35 +0000)]
2010-12-14  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add support to copy all sub-directories of the
        sys/SYS_DIR/include directory, if they contain header files.
        * Makefile.in: Regenerated.

13 years agogold: fix race in FileRead::~View.
rwild [Wed, 15 Dec 2010 06:33:26 +0000 (06:33 +0000)]
gold: fix race in FileRead::~View.

gold/:
* fileread.cc (file_counts_lock, file_counts_initialize_lock)
(total_mapped_bytes, current_mapped_bytes, maximum_mapped_bytes):
Move definition before File_read::View member definitions.
(File_read::View::~View): Initialize and hold lock before
updating current_mapped_bytes.

13 years ago * mips-tdep.c (mips_eabi_push_dummy_call): Place signed, rather
kevinb [Wed, 15 Dec 2010 06:07:48 +0000 (06:07 +0000)]
* mips-tdep.c (mips_eabi_push_dummy_call): Place signed, rather
than unsigned, values in registers.

13 years agoFix typos in gold.
rwild [Wed, 15 Dec 2010 04:03:29 +0000 (04:03 +0000)]
Fix typos in gold.

gold/:
* dwarf_reader.cc: Remove outdated comment.
* gold-threads.cc: Fix typo in error message.
* archive.cc: Fix typos in comments.
* archive.h: Likewise.
* arm-reloc-property.cc: Likewise.
* arm-reloc-property.h: Likewise.
* arm-reloc.def: Likewise.
* arm.cc: Likewise.
* attributes.h: Likewise.
* cref.cc: Likewise.
* ehframe.cc: Likewise.
* fileread.h: Likewise.
* gold.h: Likewise.
* i386.cc: Likewise.
* icf.cc: Likewise.
* incremental.h: Likewise.
* int_encoding.cc: Likewise.
* layout.h: Likewise.
* main.cc: Likewise.
* merge.h: Likewise.
* object.cc: Likewise.
* object.h: Likewise.
* options.cc: Likewise.
* readsyms.cc: Likewise.
* reduced_debug_output.cc: Likewise.
* reloc.cc: Likewise.
* script-sections.cc: Likewise.
* sparc.cc: Likewise.
* symtab.h: Likewise.
* target-reloc.h: Likewise.
* target.cc: Likewise.
* target.h: Likewise.
* timer.cc: Likewise.
* timer.h: Likewise.
* x86_64.cc: Likewise.

13 years agoMove gdb ChangeLog entry to gdb/ChangeLog.
hjl [Tue, 14 Dec 2010 23:50:41 +0000 (23:50 +0000)]
Move gdb ChangeLog entry to gdb/ChangeLog.

13 years agogdb:
kwerner [Tue, 14 Dec 2010 19:23:40 +0000 (19:23 +0000)]
gdb:
* valops.c (value_one): Use get_array_bounds to compute the number
of array elements instead of dividing the length of the array by the
length of the element types.
* valarith.c (value_complement, value_neg): Likewise.

13 years agobuild failure on IRIX when building with Python support.
brobecke [Tue, 14 Dec 2010 16:17:11 +0000 (16:17 +0000)]
build failure on IRIX when building with Python support.

This is a nasty interaction between Python and GDB. Basically,
Python causes some macros to be unilaterally defined in order
to turns some features on:

    /* Define to activate features from IEEE Stds 1003.1-2001 */
    #define _POSIX_C_SOURCE 200112L

    /* Define to the level of X/Open that your system supports */
    #define _XOPEN_SOURCE 600

But the problem is that they turn off defines provided by some
system headers on which we depend. Namely:

  * sys/siginfo.h:

        #if _SGIAPI
        #define siginfo __siginfo
        #endif

  * sys/ucontext.h:

        #if _SGIAPI && !defined(__SGI_NOUCONTEXT_COMPAT)
        [...]
        #define fp_r            __fp_r
        [...]
        #define fp_csr          __fp_csr
        [...]
        #endif

The important macro here is _SGIAPI, defined as follow in standards.h:

        #define _SGIAPI ((defined(_SGI_SOURCE) && \
                                _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5) || \
                        (_ANSIMODE && _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5))

If one builds GDB without Python, then _SGIAPI is true, and all is fine.
But building with Python causes both _POSIX_C_SOURCE and _XOPEN_SOURCE
to trip all the _NO_[...] tests (_NO_POSIX, _NO_XOPEN4, _NO_XOPEN5).
And so we get build failures because we try to use undefined types, or
non-existent component names inside the regset structure.

The latter problem is observed only within irix5-nat.c, which means
that it is specific to IRIX.  So it's easy to write the code in a way
that it does not require the macros (just use the real component names,
rather than relying on the macros to do the translation).

The former, on the other hand, is a little trickier, because the problem
occurs inside a generic unit (procfs.c). The solution I chose was to
adjust the configure script to add -Dsiginfo=__siginfo to the CPPFLAGS
if building with python using GCC on IRIX.

We hadn't seen this sort of issue up to now because the affect units
have not been dependent on the python includes up to now.  Recent changes
have made them indirectly dependent on Python, thus triggering the issues.

gdb/ChangeLog:

        * irix5-nat.c: Replace fp_r, fp_regs and fp_scr by __fp_r, __fp_regs
        and __fp_scr respectively throughout.
        * configure.ac: Compile with -Dsiginfo=__siginfo if building with
        Python using GCC on IRIX.
        * configure: Regenerate.

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

13 years agodaily update
amodra [Tue, 14 Dec 2010 08:00:06 +0000 (08:00 +0000)]
daily update

13 years ago * solib-svr4.c (enable_break): Don't attempt to place breakpoints,
kevinb [Tue, 14 Dec 2010 00:45:53 +0000 (00:45 +0000)]
* solib-svr4.c (enable_break): Don't attempt to place breakpoints,
when attaching, on the names in bkpt_names: _start, __start, and
main.

13 years ago2010-12-12 Stan Shebs <stan@codesourcery.com>
shebs [Mon, 13 Dec 2010 14:29:29 +0000 (14:29 +0000)]
2010-12-12  Stan Shebs  <stan@codesourcery.com>

* value.c (value_of_internalvar): Add case for trace state
variables.

* gdb.trace/tsv.exp: Test print command on trace state variables.

13 years ago * ldlang.c (load_symbols): Correct last change.
amodra [Mon, 13 Dec 2010 10:06:34 +0000 (10:06 +0000)]
* ldlang.c (load_symbols): Correct last change.

13 years ago * aoutx.h (aout_link_check_ar_symbols): Formatting.
amodra [Mon, 13 Dec 2010 10:06:13 +0000 (10:06 +0000)]
* aoutx.h (aout_link_check_ar_symbols): Formatting.
* cofflink.c (coff_link_check_ar_symbols): Likewise.
* elflink.c (elf_link_add_archive_symbols): Likewise.
* pdp11.c (aout_link_check_ar_symbols): Likewise.
* xcofflink.c (xcoff_link_check_dynamic_ar_symbols,
xcoff_link_check_dynamic_ar_symbols): Likewise.

* aoutx.h (aout_link_check_archive_element): Simplify code dealing
with add_archive_element substitute BFD.
* cofflink.c (coff_link_check_archive_element): Likewise.
* ecoff.c (ecoff_link_check_archive_element): Likewise.
(ecoff_link_add_archive_symbols): Likewise.
* linker.c (generic_link_check_archive_element): Likewise.
* pdp11.c (aout_link_check_archive_element): Likewise.
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Likewise.
* xcofflink.c (xcoff_link_check_archive_element): Likewise.

* aoutx.h (aout_link_check_archive_element): Free symbols from old
bfd if !keep_memory.
* cofflink.c (coff_link_check_archive_element): Likewise.
* pdp11.c (aout_link_check_archive_element): Likewise.
* xcofflink.c (xcoff_link_check_archive_element): Likewise.

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

13 years ago * plugin.c (bfd_plugin_mkobject): Delete.
amodra [Mon, 13 Dec 2010 08:50:46 +0000 (08:50 +0000)]
* plugin.c (bfd_plugin_mkobject): Delete.
(plugin_vec): Use bfd_false instead.

13 years agodaily update
amodra [Mon, 13 Dec 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years ago * dwarf2read.c (dwarf2_per_objfile): New member quick_file_names_table.
devans [Mon, 13 Dec 2010 04:19:27 +0000 (04:19 +0000)]
* dwarf2read.c (dwarf2_per_objfile): New member quick_file_names_table.
(dwarf2_per_cu_quick_data): Move definition down to "quick functions"
section.  Delete members lines full_names.  Rename read_lines to
no_file_data.
(quick_file_names): New struct.
(hash_file_name_entry, eq_file_name_entry): New functions.
(delete_file_name_entry, create_quick_file_names_table): New functions.
(dwarf2_read_index): Initialize quick_file_names_table.
(dw2_get_file_names): Renamed from dw2_require_line_header.
Return pointer to quick_file_names entry.  All callers updated.
(dw2_get_real_path): Renamed from dw2_require_full_path.
Replace per_cu arg with pointer to quick_file_names entry.
All callers updated.
(dw2_free_cached_file_names): New function.
(dw2_forget_cached_source_info): Call it (via htab_traverse_noresize).
(dwarf2_initialize_objfile): Initialize quick_file_names_table in
the OBJF_READNOW case.
(dwarf2_free_objfile): Rewrite freeing of quick file names tables.

13 years agoFix mail addres in ChangeLog.
kettenis [Mon, 13 Dec 2010 04:06:21 +0000 (04:06 +0000)]
Fix mail addres in ChangeLog.

13 years ago* mips64obsd-tdep.c (floatformats_mips64_quad): New define.
kettenis [Mon, 13 Dec 2010 03:23:25 +0000 (03:23 +0000)]
* mips64obsd-tdep.c (floatformats_mips64_quad): New define.
(mips64obsd_init_abi): Set long_double_bit and long_double_format.

13 years ago* sparc-tdep.c: Fix typo in comment.
kettenis [Mon, 13 Dec 2010 02:41:17 +0000 (02:41 +0000)]
* sparc-tdep.c: Fix typo in comment.

13 years ago * syscalls.cc (check_dir_not_empty): Never count more than 3 directory
corinna [Mon, 13 Dec 2010 00:32:45 +0000 (00:32 +0000)]
* syscalls.cc (check_dir_not_empty): Never count more than 3 directory
entries.

13 years agoFix typos in elfedit documentation.
hjl [Mon, 13 Dec 2010 00:29:31 +0000 (00:29 +0000)]
Fix typos in elfedit documentation.

2010-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

PR binutils/12306
* doc/binutils.texi: Fix typos in elfedit documentation.

13 years agoOptimize for add_archive_element.
hjl [Sun, 12 Dec 2010 23:52:26 +0000 (23:52 +0000)]
Optimize for add_archive_element.

bfd/

2010-12-12  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_add_archive_symbols): Remove subsbfd.

ld/

2010-12-12  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (load_symbols): Optimize for add_archive_element.

13 years agoMark .gnu.lto_* sections with SHF_EXCLUDE.
hjl [Sun, 12 Dec 2010 23:49:24 +0000 (23:49 +0000)]
Mark .gnu.lto_* sections with SHF_EXCLUDE.

bfd/

2010-12-12  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (special_sections_g): Add ".gnu.lto_".

gas/testsuite/

2010-12-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/elf.exp: Run section9.

* gas/elf/section9.d: New.
* gas/elf/section9.s: Likewise.

13 years ago* init.cc (search_for): Put this in shared section or suffer subtle problems
cgf [Sun, 12 Dec 2010 14:48:28 +0000 (14:48 +0000)]
* init.cc (search_for): Put this in shared section or suffer subtle problems
with the tls.
* pinfo.cc (status_exit): Add debug output to report on unexpected exit.
* tls_pbuf.cc (tmp_pathbuf::c_get): Add more details to internal error.

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

13 years agodaily update
amodra [Sun, 12 Dec 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years ago * setfacl.c (strchrnul): New function.
corinna [Sun, 12 Dec 2010 05:47:01 +0000 (05:47 +0000)]
* setfacl.c (strchrnul): New function.
(getaclentry): Rewrite.

13 years ago * ld-elfvers/vers25a.dsym: Really include _? in match.
amodra [Sat, 11 Dec 2010 21:58:36 +0000 (21:58 +0000)]
* ld-elfvers/vers25a.dsym: Really include _? in match.

13 years agoopcodes/
rsandifo [Sat, 11 Dec 2010 19:48:54 +0000 (19:48 +0000)]
opcodes/
2010-12-03 Mingming Sun <mingm.sun@gmail.com>

* mips-opc.c: (mips_builtin_opcodes): Add loongson3a mul/div and
fixed point instructions.

gas/testsuite/
2010-12-03 Mingming Sun <mingm.sun@gmail.com>

* gas/mips/loongson-3a.s, gas/mips/loongson-3a.d: New test.
* gas/mips/mips.exp: Run it.

13 years ago*** empty log message ***
gdbadmin [Sat, 11 Dec 2010 09:01:03 +0000 (09:01 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sat, 11 Dec 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years ago * dwarf2read.c: Whitespace cleanup, plus comment additions.
devans [Sat, 11 Dec 2010 06:59:59 +0000 (06:59 +0000)]
* dwarf2read.c: Whitespace cleanup, plus comment additions.
No code changes.

13 years ago * NEWS: Document exception-handling change.
tromey [Sat, 11 Dec 2010 05:33:43 +0000 (05:33 +0000)]
* NEWS: Document exception-handling change.

13 years ago PR bootstrap/46819
ian [Fri, 10 Dec 2010 23:50:10 +0000 (23:50 +0000)]
PR bootstrap/46819
* configure.ac: For --disable-libgcj clear libgcj_saved.
* configure: Rebuild.

13 years ago * config/tc-mips.h (TC_ADDRESS_BYTES): New macro.
macro [Fri, 10 Dec 2010 23:25:04 +0000 (23:25 +0000)]
* config/tc-mips.h (TC_ADDRESS_BYTES): New macro.
(mips_address_bytes): New prototype.
* config/tc-mips.c (mips_address_bytes): New function.

13 years ago2010-12-10 Tobias Burnus <burnus@net-b.de>
bonzini [Fri, 10 Dec 2010 21:09:34 +0000 (21:09 +0000)]
2010-12-10  Tobias Burnus  <burnus@net-b.de>

PR fortran/46540
* configure.ac: Add --disable-libquadmath and
--disable-libquadmath-support.

13 years ago * cyglsa-config: Unset GREP_OPTIONS when calling grep.
corinna [Fri, 10 Dec 2010 19:14:35 +0000 (19:14 +0000)]
* cyglsa-config: Unset GREP_OPTIONS when calling grep.

13 years ago2010-12-10 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 10 Dec 2010 18:10:49 +0000 (18:10 +0000)]
2010-12-10  Tristan Gingold  <gingold@adacore.com>

        * src-release (ETC_SUPPORT): add gnu-oids.texi

13 years ago * binemul.h (do_ar_emul_append): Declare.
amodra [Fri, 10 Dec 2010 17:51:42 +0000 (17:51 +0000)]
* binemul.h (do_ar_emul_append): Declare.
* binemul.c (any_ok): New function.
(do_ar_emul_append): Rename from do_ar_emul_default_append.  Make
global, add check arg.  Adjust callers.
(ar_emul_default_replace): Tidy.
* configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use
bin_aix_emulation.
* emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete.
(ar_emul_aix5_append, ar_emul_aix5_replace): Delete.
(check_aix): New function.
(ar_emul_aix_append, ar_emul_aix_replace): Rewrite.

13 years agold: elfvers tests: support symbol prefixed targets
vapier [Fri, 10 Dec 2010 15:08:10 +0000 (15:08 +0000)]
ld: elfvers tests: support symbol prefixed targets

The symbol versioning tests mix C-visible symbols and linker-visible
symbols in order to verify .symver behavior.  This works for most
people, but fail for targets that have a symbol prefix.  So add a
helper file with macros that expand gcc's __USER_LABEL_PREFIX__ as
necessary and convert all .symver users over to it.

Now that the tests are usable on prefixed targets, update the tests
to take into account an optional leading underscore.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago * config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*.
amodra [Fri, 10 Dec 2010 10:03:12 +0000 (10: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 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

13 years ago * config/tc-mips.c (mips_ip): Remove dead format specifier code.
macro [Fri, 10 Dec 2010 08:59:11 +0000 (08:59 +0000)]
* config/tc-mips.c (mips_ip): Remove dead format specifier code.

13 years ago gas/
macro [Fri, 10 Dec 2010 08:57:21 +0000 (08: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)
macro [Fri, 10 Dec 2010 08:46:06 +0000 (08: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
macro [Fri, 10 Dec 2010 08:43:31 +0000 (08: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
macro [Fri, 10 Dec 2010 08:39:46 +0000 (08: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/
macro [Fri, 10 Dec 2010 08:33:23 +0000 (08: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
macro [Fri, 10 Dec 2010 08:21:50 +0000 (08: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
ccoutant [Fri, 10 Dec 2010 08:19:50 +0000 (08: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 '-'
macro [Fri, 10 Dec 2010 08:19:22 +0000 (08:19 +0000)]
* config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'
as a base register specifier.

13 years agodaily update
amodra [Fri, 10 Dec 2010 08:00:08 +0000 (08:00 +0000)]
daily update

13 years ago * config/tc-mips.c (macro) <M_S_DOB>: Fix the placement of code.
macro [Fri, 10 Dec 2010 07:56:46 +0000 (07: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
macro [Fri, 10 Dec 2010 07:52:54 +0000 (07: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)
macro [Fri, 10 Dec 2010 07:45:12 +0000 (07: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
macro [Fri, 10 Dec 2010 07:29:17 +0000 (07: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
macro [Fri, 10 Dec 2010 07:17:26 +0000 (07: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
macro [Fri, 10 Dec 2010 07:09:40 +0000 (07: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/
macro [Fri, 10 Dec 2010 07:04:41 +0000 (07: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 agofix typo
cgf [Fri, 10 Dec 2010 06:44:22 +0000 (06:44 +0000)]
fix typo