platform/upstream/binutils.git
16 years agoppc e500mc support
Alan Modra [Mon, 14 Apr 2008 11:01:38 +0000 (11:01 +0000)]
ppc e500mc support

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 14 Apr 2008 09:28:35 +0000 (09:28 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years agodaily update
Alan Modra [Mon, 14 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Mon, 14 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago Fix @-varobjs.
Vladimir Prus [Sun, 13 Apr 2008 09:33:49 +0000 (09:33 +0000)]
Fix @-varobjs.
        * varobj.c (value_of_root): Update the expression for
        floating varobjs.
        * mi/mi-cmd-var.c (varobj_update_one): If type has changed,
        report that.

16 years agodaily update
Alan Modra [Sun, 13 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 13 Apr 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * Makefile.tpl <gcc>: Error early unless at least GNU make 3.80.
Hans-Peter Nilsson [Sat, 12 Apr 2008 18:53:52 +0000 (18:53 +0000)]
* Makefile.tpl <gcc>: Error early unless at least GNU make 3.80.
* Makefile.in: Regenerate.

16 years ago*** empty log message ***
gdbadmin [Sat, 12 Apr 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * i386.cc (Target_i386::got_mod_index_entry): Restore code previously
Cary Coutant [Fri, 11 Apr 2008 23:37:24 +0000 (23:37 +0000)]
* i386.cc (Target_i386::got_mod_index_entry): Restore code previously
thought unnecessary.
* x86_64.cc (Target_x86_64::got_mod_index_entry): Likewise.

16 years ago * output.h (class Output_section_data): Remove inline definition
Ian Lance Taylor [Fri, 11 Apr 2008 22:55:13 +0000 (22:55 +0000)]
* output.h (class Output_section_data): Remove inline definition
of set_addralign.
* output.cc (Output_section_data::set_addralign): New function.

16 years ago2008-04-11 Cary Coutant <ccoutant@google.com>
Cary Coutant [Fri, 11 Apr 2008 21:24:30 +0000 (21:24 +0000)]
2008-04-11  Cary Coutant  <ccoutant@google.com>

Add support for TLS descriptors for i386 and x86_64.
* i386.cc (Target_i386::Relocate::tls_desc_gd_to_ie): New function.
(Target_i386::Relocate::tls_desc_gd_to_le): New function.
(Target_i386::Got_type): Add GOT_TYPE_TLS_NOFFSET and
GOT_TYPE_TLS_DESC.
(Target_i386::got_mod_index_entry): Remove unnecessary code.
(Target_i386::Scan::local): Implement R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL relocations.  Fix problem with initial-exec
relocations.
(Target_i386::Scan::global): Fix problem with GD-to-IE relaxation.
Implement R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL relocations;
Fix problem with initial-exec relocations.
(Target_i386::Relocate::relocate_tls): Likewise.
(Target_i386::Relocate::tls_gd_to_ie): Fix problem with GD-to-IE
relaxation.
* output.cc (Output_data_dynamic::Dynamic_entry::write): Add
support for section-plus-offset dynamic table entries.
* output.h (Output_data_dynamic::add_section_plus_offset): New function.
(Output_data_dynamic::Dynamic_entry): Add support for
section-plus-offset dynamic table entries.
(Output_data_dynamic::Classification): Likewise.
(Output_data_dynamic::classification_): Renamed offset_.
* x86_64.cc (Target_x86_64::Relocate::tls_desc_gd_to_ie): New function.
(Target_x86_64::Relocate::tls_desc_gd_to_le): New function.
(Target_x86_64::make_plt_section): New function.
(Target_x86_64::reserve_tlsdesc_entries): New function.
(Output_data_plt_x86_64::Output_data_plt_x86_64): Add new parameter.
(Output_data_plt_x86_64::reserve_tlsdesc_entry): New function.
(Output_data_plt_x86_64::has_tlsdesc_entry): New function.
(Output_data_plt_x86_64::get_tlsdesc_got_offset): New function.
(Output_data_plt_x86_64::get_tlsdesc_plt_offset): New function.
(Output_data_plt_x86_64::tlsdesc_plt_entry): New field.
(Output_data_plt_x86_64::set_final_data_size): Move out of line;
add extra PLT entry for TLS descriptors.
(Output_data_plt_x86_64::got_): New field.
(Output_data_plt_x86_64::tlsdesc_got_offset_): New field.
(Output_data_plt_x86_64::Output_data_plt_x86_64): Initialize new
fields.
(Output_data_plt_x86_64::do_write): Write extra PLT entry for TLS
descriptors.
(Target_x86_64::make_plt_entry): Factor out make_plt_section.
(Target_x86_64::got_mod_index_entry): Remove unnecessary code.
(Target_x86_64::Scan::local): Implement R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL relocations.
(Target_x86_64::Scan::global): Likewise.
(Target_x86_64::do_finalize_sections): Add dynamic table entries
for TLS descriptors.
(Relocate::relocate_tls): Fix problem with GD-to-IE relaxation.
Implement R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL relocations.
(Target_x86_64::Relocate::tls_gd_to_ie): Fix problem with
GD-to-IE relaxation.
* configure.ac: Export new conditional variables TLS_GNU2_DIALECT
and TLS_DESCRIPTORS.
* Makefile.in: Rebuild.
* configure: Rebuild.
* testsuite/Makefile.am (tls_shared_gd_to_ie_test): New target.
(tls_test_shared2.so): New target.
(tls_shared_gd_to_ie_test_SOURCES): New variable.
(tls_shared_gd_to_ie_test_DEPENDENCIES): New variable.
(tls_shared_gd_to_ie_test_LDFLAGS): New variable.
(tls_shared_gd_to_ie_test_LDADD): New variable.
(tls_shared_gnu2_gd_to_ie_test): New target.
(tls_test_gnu2.o, tls_test_file2_gnu2.o, tls_test_gnu2_shared2.so):
New targets.
(tls_shared_gnu2_gd_to_ie_test_SOURCES): New variable.
(ls_shared_gnu2_gd_to_ie_test_DEPENDENCIES): New variable.
(tls_shared_gnu2_gd_to_ie_test_LDFLAGS): New variable.
(tls_shared_gnu2_gd_to_ie_test_LDADD): New variable.
(tls_shared_gnu2_test): New target.
(tls_test_gnu2_shared.so): New target.
(tls_shared_gnu2_test_SOURCES): New variable.
(tls_shared_gnu2_test_DEPENDENCIES): New variable.
(tls_shared_gnu2_test_LDFLAGS): New variable.
(tls_shared_gnu2_test_LDADD): New variable.
* testsuite/Makefile.in: Rebuild.
* testsuite/Makefile.

16 years ago * testsuite/Makefile.am (justsyms_2r.o): Add dependency on
Ian Lance Taylor [Fri, 11 Apr 2008 20:44:52 +0000 (20:44 +0000)]
* testsuite/Makefile.am (justsyms_2r.o): Add dependency on
justsyms.t.
* testsuite/Makefile.in: Rebuild.

* testsuite/script_test_2a.cc (script_test_string_a): Make 8 bytes
long.
* testsuite/script_test_2.cc (main): Adjust test.

16 years ago * options.h (General_options): Add entries for '-Y' and
Ian Lance Taylor [Fri, 11 Apr 2008 20:28:34 +0000 (20:28 +0000)]
* options.h (General_options): Add entries for '-Y' and
'-relax'.
* options.cc (General_options:finalize): If -Y was used, add those
entries to the library path instead of the default "/lib" and
"/usr/lib".

16 years ago * sparc.h: New file
David S. Miller [Fri, 11 Apr 2008 19:13:08 +0000 (19:13 +0000)]
* sparc.h: New file
* elfcpp.h (SHN_BEFORE, SHN_AFTER): New enum constants.
(SHT_SPARC_GOTDATA, SHF_ORDERED, SHF_EXCLUDE,
STT_SPARC_REGISTER, DT_SPARC_REGISTER): Likewise.

16 years ago * testsuite/justsyms.t: Start at 0x100.
David S. Miller [Fri, 11 Apr 2008 18:49:40 +0000 (18:49 +0000)]
* testsuite/justsyms.t: Start at 0x100.
* testsuite/justsyms_1.cc: Adjust justsyms_string assertion.
* script_test_2b.cc (script_test_string_b): Make 8 bytes long.
* script_test_2.cc: Adjust string and section length checks.

16 years ago2008-04-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 11 Apr 2008 17:51:15 +0000 (17:51 +0000)]
2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/lns/lns-big-delta.d: Updated.
* gas/lns/lns-common-1.d: Likewise.
* gas/lns/lns-common-1-alt.d: Likewise.
* gas/lns/lns-duplicate.d: Likewise.

16 years ago * listing.c (print_timestamp): Use localtime rather than
Nick Clifton [Fri, 11 Apr 2008 09:06:02 +0000 (09:06 +0000)]
    * listing.c (print_timestamp): Use localtime rather than
        localtime_r since not all build environments provide the latter.

16 years ago * dwarf.c (display_debug_lines): Rename to
Nick Clifton [Fri, 11 Apr 2008 09:04:17 +0000 (09:04 +0000)]
    * dwarf.c (display_debug_lines): Rename to
        display_debug_lines_raw.
        (display_debug_lines_decoded): New function.  Displays the
        interpreted contents of a .debug_line section.
        (display_debug_lines): New function: Selects either a raw dump or
        a decoded dump (or both) as requested by the user.
        * dwarf.h (do_debug_lines_decoded): New extern.
        * readelf.c: Add support for -wL or --debug-dump=decodedline
        option to display the decoded contents of a .debug_line section.
        * doc/binutils.texi: Document the new option.
        * NEWS: Mention the new feature.

16 years agodaily update
Alan Modra [Fri, 11 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Fri, 11 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agogas/
H.J. Lu [Thu, 10 Apr 2008 17:53:40 +0000 (17:53 +0000)]
gas/

2008-04-10  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention -msse-check=[none|error|warning].

* config/tc-i386.c (sse_check): New.
(OPTION_MSSE_CHECK): Likewise.
(md_assemble): Check SSE instructions if needed.
(md_longopts): Add -msse-check.
(md_parse_option): Handle OPTION_MSSE_CHECK.
(md_show_usage): Show -msse-check=[none|error|warning].

* doc/c-i386.texi: Document -msse-check=[none|error|warning].

gas/testsuite/

2008-04-10  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run sse-check, sse-check-warn,
sse-check-error, x86-64-sse-check, x86-64-sse-check-warn and
x86-64-sse-check-error.

* gas/i386/sse-check.d: New.
* gas/i386/sse-check.s: Likewise.
* gas/i386/sse-check-error.l: Likewise.
* gas/i386/sse-check-error.s: Likewise.
* gas/i386/sse-check-warn.d: Likewise.
* gas/i386/sse-check-warn.e: Likewise.
* gas/i386/x86-64-sse-check.d: Likewise.
* gas/i386/x86-64-sse-check-error.l: Likewise.
* gas/i386/x86-64-sse-check-error.s: Likewise.
* gas/i386/x86-64-sse-check-warn.d: Likewise.

16 years ago2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Thu, 10 Apr 2008 13:36:43 +0000 (13:36 +0000)]
2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-dis.c (init_disasm): Evaluate disassembler_options.
(print_s390_disassembler_options): New function.
* disassemble.c (disassembler_usage): Invoke
print_s390_disassembler_options.

2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* dis-asm.h (print_s390_disassembler_options):
Prototype added.

16 years ago2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Thu, 10 Apr 2008 13:05:07 +0000 (13:05 +0000)]
2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-mkopc.c (insertExpandedMnemonic): Expand string sizes
of local variables used for mnemonic parsing: prefix, suffix and
number.

16 years ago * listing.c: Add -ag listing flag to show general information in
Nick Clifton [Thu, 10 Apr 2008 12:45:18 +0000 (12:45 +0000)]
    * listing.c: Add -ag listing flag to show general information in
        listings such as gas version, passed options, and time stamp.
        (listing_general_info): New function.
        (print_options): New function.
        (print_single_option): New function.
        (print_timestamp): New function.
        (MAX_DATELEN): Define.
        (listing_print): Add call to listing_general_info.
        * listing.h (LISTING_GENERAL): Define.
        (listing_print): Add new parameter.
        * as.c (show_usage): Print new switch.
        (parse_args): Parse new switch.
        (main): Pass command line on to listing_print.
        * NEWS: Mention this new feature.
        * doc/as.texinfo: Document the new sub-option.

        * gas/all/gas.exp: Check the performance of the -ag command line
        switch.

16 years ago2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Thu, 10 Apr 2008 08:59:46 +0000 (08:59 +0000)]
2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-mkopc.c (s390_cond_ext_format): Add back the mnemonic
extensions for conditional jumps (o, p, m, nz, z, nm, np, no).
(s390_crb_extensions): New extensions table.
(insertExpandedMnemonic): Handle '$' tag.
* s390-opc.txt: Remove conditional jump variants which can now
be expanded automatically.
Replace '*' tag with '$' in the compare and branch instructions.

2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z10.d: Map the compare and branch variants
with odd condition code mask to version with an even mask.

16 years ago PR gold/5996
Ian Lance Taylor [Thu, 10 Apr 2008 01:02:46 +0000 (01:02 +0000)]
PR gold/5996
* script-sections.cc (Sections_element::allocate_to_segment): Add
orphan parameter.
(Output_section_definition::allocate_to_segment): Likewise.
(Orphan_output_section::allocate_to_segment): Likewise.
(Script_sections::attach_sections_using_phdrs_clause): Don't
propagate non-PT_LOAD segments to orphan sections.
* testsuite/Makefile.am (script_test_3.stdout): Generate using
readelf rather than objdump.
* testsuite/script_test_3.sh: Adjust accordingly.  Test that
.interp section and PT_INTERP segment are the same size.
* testsuite/Makefile.in: Rebuild.

16 years agoFix typo in comment in last commit.
Ian Lance Taylor [Thu, 10 Apr 2008 00:58:58 +0000 (00:58 +0000)]
Fix typo in comment in last commit.

16 years agodaily update
Alan Modra [Thu, 10 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Thu, 10 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * symtab.cc (Symbol_table::add_from_dynobj): Only look for weak
Ian Lance Taylor [Wed, 9 Apr 2008 22:45:08 +0000 (22:45 +0000)]
* symtab.cc (Symbol_table::add_from_dynobj): Only look for weak
aliases for symbols defined in the same object.
* testsuite/Makefile.am (check_PROGRAMS): Add weak_alias_test.
(weak_alias_test_SOURCES): New variable.
(weak_alias_test_DEPENDENCIES): New variable.
(weak_alias_test_LDFLAGS): New variable.
(weak_alias_test_LDADD): New variable.
(weak_alias_test_1_pic.o, weak_alias_test_1.so): New targets.
(weak_alias_test_2_pic.o, weak_alias_test_2.so): New targets.
(weak_alias_test_3.o): New target.
(weak_alias_test_4_pic.o, weak_alias_test_4.so): New targets.
* testsuite/weak_alias_test_main.cc: New file.
* testsuite/weak_alias_test_1.cc: New file.
* testsuite/weak_alias_test_2.cc: New file.
* testsuite/weak_alias_test_3.cc: New file.

16 years agogdb/ChangeLog
Marc Khouzam [Wed, 9 Apr 2008 13:29:55 +0000 (13:29 +0000)]
gdb/ChangeLog
2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>

        * mi/mi-cmd-var.c: Include "mi-getopt.h".
        (mi_parse_format): New.  Factored out from mi_cmd_var_set_format.
        (mi_cmd_var_set_format): Use new mi_parse_format.
        (mi_cmd_var_evaluate_expression): Support for -f option to specify
        format.
        * Makefile.in (mi-cmd-var.o): Update dependencies.

        * varobj.h (varobj_get_formatted_value): Declare.
        * varobj.c (my_value_of_variable): Added format parameter.
        (cplus_value_of_variable): Likewise.
        (java_value_of_variable): Likewise.
        (c_value_of_variable): Likewise.  Evaluate expression based
        on format parameter.
        (struct language_specific): Add format parameter to function member
        *value_of_variable.
        (varobj_get_formatted_value): New.
        (varobj_get_value): Added format parameter to method call.

gdb/doc/ChangeLog
2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>

        * gdb.texinfo (GDB/MI Variable Objects): Add anchor to
        -var-set-format.  Add -f option to -var-evaluate-expression.

gdb/testsuite/ChangeLog
2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>

        * gdb.mi/mi2-var-display.exp: Added tests for the new -f
        option of -var-evaluate-expression.
        * gdb.mi/mi2-var-display.exp: Likewise.

16 years ago * options.h (class General_options): Add --noinhibit-exec option.
Ian Lance Taylor [Wed, 9 Apr 2008 01:19:09 +0000 (01:19 +0000)]
* options.h (class General_options): Add --noinhibit-exec option.
* main.cc (main): Check --noinhibit-exec.

16 years ago * options.h (class General_options): Define --wrap as a special
Ian Lance Taylor [Wed, 9 Apr 2008 00:48:13 +0000 (00:48 +0000)]
* options.h (class General_options): Define --wrap as a special
option.  Add wrap_symbols_ field.
(General_options::any_wrap_symbols): New function.
(General_options::is_wrap_symbol): New function.
* options.cc (General_options::parse_wrap): New function.
(General_options::General_options): Initialize wrap_symbols_.
* symtab.cc (Symbol_table::wrap_symbol): New function.
(Symbol_table::add_from_object): Handle --wrap.
* symtab.h (class Symbol_table): Declare wrap_symbol.
* target.h (Target::wrap_char): New function.
(Target::Target_info): Add wrap_char field.
* i386.cc (Target_i386::i386_info): Initialize wrap_char.
* x86_64.cc (Target_x86_64::x86_64_info): Likewise.
* testsuite/testfile.cc (Target_test::test_target_info):
Likewise.

16 years ago * errors.cc (Errors::undefined_symbol): Mention symbol version if
Ian Lance Taylor [Wed, 9 Apr 2008 00:33:48 +0000 (00:33 +0000)]
* errors.cc (Errors::undefined_symbol): Mention symbol version if
there is one.

16 years ago * layout.h (class Layout): Add added_eh_frame_data_ field.
Ian Lance Taylor [Wed, 9 Apr 2008 00:26:48 +0000 (00:26 +0000)]
* layout.h (class Layout): Add added_eh_frame_data_ field.
* layout.cc (Layout::Layout): Initialize new field.
(Layout::layout_eh_frame): Don't add eh_frame_data_ to .eh_frame
output section until we find a section we merged successfully.
* object.cc (Sized_relobj::check_eh_frame_flags): Don't require
that the size be non-zero.

16 years ago*** empty log message ***
gdbadmin [Wed, 9 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 9 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * stabsread.c (cleanup_undefined_types_noname): Manually set the
Joel Brobecker [Tue, 8 Apr 2008 22:09:20 +0000 (22:09 +0000)]
    * stabsread.c (cleanup_undefined_types_noname): Manually set the
        instance flags of the undefined type before calling replace_type.

16 years ago * merge.cc (Object_merge_map::get_output_offset): Remove inline
Ian Lance Taylor [Tue, 8 Apr 2008 18:46:43 +0000 (18:46 +0000)]
* merge.cc (Object_merge_map::get_output_offset): Remove inline
qualifier.

16 years agoFix trailing space.
Vladimir Prus [Tue, 8 Apr 2008 17:02:23 +0000 (17:02 +0000)]
Fix trailing space.

16 years ago * target.h (enum strata): Remove the download_stratum.
Vladimir Prus [Tue, 8 Apr 2008 16:58:35 +0000 (16:58 +0000)]
* target.h (enum strata): Remove the download_stratum.

16 years ago * configure.ac: Export new conditional variable HAVE_ZLIB.
Ian Lance Taylor [Tue, 8 Apr 2008 14:33:35 +0000 (14:33 +0000)]
* configure.ac: Export new conditional variable HAVE_ZLIB.
* testsuite/Makefile.am (flagstest_o_specialfile): Condition
on HAVE_ZLIB.
(flagstest_o_specialfile_and_compress_debug_sections): Likewise.
* configure, Makefile.in, testsuite/Makefile.in: Rebuild.

16 years ago * version.cc (version_string): Set to "1.5".
Ian Lance Taylor [Tue, 8 Apr 2008 14:29:55 +0000 (14:29 +0000)]
* version.cc (version_string): Set to "1.5".

16 years ago allinsn.exp: Removed target_alias and global_ld_options.
M R Swami Reddy [Tue, 8 Apr 2008 12:45:37 +0000 (12:45 +0000)]
 allinsn.exp: Removed target_alias and global_ld_options.

16 years agoModified Files:
M R Swami Reddy [Tue, 8 Apr 2008 09:26:38 +0000 (09:26 +0000)]
Modified Files:
   ChangeLog:
      Add simulator for National cr16 processor.
        * cr16: New directory with cr16 simulator files.
        * configure.ac: Add an entry for National cr16 target.
        * configure: Regenerate.

16 years agoAdded Files:
M R Swami Reddy [Tue, 8 Apr 2008 09:20:06 +0000 (09:20 +0000)]
Added Files:
  ChangeLog config.in configure configure.ac cr16_sim.h endian.c
  gencode.c interp.c Makefile.in simops.c: Add these file for CR16 target simulator.

16 years ago * configure.ac: Add an entry for National CR16 target.
M R Swami Reddy [Tue, 8 Apr 2008 09:15:56 +0000 (09:15 +0000)]
   * configure.ac: Add an entry for National CR16 target.
   * configure: Regenerate.

16 years ago ChangeLog: sim/cr16/: New directory. Added tests for CR16 simulator.
M R Swami Reddy [Tue, 8 Apr 2008 09:12:27 +0000 (09:12 +0000)]
  ChangeLog: sim/cr16/: New directory. Added tests for CR16 simulator.

16 years ago ChangeLog: New file
M R Swami Reddy [Tue, 8 Apr 2008 09:08:29 +0000 (09:08 +0000)]
  ChangeLog: New file

16 years ago New files: Testcases for cr16 instruction set.
M R Swami Reddy [Tue, 8 Apr 2008 09:07:02 +0000 (09:07 +0000)]
  New files: Testcases for cr16 instruction set.

16 years ago testutils.inc: New file: Test macros for cr16 target.
M R Swami Reddy [Tue, 8 Apr 2008 09:05:01 +0000 (09:05 +0000)]
  testutils.inc: New file: Test macros for cr16 target.

16 years ago allinsn.exp misc.exp: New files: Test run scripts
M R Swami Reddy [Tue, 8 Apr 2008 09:03:17 +0000 (09:03 +0000)]
  allinsn.exp misc.exp: New files: Test run scripts

16 years ago gennltvals.sh: Add cr16 target sys macros.
M R Swami Reddy [Tue, 8 Apr 2008 08:44:51 +0000 (08:44 +0000)]
  gennltvals.sh: Add cr16 target sys macros.
  nltvals.def: Rebuild.

16 years agosim-cr16.h: New file. Added for cr16 target.
M R Swami Reddy [Tue, 8 Apr 2008 08:33:51 +0000 (08:33 +0000)]
sim-cr16.h: New file. Added for cr16 target.

16 years agoUpdated the MAINTAINERS file: Add myself as maintainer of cr16 port.
M R Swami Reddy [Tue, 8 Apr 2008 07:20:21 +0000 (07:20 +0000)]
Updated the MAINTAINERS file: Add myself as maintainer of cr16 port.

16 years agoAdd myself as maintainer of cr16 port.
M R Swami Reddy [Tue, 8 Apr 2008 07:15:39 +0000 (07:15 +0000)]
Add myself as maintainer of cr16 port.

16 years ago * po/POTFILES.in: Regenerate.
Alan Modra [Tue, 8 Apr 2008 06:12:32 +0000 (06:12 +0000)]
* po/POTFILES.in: Regenerate.

16 years ago * dwarf.c: Remove trailing whitespace throughout file.
Alan Modra [Tue, 8 Apr 2008 05:53:28 +0000 (05:53 +0000)]
* dwarf.c: Remove trailing whitespace throughout file.

16 years ago * elf32-spu.c (spu_elf_build_stubs): Correct error message.
Alan Modra [Tue, 8 Apr 2008 05:48:28 +0000 (05:48 +0000)]
* elf32-spu.c (spu_elf_build_stubs): Correct error message.
(mark_functions_via_relocs): Remove premature init of symtab_hdr.
(collect_overlays): Commment typo fix.

16 years ago * elflink.c (bfd_elf_size_dynamic_sections): Ignore GNU-stack note
Alan Modra [Tue, 8 Apr 2008 05:41:19 +0000 (05:41 +0000)]
* elflink.c (bfd_elf_size_dynamic_sections): Ignore GNU-stack note
in EXEC_P bfds.

16 years ago * x86_64.cc (Target_x86_64::Scan): Change from struct to class.
Ian Lance Taylor [Tue, 8 Apr 2008 04:09:59 +0000 (04:09 +0000)]
* x86_64.cc (Target_x86_64::Scan): Change from struct to class.
Add issued_non_pic_error_ field.  Declare check_non_pic.
(Target_x86_64::Scan::check_non_pic): New function.
(Target_x86_64::Scan::local): Call check_non_pic as appropriate.
(Target_x86_64::Scan::global): Likewise.

16 years agobfd/
Alan Modra [Tue, 8 Apr 2008 03:26:54 +0000 (03:26 +0000)]
bfd/
* elf32-spu.c: Include libiberty.h.
(struct spu_link_hash_table): Add local_stire, overlay_fixed, reserved,
non_ovly_stub, spu_elf_load_ovl_mgr, spu_elf_open_overlay_script,
spu_elf_relink, auto_overlay fields.
(AUTO_OVERLAY, AUTO_RELINK, OVERLAY_RODATA): Define.
(needs_ovl_stub): Flip test so that call to non-function warning
is emitted during relocate_section rather than earlier.
(spu_elf_check_vma): Stash --auto-overlay parameters, and clear
auto_overlay if no section exceeds local store.
(struct call_info): Add count, max_depth, is_pasted fields.
(struct function_info): Add rodata, last_caller, call_count,
depth, new visit flags.
(insert_callee): Increment call count.
(copy_callee): New function.
(mark_functions_via_relocs): Investigate all reloc types to count
possible function pointer stubs for --auto-overlay.  Track
last_caller and increment function call_count.
(pasted_function): Insert a "call" into call info for pasted section.
(remove_cycles): Track max depth of calls.  Don't emit call graph
pruning warning for --auto-overlay.
(build_call_tree): Don't transfer_calls for --auto-overlay.
Adjust remove_cycles call.
(sort_calls, sort_lib, sort_bfds): New functions.
(struct _mos_param, struct _uos_param, struct _cl_param): New.
(mark_overlay_section, unmark_overlay_section): New functions.
(collect_lib_sectios, auto_ovl_lib_functions): New functions.
(collect_overlays, find_pasted_call): New functions.
(sum_stack): Deal with is_pasted "calls".  Exit before printing
when --auto-overlay.
(spu_elf_auto_overlay): New function.
(spu_elf_final_link): Call spu_elf_auto_overlay.
* elf32-spu.h (spu_elf_check_vma): Update prototype.
ld/
* emultempl/spuelf.em (auto_overlay, auto_overlay_file,
auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
(spu_before_allocation): Warn on --auto-overlay and existing overlays.
(struct tflist, clean_tmp): Move.
(new_tmp_file): New function, extracted from..
(embedded_spu_file): ..here.
(spu_elf_open_overlay_script, spu_elf_relink): New function.
(gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
Warn on --auto-overlay and zero local store.
(gld${EMULATION_NAME}_choose_target): New function to stash argv.
(OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
(PARSE_AND_LIST_LONGOPTS): Add entries for new options.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
(LDEMUL_CHOOSE_TARGET): Define.

16 years ago*** empty log message ***
gdbadmin [Tue, 8 Apr 2008 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 8 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
Alan Modra [Mon, 7 Apr 2008 23:56:18 +0000 (23:56 +0000)]
* dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
call.  Delete out of date comment.
(dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
(dwarf2_emit_label): Don't emit unless there has been a previous
.file or we are outputting assembler generated debug.
dwarf2_consume_line_info after emitting line info, not before.
(out_debug_info): Simplify files_in_use test.

16 years ago * ld-spu/ovl2.s: Extend to test jump table references and
Alan Modra [Mon, 7 Apr 2008 23:37:25 +0000 (23:37 +0000)]
* ld-spu/ovl2.s: Extend to test jump table references and
absolute _SPUEAR_ syms.
* ld-spu/ovl2.d: Update.

16 years ago * output.cc (Output_reloc<SHT_REL>::local_section_offset): Add
Ian Lance Taylor [Mon, 7 Apr 2008 22:46:17 +0000 (22:46 +0000)]
* output.cc (Output_reloc<SHT_REL>::local_section_offset): Add
addend parameter.  Change caller.  Handle merge sections.
(Output_reloc<SHT_REL>::symbol_value): Change parameter type from
Address to Addend.  Don't add in the result of
local_section_offset, pass down the addend and use the returned
value.
* output.h (class Output_reloc<SHT_REL>): Add Addend typedef.
Update declarations of local_section_offset and symbol_value.
* testsuite/two_file_test_1.cc (t18): New function.
* testsuite/two_file_test_2.cc (f18): New function.
* testsuite/two_file_test_main.cc (main): Call t18.
* testsuite/two_file_test.h (t18, f18): Declare.

16 years ago * configure.ac: Don't test for objdump, c++filt, or readelf.
Ian Lance Taylor [Mon, 7 Apr 2008 22:16:03 +0000 (22:16 +0000)]
* configure.ac: Don't test for objdump, c++filt, or readelf.
* testsuite/Makefile.am: Remove READELF and OBJDUMP_AND_CPPFILT
conditionals.
(TEST_READELF): New variable.
(TEST_OBJDUMP, TEST_CXXFILT, TEST_STRIP): New variables.
(check_PROGRAMS): Add two_file_strip_test.
(two_file_strip_test): New target.
(check_PROGRAMS): Add two_file_same_shared_strip_test.
(two_file_same_shared_strip_test_SOURCES): New variable.
(two_file_same_shared_strip_test_DEPENDENCIES): New variable.
(two_file_same_shared_strip_test_LDFLAGS): New variable.
(two_file_same_shared_strip_test_LDADD): New variable.
(two_file_shared_strip.so): New target.
(ver_test_2.syms, ver_test_4.syms): Use TEST_READELF.
(ver_test_5.syms, ver_test_7.syms): Likewise.
(ver_matching_test.stdout): Use TEST_OBJDUMP and TEST_CXXFILT.
(strip_test_3.stdout): Use TEST_OBJDUMP.
* configure, Makefile.in, testsuite/Makefile.in: Rebuild.

16 years ago * Makefile.def: check-gold depends upon all-binutils.
Ian Lance Taylor [Mon, 7 Apr 2008 21:58:34 +0000 (21:58 +0000)]
* Makefile.def: check-gold depends upon all-binutils.
* Makefile.in: Regenerate.

16 years ago2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 7 Apr 2008 21:29:50 +0000 (21:29 +0000)]
2008-04-07  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (PREFIX_VEX_38XX): Add a tab.
(PREFIX_VEX_3AXX): Likewis.

16 years ago * buildsym.h (last_source_file): Add dwarf info to comment.
Doug Evans [Mon, 7 Apr 2008 19:29:55 +0000 (19:29 +0000)]
* buildsym.h (last_source_file): Add dwarf info to comment.
(last_source_start_addr): Ditto.

16 years ago2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 7 Apr 2008 17:35:12 +0000 (17:35 +0000)]
2008-04-07  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Remove 4 extra blank lines.

16 years ago Introduce test setup helpers.
Vladimir Prus [Mon, 7 Apr 2008 16:32:44 +0000 (16:32 +0000)]
Introduce test setup helpers.
        * lib/gdb.exp (build_executable, clean_restart)
        (prepare_for_testing): New.
        * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
        * gdb.base/return.exp: Likewise.
        * gdb.base/ending-run.exp: Likewise.

16 years agoAdd the missing ymm test in the last checkin.
H.J. Lu [Mon, 7 Apr 2008 14:38:25 +0000 (14:38 +0000)]
Add the missing ymm test in the last checkin.

16 years ago * elf32-spu.c (allocate_spuear_stubs): Ensure _SPUEAR_ symbol
Alan Modra [Mon, 7 Apr 2008 13:07:23 +0000 (13:07 +0000)]
* elf32-spu.c (allocate_spuear_stubs): Ensure _SPUEAR_ symbol
is defined in overlay section before creating a stub.
(build_spuear_stubs): Likewise.
(spu_elf_size_stubs, spu_elf_build_stubs): Adjust calls.

16 years agogas/
H.J. Lu [Mon, 7 Apr 2008 13:07:16 +0000 (13:07 +0000)]
gas/

2008-04-07  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (parse_real_register): Return AVX register
only if AVX is enabled.

gas/testsuite/

2008-04-07  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/att-regs.s: Add AVX register test.
* gas/i386/intel-regs.s: Likewise.

* gas/i386/att-regs.d: Updated.
* gas/i386/intel-regs.d: Likewise.

16 years ago * alphanbsd-tdep.c: Include "target.h".
Pedro Alves [Mon, 7 Apr 2008 11:45:58 +0000 (11:45 +0000)]
* alphanbsd-tdep.c: Include "target.h".
* mn10300-tdep.c: Include "target.h".
* Makefile.in (alphanbsd-tdep.o, mn10300-tdep.o): Update.

16 years agocorrectly regenerate configure
Nick Clifton [Mon, 7 Apr 2008 08:08:35 +0000 (08:08 +0000)]
correctly regenerate configure

16 years agooops - omitted from previous delta
Nick Clifton [Mon, 7 Apr 2008 08:02:21 +0000 (08:02 +0000)]
oops - omitted from previous delta

16 years ago PR gas/6043
Kaz Kojima [Mon, 7 Apr 2008 02:55:08 +0000 (02:55 +0000)]
PR gas/6043
* config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.

* gas/sh/sh64/eh-1.d: New.
* gas/sh/sh64/eh-1.d: Likewise.

16 years ago*** empty log message ***
gdbadmin [Mon, 7 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 7 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
Nick Roberts [Sun, 6 Apr 2008 22:44:47 +0000 (22:44 +0000)]
*** empty log message ***

16 years agoNew test for asynchronous Machine Interface (MI) responses.
Nick Roberts [Sun, 6 Apr 2008 22:41:19 +0000 (22:41 +0000)]
New test for asynchronous Machine Interface (MI) responses.

16 years ago Fix breakpoint condition that use member variables.
Vladimir Prus [Sun, 6 Apr 2008 08:56:37 +0000 (08:56 +0000)]
Fix breakpoint condition that use member variables.
        * valops.c (check_field): Remove.
        (check_field_in): Rename to check_field.
        (value_of_this): Use la_name_of_this.
        * value.h (check_field): Adjust prototype.

        * language.h (la_value_of_this): Rename to la_name_of_this.
        * language.c (unknown_language_defn): Specify "this" for
        name_of_this.
        (auto_language_defn): Likewise.
        (local_language_defn): Likewise.
        * ada-lang.c (ada_language_defn): Adjust comment.
        * c-lang.c (c_language_defn): Adjust comment.
        (cplus_language_defn): Specify "this" for name_of_this.
        (asm_language_defn): Adjust comment.
        (minimal_language_defn): Adjust comment.
        * f-lang.c (f_language_defn): Specify NULL for name_of_this.
        * jv-lang.c (java_language_defn): Specify "this" for name_of_this.
        * m2-lang.c (m2_language_defn): Specify "this" for name_of_this.
        * objc-lang.c (objc_language_defn): Specify "self" for
        name_of_this.
        * p-lang.c (pascal_language_defn): Specify "this" for
        name_of_this.
        * scm-lang.c (scm_language_defn): Specify NULL for name_of_this.

        * symtab.c (lookup_symbol_aux): Lookup "this" in the
        proper scope, and check for field in type of "this", without
        trying to create a value.

16 years agodaily update
Alan Modra [Sun, 6 Apr 2008 00:00:07 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 6 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * lib/mi-support.exp (mi_expect_stop): New.
Vladimir Prus [Sat, 5 Apr 2008 17:12:46 +0000 (17:12 +0000)]
* lib/mi-support.exp (mi_expect_stop): New.
(mi_run_cmd): Change the
token.  Use mi_send_resuming_command, use
mi_expect_stop.
(mi_execute_to_helper): Rename to mi_execute_to.
(mi_send_resuming_command): Add more error patterns.
(mi_wait_for_stop): Renamed to...
(mi_get_stop_line): ...this.
(mi_run_inline_test): Adjust.

* gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
* gdb.mi/mi-console.exp: Likewise.
* gdb.mi/mi-pending.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise.
* gdb.mi/mi-syn-frame.exp: Add comment.
* gdb.mi/mi-until.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise.
* gdb.mi/mi2-until.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.mi/mi2-watch.exp: Likewise.

16 years ago*** empty log message ***
gdbadmin [Sat, 5 Apr 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-04-04 Adrian Bunk <bunk@stusta.de>
Bob Wilson [Fri, 4 Apr 2008 23:25:49 +0000 (23:25 +0000)]
2008-04-04  Adrian Bunk  <bunk@stusta.de>
    Bob Wilson  <bob.wilson@acm.org>

* config/tc-xtensa.c (xg_apply_fix_value): Check return code from
call to decode_reloc.

16 years agodaily update
Alan Modra [Fri, 4 Apr 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
Ulrich Weigand [Fri, 4 Apr 2008 22:59:28 +0000 (22:59 +0000)]
* gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.

* gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.

16 years agogdb/
Pedro Alves [Fri, 4 Apr 2008 21:59:25 +0000 (21:59 +0000)]
gdb/
2008-04-04  Pedro Alves  <pedro@codesourcery.com>

* mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_ERROR.
(mi_error_message): Delete declaration.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Call error instead of
returning MI_CMD_ERROR.
* mi/mi-main.c (mi_error_message): Delete.
(mi_cmd_exec_interrupt):
(mi_cmd_thread_select, mi_cmd_thread_list_ids)
(mi_cmd_thread_info): Call error instead of returning
MI_CMD_ERROR.
(mi_cmd_data_list_register_values): Call error instead of
returning MI_CMD_ERROR.  Adapt to new get_register interface.
(get_register): Change return typo to void.  Call error instead of
returning MI_CMD_ERROR.
(mi_cmd_data_write_register_values): Call error instead of
returning MI_CMD_ERROR.
(mi_cmd_list_features): Return MI_CMD_DONE.
(captured_mi_execute_command): Remove MI_CMD_ERROR handling.
(mi_execute_command): Always print exceptions with -error.

gdb/testsuite/
2008-04-04  Pedro Alves  <pedro@codesourcery.com>

* gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
expect an mi error duplicated in stderr.

16 years ago * server.c (handle_query): Never return "unsupported" for
Ulrich Weigand [Fri, 4 Apr 2008 19:19:11 +0000 (19:19 +0000)]
* server.c (handle_query): Never return "unsupported" for
qXfer:features:read queries.

16 years ago2008-04-04 Cary Coutant <ccoutant@google.com>
Cary Coutant [Fri, 4 Apr 2008 17:24:47 +0000 (17:24 +0000)]
2008-04-04  Cary Coutant  <ccoutant@google.com>

* symtab.h (Symbol::is_weak_undefined): New function.
(Symbol::is_strong_undefined): New function.
(Symbol::is_absolute): New function.
(Symbol::needs_plt_entry): Exclude weak undefined symbols.
(Symbol::needs_dynamic_reloc): Exclude weak undefined and
absolute symbols.
* testsuite/Makefile.am (check_PROGRAMS): Add weak_undef_test.
(weak_undef_test): New target.
* testsuite/Makefile.in: Rebuild.
* testsuite/weak_undef_file1.cc: New file.
* testsuite/weak_undef_file2.cc: New file.
* testsuite/weak_undef_test.cc: New file.

16 years agogas/
H.J. Lu [Fri, 4 Apr 2008 16:34:23 +0000 (16:34 +0000)]
gas/

2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention XSAVE.  Change CLMUL to PCLMUL.

* config/tc-i386.c (cpu_arch): Add .pclmul.
(md_show_usage): Replace clmul with pclmul.
* doc/c-i386.texi: Likewise.

gas/testsuite/

2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10-1.l: Replace CLMUL with PCLMUL.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/arch-10.s: Likewise.
* gas/i386/clmul-intel.d: Likewise.
* gas/i386/clmul.d: Likewise.
* gas/i386/clmul.s: Likewise.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/x86-64-clmul-intel.d: Likewise.
* gas/i386/x86-64-clmul.d: Likewise.
* gas/i386/x86-64-clmul.s: Likewise.

* gas/i386/arch-10.d: Replace clmul with pclmul.
* gas/i386/x86-64-arch-2.d: Likewise.

opcodes/

2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Replace CPU_CLMUL_FLAGS/CpuCLMUL
with CPU_PCLMUL_FLAGS/CpuPCLMUL.
(cpu_flags): Replace CpuCLMUL with CpuPCLMUL.
* i386-opc.tbl: Likewise.

* i386-opc.h (CpuCLMUL): Renamed to ...
(CpuPCLMUL): This.
(CpuFMA): Updated.
(i386_cpu_flags): Replace cpuclmul with cpupclmul.

* i386-init.h: Regenerated.

16 years ago * NEWS: Mention new commands set/show multiple-symbols.
Joel Brobecker [Fri, 4 Apr 2008 15:51:15 +0000 (15:51 +0000)]
    * NEWS: Mention new commands set/show multiple-symbols.

16 years ago PR binutils/4334
Nick Clifton [Fri, 4 Apr 2008 11:45:58 +0000 (11:45 +0000)]
    PR binutils/4334
        * acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): New macro to check that
        cygwin builds are not running in textmode.

        * configure.ac: Run ACX_CHECK_CYGWIN_CAT_WORKS for cygwin hosted
        builds.
        * configure: Regenerate.

16 years agoPR other/35151
Nick Clifton [Fri, 4 Apr 2008 11:16:33 +0000 (11:16 +0000)]
PR other/35151
        * configure.ac: Combine rules for mingw32 and mingw64.
        * configure: Regenerate.