Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/FreeBSD]: src/external/bsd/elftoolchain/dist import elftoolchain from Fr...



details:   https://anonhg.NetBSD.org/src/rev/9875d9a79abf
branches:  FreeBSD
changeset: 319385:9875d9a79abf
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 09 16:25:59 2014 +0000

description:
import elftoolchain from FreeBSD head.

diffstat:

 external/bsd/elftoolchain/dist/common/Makefile                             |    15 +
 external/bsd/elftoolchain/dist/common/_elftc.h                             |   458 +
 external/bsd/elftoolchain/dist/common/elfdefinitions.h                     |  2614 ++++++++++
 external/bsd/elftoolchain/dist/common/native-elf-format                    |    47 +
 external/bsd/elftoolchain/dist/common/os.Linux.mk                          |    13 +
 external/bsd/elftoolchain/dist/common/utarray.h                            |   237 +
 external/bsd/elftoolchain/dist/common/uthash.h                             |   919 +++
 external/bsd/elftoolchain/dist/libdwarf/Makefile                           |   324 +
 external/bsd/elftoolchain/dist/libdwarf/Version.map                        |   228 +
 external/bsd/elftoolchain/dist/libdwarf/_libdwarf.h                        |   658 ++
 external/bsd/elftoolchain/dist/libdwarf/dwarf.3                            |   727 ++
 external/bsd/elftoolchain/dist/libdwarf/dwarf.h                            |   544 ++
 external/bsd/elftoolchain/dist/libdwarf/dwarf_abbrev.c                     |   136 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_comp_dir.3            |    99 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_const_value_string.3  |   126 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_dataref.3             |   122 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_flag.3                |   115 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_location_expr.3       |   120 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_name.3                |    99 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_producer.3            |    99 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_ref_address.3         |   117 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_reference.3           |   117 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_signed_const.3        |   131 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_string.3              |   114 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_AT_targ_address.3        |   137 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_arange.3                 |   151 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_die_to_debug.3           |    95 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_directory_decl.3         |    97 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_expr_addr.3              |   111 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_expr_gen.3               |   118 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_fde_inst.3               |   113 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_file_decl.3              |   122 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_frame_cie.3              |   124 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_frame_fde.3              |   201 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_funcname.3               |   103 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_line_entry.3             |   163 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_pubname.3                |   103 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_typename.3               |   103 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_varname.3                |   103 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_add_weakname.3               |   103 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_arange.c                     |   171 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_attr.3                       |   119 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_attr.c                       |   275 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_attrlist.3                   |   146 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_attrval.c                    |   211 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_attrval_signed.3             |   220 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_child.3                      |   202 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_cu.c                         |    99 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_dealloc.3                    |   203 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_dealloc.c                    |   117 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_def_macro.3                  |   129 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_die.c                        |   335 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_die_abbrev_code.3            |    55 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_die_link.3                   |   118 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_diename.3                    |    90 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_dieoffset.3                  |   172 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_dump.c                       |  1292 ++++
 external/bsd/elftoolchain/dist/libdwarf/dwarf_end_macro_file.3             |    90 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_errmsg.3                     |    67 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_errmsg.c                     |    90 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_errno.3                      |    58 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_expand_frame_instructions.3  |   182 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_expr_current_offset.3        |    84 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_expr_into_block.3            |    94 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_fde_cfa_offset.3             |    99 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_find_macro_value_start.3     |    68 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_finish.3                     |   140 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_finish.c                     |    61 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_form.c                       |   480 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_formaddr.3                   |    97 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_formblock.3                  |   109 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_formexprloc.3                |   109 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_formflag.3                   |    97 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_formref.3                    |   136 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_formsig8.3                   |    96 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_formstring.3                 |   101 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_formudata.3                  |   122 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_frame.c                      |   603 ++
 external/bsd/elftoolchain/dist/libdwarf/dwarf_funcs.m4                     |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_AT_name.3                |   258 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_abbrev.3                 |   179 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_abbrev_children_flag.3   |   100 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_abbrev_code.3            |    86 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_abbrev_entry.3           |   159 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_abbrev_tag.3             |    86 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_address_size.3           |    82 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_arange.3                 |   121 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_arange_info.3            |   134 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_aranges.3                |   148 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_cie_index.3              |    86 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_cie_info.3               |   150 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_cie_of_fde.3             |    88 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_cu_die_offset.3          |   103 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_elf.3                    |   103 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_at_pc.3              |   125 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_info_for_all_regs.3  |   155 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_info_for_all_regs3.3 |   183 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_info_for_cfa_reg3.3  |   171 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_info_for_reg.3       |   156 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_info_for_reg3.3      |   214 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_instr_bytes.3        |   113 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_list.3               |   218 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_n.3                  |   111 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_fde_range.3              |   149 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_form_class.3             |    87 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_funcs.3                  |   215 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_globals.3                |   211 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_loclist_entry.3          |   156 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_macro_details.3          |   192 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_pubtypes.3               |   243 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_ranges.3                 |   258 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_relocation_info.3        |   228 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_relocation_info_count.3  |   116 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_section_bytes.3          |   157 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_str.3                    |   149 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_types.3                  |   232 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_vars.3                   |   210 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_get_weaks.3                  |   215 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_hasattr.3                    |    91 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_hasform.3                    |   127 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_highpc.3                     |   162 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_init.3                       |   178 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_init.c                       |   163 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_lineno.3                     |   202 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_lineno.c                     |   294 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_lne_end_sequence.3           |   100 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_lne_set_address.3            |   105 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_loclist.3                    |   230 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_loclist.c                    |   287 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_loclist_from_expr.3          |   173 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_macinfo.c                    |    88 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_nametbl.m4                   |   159 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_new_die.3                    |   164 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_new_expr.3                   |   135 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_new_fde.3                    |    87 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_next_cu_header.3             |   203 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_object_init.3                |   227 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_arange.c                 |    73 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_attr.c                   |   384 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_die.c                    |   110 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_expr.c                   |   223 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_finish.c                 |    45 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_frame.c                  |   195 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_funcs.m4                 |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_init.c                   |   122 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_lineno.c                 |   187 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_macinfo.c                |   142 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_nametbl.m4               |    70 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_pubnames.m4              |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_reloc.c                  |   114 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_sections.c               |    81 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_types.m4                 |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_vars.m4                  |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_weaks.m4                 |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_producer_init.3              |   297 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_producer_set_isa.3           |    98 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pubnames.m4                  |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_pubtypes.m4                  |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_ranges.c                     |    87 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_reloc.c                      |    40 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_reset_section_bytes.3        |    69 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_set_frame_cfa_value.3        |   140 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_set_reloc_application.3      |    80 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_seterrarg.3                  |   102 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_seterror.c                   |    63 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_srcfiles.3                   |   105 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_srclines.3                   |   163 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_start_macro_file.3           |   106 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_str.c                        |    62 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_tag.3                        |    77 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_transform_to_disk_form.3     |    99 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_types.m4                     |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_undef_macro.3                |   119 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_vars.m4                      |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_vendor_ext.3                 |   110 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_weaks.m4                     |    36 +
 external/bsd/elftoolchain/dist/libdwarf/dwarf_whatattr.3                   |    78 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf.c                         |    35 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf.h                         |   808 +++
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_abbrev.c                  |   266 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_arange.c                  |   260 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_attr.c                    |   458 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_die.c                     |   455 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_elf_access.c              |   164 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_elf_init.c                |   334 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_error.c                   |    58 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_frame.c                   |  1593 ++++++
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_info.c                    |   281 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_init.c                    |   316 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_lineno.c                  |   785 +++
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_loc.c                     |   641 ++
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_loclist.c                 |   229 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_macinfo.c                 |   254 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_nametbl.c                 |   253 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_ranges.c                  |   152 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_reloc.c                   |   476 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_rw.c                      |   562 ++
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_sections.c                |   259 +
 external/bsd/elftoolchain/dist/libdwarf/libdwarf_str.c                     |   159 +
 external/bsd/elftoolchain/dist/libelf/Makefile                             |   165 +
 external/bsd/elftoolchain/dist/libelf/Version.map                          |    96 +
 external/bsd/elftoolchain/dist/libelf/_libelf.h                            |   225 +
 external/bsd/elftoolchain/dist/libelf/_libelf_ar.h                         |    56 +
 external/bsd/elftoolchain/dist/libelf/_libelf_config.h                     |   177 +
 external/bsd/elftoolchain/dist/libelf/elf.3                                |   589 ++
 external/bsd/elftoolchain/dist/libelf/elf.c                                |    40 +
 external/bsd/elftoolchain/dist/libelf/elf_begin.3                          |   315 +
 external/bsd/elftoolchain/dist/libelf/elf_begin.c                          |    91 +
 external/bsd/elftoolchain/dist/libelf/elf_cntl.3                           |   111 +
 external/bsd/elftoolchain/dist/libelf/elf_cntl.c                           |    58 +
 external/bsd/elftoolchain/dist/libelf/elf_data.c                           |   256 +
 external/bsd/elftoolchain/dist/libelf/elf_end.3                            |    76 +
 external/bsd/elftoolchain/dist/libelf/elf_end.c                            |    97 +
 external/bsd/elftoolchain/dist/libelf/elf_errmsg.3                         |   107 +
 external/bsd/elftoolchain/dist/libelf/elf_errmsg.c                         |    85 +
 external/bsd/elftoolchain/dist/libelf/elf_errno.c                          |    43 +
 external/bsd/elftoolchain/dist/libelf/elf_fill.3                           |    52 +
 external/bsd/elftoolchain/dist/libelf/elf_fill.c                           |    39 +
 external/bsd/elftoolchain/dist/libelf/elf_flag.c                           |   198 +
 external/bsd/elftoolchain/dist/libelf/elf_flagdata.3                       |   226 +
 external/bsd/elftoolchain/dist/libelf/elf_getarhdr.3                       |    97 +
 external/bsd/elftoolchain/dist/libelf/elf_getarhdr.c                       |    47 +
 external/bsd/elftoolchain/dist/libelf/elf_getarsym.3                       |   130 +
 external/bsd/elftoolchain/dist/libelf/elf_getarsym.c                       |    58 +
 external/bsd/elftoolchain/dist/libelf/elf_getbase.3                        |    71 +
 external/bsd/elftoolchain/dist/libelf/elf_getbase.c                        |    48 +
 external/bsd/elftoolchain/dist/libelf/elf_getdata.3                        |   229 +
 external/bsd/elftoolchain/dist/libelf/elf_getident.3                       |    83 +
 external/bsd/elftoolchain/dist/libelf/elf_getident.c                       |    68 +
 external/bsd/elftoolchain/dist/libelf/elf_getphdrnum.3                     |    86 +
 external/bsd/elftoolchain/dist/libelf/elf_getphnum.3                       |    93 +
 external/bsd/elftoolchain/dist/libelf/elf_getscn.3                         |   151 +
 external/bsd/elftoolchain/dist/libelf/elf_getshdrnum.3                     |    78 +
 external/bsd/elftoolchain/dist/libelf/elf_getshdrstrndx.3                  |    79 +
 external/bsd/elftoolchain/dist/libelf/elf_getshnum.3                       |    84 +
 external/bsd/elftoolchain/dist/libelf/elf_getshstrndx.3                    |    94 +
 external/bsd/elftoolchain/dist/libelf/elf_hash.3                           |    57 +
 external/bsd/elftoolchain/dist/libelf/elf_hash.c                           |    56 +
 external/bsd/elftoolchain/dist/libelf/elf_kind.3                           |    71 +
 external/bsd/elftoolchain/dist/libelf/elf_kind.c                           |    44 +
 external/bsd/elftoolchain/dist/libelf/elf_memory.3                         |   122 +
 external/bsd/elftoolchain/dist/libelf/elf_memory.c                         |    47 +
 external/bsd/elftoolchain/dist/libelf/elf_next.3                           |    96 +
 external/bsd/elftoolchain/dist/libelf/elf_next.c                           |    62 +
 external/bsd/elftoolchain/dist/libelf/elf_open.3                           |   121 +
 external/bsd/elftoolchain/dist/libelf/elf_open.c                           |    67 +
 external/bsd/elftoolchain/dist/libelf/elf_phnum.c                          |    67 +
 external/bsd/elftoolchain/dist/libelf/elf_rand.3                           |   118 +
 external/bsd/elftoolchain/dist/libelf/elf_rand.c                           |    59 +
 external/bsd/elftoolchain/dist/libelf/elf_rawfile.3                        |    76 +
 external/bsd/elftoolchain/dist/libelf/elf_rawfile.c                        |    53 +
 external/bsd/elftoolchain/dist/libelf/elf_scn.c                            |   232 +
 external/bsd/elftoolchain/dist/libelf/elf_shnum.c                          |    67 +
 external/bsd/elftoolchain/dist/libelf/elf_shstrndx.c                       |    82 +
 external/bsd/elftoolchain/dist/libelf/elf_strptr.3                         |   116 +
 external/bsd/elftoolchain/dist/libelf/elf_strptr.c                         |   132 +
 external/bsd/elftoolchain/dist/libelf/elf_types.m4                         |   309 +
 external/bsd/elftoolchain/dist/libelf/elf_update.3                         |   378 +
 external/bsd/elftoolchain/dist/libelf/elf_update.c                         |  1202 ++++
 external/bsd/elftoolchain/dist/libelf/elf_version.3                        |    95 +
 external/bsd/elftoolchain/dist/libelf/elf_version.c                        |    52 +
 external/bsd/elftoolchain/dist/libelf/gelf.3                               |   201 +
 external/bsd/elftoolchain/dist/libelf/gelf.h                               |   108 +
 external/bsd/elftoolchain/dist/libelf/gelf_cap.c                           |   151 +
 external/bsd/elftoolchain/dist/libelf/gelf_checksum.3                      |   115 +
 external/bsd/elftoolchain/dist/libelf/gelf_checksum.c                      |    58 +
 external/bsd/elftoolchain/dist/libelf/gelf_dyn.c                           |   150 +
 external/bsd/elftoolchain/dist/libelf/gelf_ehdr.c                          |   168 +
 external/bsd/elftoolchain/dist/libelf/gelf_fsize.3                         |    96 +
 external/bsd/elftoolchain/dist/libelf/gelf_fsize.c                         |    62 +
 external/bsd/elftoolchain/dist/libelf/gelf_getcap.3                        |   121 +
 external/bsd/elftoolchain/dist/libelf/gelf_getclass.3                      |    61 +
 external/bsd/elftoolchain/dist/libelf/gelf_getclass.c                      |    39 +
 external/bsd/elftoolchain/dist/libelf/gelf_getdyn.3                        |   123 +
 external/bsd/elftoolchain/dist/libelf/gelf_getehdr.3                       |   123 +
 external/bsd/elftoolchain/dist/libelf/gelf_getmove.3                       |   120 +
 external/bsd/elftoolchain/dist/libelf/gelf_getphdr.3                       |   141 +
 external/bsd/elftoolchain/dist/libelf/gelf_getrel.3                        |   121 +
 external/bsd/elftoolchain/dist/libelf/gelf_getrela.3                       |   121 +
 external/bsd/elftoolchain/dist/libelf/gelf_getshdr.3                       |   115 +
 external/bsd/elftoolchain/dist/libelf/gelf_getsym.3                        |   125 +
 external/bsd/elftoolchain/dist/libelf/gelf_getsyminfo.3                    |   115 +
 external/bsd/elftoolchain/dist/libelf/gelf_getsymshndx.3                   |   162 +
 external/bsd/elftoolchain/dist/libelf/gelf_move.c                          |   157 +
 external/bsd/elftoolchain/dist/libelf/gelf_newehdr.3                       |   185 +
 external/bsd/elftoolchain/dist/libelf/gelf_newphdr.3                       |   133 +
 external/bsd/elftoolchain/dist/libelf/gelf_phdr.c                          |   178 +
 external/bsd/elftoolchain/dist/libelf/gelf_rel.c                           |   159 +
 external/bsd/elftoolchain/dist/libelf/gelf_rela.c                          |   162 +
 external/bsd/elftoolchain/dist/libelf/gelf_shdr.c                          |   131 +
 external/bsd/elftoolchain/dist/libelf/gelf_sym.c                           |   160 +
 external/bsd/elftoolchain/dist/libelf/gelf_syminfo.c                       |   151 +
 external/bsd/elftoolchain/dist/libelf/gelf_symshndx.c                      |   136 +
 external/bsd/elftoolchain/dist/libelf/gelf_update_ehdr.3                   |   123 +
 external/bsd/elftoolchain/dist/libelf/gelf_xlate.c                         |    81 +
 external/bsd/elftoolchain/dist/libelf/gelf_xlatetof.3                      |   247 +
 external/bsd/elftoolchain/dist/libelf/libelf.h                             |   252 +
 external/bsd/elftoolchain/dist/libelf/libelf_align.c                       |   137 +
 external/bsd/elftoolchain/dist/libelf/libelf_allocate.c                    |   212 +
 external/bsd/elftoolchain/dist/libelf/libelf_ar.c                          |   461 +
 external/bsd/elftoolchain/dist/libelf/libelf_ar_util.c                     |   359 +
 external/bsd/elftoolchain/dist/libelf/libelf_checksum.c                    |   100 +
 external/bsd/elftoolchain/dist/libelf/libelf_convert.m4                    |  1086 ++++
 external/bsd/elftoolchain/dist/libelf/libelf_data.c                        |    99 +
 external/bsd/elftoolchain/dist/libelf/libelf_ehdr.c                        |   204 +
 external/bsd/elftoolchain/dist/libelf/libelf_extended.c                    |   136 +
 external/bsd/elftoolchain/dist/libelf/libelf_fsize.m4                      |   159 +
 external/bsd/elftoolchain/dist/libelf/libelf_memory.c                      |    96 +
 external/bsd/elftoolchain/dist/libelf/libelf_msize.m4                      |   108 +
 external/bsd/elftoolchain/dist/libelf/libelf_open.c                        |   249 +
 external/bsd/elftoolchain/dist/libelf/libelf_phdr.c                        |   154 +
 external/bsd/elftoolchain/dist/libelf/libelf_shdr.c                        |    56 +
 external/bsd/elftoolchain/dist/libelf/libelf_xlate.c                       |   150 +
 external/bsd/elftoolchain/dist/libelf/os.FreeBSD.mk                        |     7 +
 external/bsd/elftoolchain/dist/libelf/os.NetBSD.mk                         |     7 +
 315 files changed, 56230 insertions(+), 0 deletions(-)

diffs (truncated from 57490 to 300 lines):

diff -r 6159eb7dbf59 -r 9875d9a79abf external/bsd/elftoolchain/dist/common/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/elftoolchain/dist/common/Makefile    Sun Mar 09 16:25:59 2014 +0000
@@ -0,0 +1,15 @@
+# Id: Makefile 2606 2012-10-02 17:52:57Z jkoshy 
+
+TOP=   ..
+
+INCS=          elfdefinitions.h
+INCSDIR=       /usr/include
+
+.PHONY:        all clean clobber depend obj
+
+all depend obj:
+
+clean clobber:
+       rm -f ${CLEANFILES}
+
+.include "${TOP}/mk/elftoolchain.inc.mk"
diff -r 6159eb7dbf59 -r 9875d9a79abf external/bsd/elftoolchain/dist/common/_elftc.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/elftoolchain/dist/common/_elftc.h    Sun Mar 09 16:25:59 2014 +0000
@@ -0,0 +1,458 @@
+/*-
+ * Copyright (c) 2009 Joseph Koshy
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * Id: _elftc.h 2922 2013-03-17 22:53:15Z kaiwang27 
+ */
+
+/**
+ ** Miscellanous definitions needed by multiple components.
+ **/
+
+#ifndef        _ELFTC_H
+#define        _ELFTC_H
+
+#ifndef        NULL
+#define NULL   ((void *) 0)
+#endif
+
+#ifndef        offsetof
+#define        offsetof(T, M)          ((int) &((T*) 0) -> M)
+#endif
+
+/* --QUEUE-MACROS-- [[ */
+
+/*
+ * Supply macros missing from <sys/queue.h>
+ */
+
+/*
+ * Copyright (c) 1991, 1993
+ *     The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#ifndef        SLIST_FOREACH_SAFE
+#define        SLIST_FOREACH_SAFE(var, head, field, tvar)                      \
+       for ((var) = SLIST_FIRST((head));                               \
+           (var) && ((tvar) = SLIST_NEXT((var), field), 1);            \
+           (var) = (tvar))
+#endif
+
+#ifndef        STAILQ_CONCAT
+#define        STAILQ_CONCAT(head1, head2) do {                        \
+       if (!STAILQ_EMPTY((head2))) {                           \
+               *(head1)->stqh_last = (head2)->stqh_first;      \
+               (head1)->stqh_last = (head2)->stqh_last;        \
+               STAILQ_INIT((head2));                           \
+       }                                                       \
+} while (/*CONSTCOND*/0)
+#endif
+
+#ifndef        STAILQ_EMPTY
+#define        STAILQ_EMPTY(head)      ((head)->stqh_first == NULL)
+#endif
+
+#ifndef        STAILQ_ENTRY
+#define        STAILQ_ENTRY(type)                                      \
+struct {                                                       \
+       struct type *stqe_next; /* next element */              \
+}
+#endif
+
+#ifndef        STAILQ_FIRST
+#define        STAILQ_FIRST(head)      ((head)->stqh_first)
+#endif
+
+#ifndef        STAILQ_HEAD
+#define        STAILQ_HEAD(name, type)                                 \
+struct name {                                                  \
+       struct type *stqh_first; /* first element */            \
+       struct type **stqh_last; /* addr of last next element */ \
+}
+#endif
+
+#ifndef        STAILQ_HEAD_INITIALIZER
+#define        STAILQ_HEAD_INITIALIZER(head)                           \
+       { NULL, &(head).stqh_first }
+#endif
+
+#ifndef        STAILQ_FOREACH
+#define        STAILQ_FOREACH(var, head, field)                        \
+       for ((var) = ((head)->stqh_first);                      \
+               (var);                                          \
+               (var) = ((var)->field.stqe_next))
+#endif
+
+#ifndef        STAILQ_FOREACH_SAFE
+#define STAILQ_FOREACH_SAFE(var, head, field, tvar)            \
+       for ((var) = STAILQ_FIRST((head));                      \
+           (var) && ((tvar) = STAILQ_NEXT((var), field), 1);   \
+           (var) = (tvar))
+#endif
+
+#ifndef        STAILQ_INIT
+#define        STAILQ_INIT(head) do {                                  \
+       (head)->stqh_first = NULL;                              \
+       (head)->stqh_last = &(head)->stqh_first;                \
+} while (/*CONSTCOND*/0)
+#endif
+
+#ifndef        STAILQ_INSERT_HEAD
+#define        STAILQ_INSERT_HEAD(head, elm, field) do {                       \
+       if (((elm)->field.stqe_next = (head)->stqh_first) == NULL)      \
+               (head)->stqh_last = &(elm)->field.stqe_next;            \
+       (head)->stqh_first = (elm);                                     \
+} while (/*CONSTCOND*/0)
+#endif
+
+#ifndef        STAILQ_INSERT_TAIL
+#define        STAILQ_INSERT_TAIL(head, elm, field) do {                       \
+       (elm)->field.stqe_next = NULL;                                  \
+       *(head)->stqh_last = (elm);                                     \
+       (head)->stqh_last = &(elm)->field.stqe_next;                    \
+} while (/*CONSTCOND*/0)
+#endif
+
+#ifndef        STAILQ_INSERT_AFTER
+#define        STAILQ_INSERT_AFTER(head, listelm, elm, field) do {             \
+       if (((elm)->field.stqe_next = (listelm)->field.stqe_next) == NULL)\
+               (head)->stqh_last = &(elm)->field.stqe_next;            \
+       (listelm)->field.stqe_next = (elm);                             \
+} while (/*CONSTCOND*/0)
+#endif
+
+#ifndef        STAILQ_LAST
+#define STAILQ_LAST(head, type, field)                                 \
+       (STAILQ_EMPTY((head)) ?                                 \
+           NULL : ((struct type *)(void *)                             \
+           ((char *)((head)->stqh_last) - offsetof(struct type, field))))
+#endif
+
+#ifndef        STAILQ_NEXT
+#define        STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)
+#endif
+
+#ifndef        STAILQ_REMOVE
+#define        STAILQ_REMOVE(head, elm, type, field) do {                      \
+       if ((head)->stqh_first == (elm)) {                              \
+               STAILQ_REMOVE_HEAD((head), field);                      \
+       } else {                                                        \
+               struct type *curelm = (head)->stqh_first;               \
+               while (curelm->field.stqe_next != (elm))                \
+                       curelm = curelm->field.stqe_next;               \
+               if ((curelm->field.stqe_next =                          \
+                       curelm->field.stqe_next->field.stqe_next) == NULL) \
+                           (head)->stqh_last = &(curelm)->field.stqe_next; \
+       }                                                               \
+} while (/*CONSTCOND*/0)
+#endif
+
+#ifndef        STAILQ_REMOVE_HEAD
+#define        STAILQ_REMOVE_HEAD(head, field) do {                            \
+       if (((head)->stqh_first = (head)->stqh_first->field.stqe_next) == \
+           NULL)                                                       \
+               (head)->stqh_last = &(head)->stqh_first;                \
+} while (/*CONSTCOND*/0)
+#endif
+
+/*
+ * The STAILQ_SORT macro is adapted from Simon Tatham's O(n*log(n))
+ * mergesort algorithm.
+ */
+#ifndef        STAILQ_SORT
+#define        STAILQ_SORT(head, type, field, cmp) do {                        \
+       STAILQ_HEAD(, type) _la, _lb;                                   \
+       struct type *_p, *_q, *_e;                                      \
+       int _i, _sz, _nmerges, _psz, _qsz;                              \
+                                                                       \
+       _sz = 1;                                                        \
+       do {                                                            \
+               _nmerges = 0;                                           \
+               STAILQ_INIT(&_lb);                                      \
+               while (!STAILQ_EMPTY((head))) {                         \
+                       _nmerges++;                                     \
+                       STAILQ_INIT(&_la);                              \
+                       _psz = 0;                                       \
+                       for (_i = 0; _i < _sz && !STAILQ_EMPTY((head)); \
+                            _i++) {                                    \
+                               _e = STAILQ_FIRST((head));              \
+                               if (_e == NULL)                         \
+                                       break;                          \
+                               _psz++;                                 \
+                               STAILQ_REMOVE_HEAD((head), field);      \
+                               STAILQ_INSERT_TAIL(&_la, _e, field);    \
+                       }                                               \
+                       _p = STAILQ_FIRST(&_la);                        \
+                       _qsz = _sz;                                     \
+                       _q = STAILQ_FIRST((head));                      \
+                       while (_psz > 0 || (_qsz > 0 && _q != NULL)) {  \
+                               if (_psz == 0) {                        \
+                                       _e = _q;                        \
+                                       _q = STAILQ_NEXT(_q, field);    \
+                                       STAILQ_REMOVE_HEAD((head),      \
+                                           field);                     \
+                                       _qsz--;                         \
+                               } else if (_qsz == 0 || _q == NULL) {   \
+                                       _e = _p;                        \
+                                       _p = STAILQ_NEXT(_p, field);    \
+                                       STAILQ_REMOVE_HEAD(&_la, field);\
+                                       _psz--;                         \
+                               } else if (cmp(_p, _q) <= 0) {          \
+                                       _e = _p;                        \
+                                       _p = STAILQ_NEXT(_p, field);    \
+                                       STAILQ_REMOVE_HEAD(&_la, field);\
+                                       _psz--;                         \
+                               } else {                                \
+                                       _e = _q;                        \
+                                       _q = STAILQ_NEXT(_q, field);    \
+                                       STAILQ_REMOVE_HEAD((head),      \
+                                           field);                     \
+                                       _qsz--;                         \
+                               }                                       \
+                               STAILQ_INSERT_TAIL(&_lb, _e, field);    \
+                       }                                               \
+               }                                                       \
+               (head)->stqh_first = _lb.stqh_first;                    \
+               (head)->stqh_last = _lb.stqh_last;                      \
+               _sz *= 2;                                               \
+       } while (_nmerges > 1);                                         \
+} while (/*CONSTCOND*/0)
+#endif
+
+#ifndef        TAILQ_FOREACH_SAFE
+#define TAILQ_FOREACH_SAFE(var, head, field, tvar)                      \
+       for ((var) = TAILQ_FIRST((head));                               \
+           (var) && ((tvar) = TAILQ_NEXT((var), field), 1);            \
+           (var) = (tvar))
+#endif
+
+/* ]] --QUEUE-MACROS-- */
+
+/*
+ * VCS Ids.



Home | Main Index | Thread Index | Old Index