diff --git a/README.OpenSource b/README.OpenSource index 63848c67..486dc4ac 100644 --- a/README.OpenSource +++ b/README.OpenSource @@ -3,7 +3,7 @@ "Name": "elfutils", "License": "LGPL V2.1", "License File": "", - "Version Number": "0.185", + "Version Number": "0.188", "Owner": "zhanghaibo0@huawei.com", "Upstream URL": "https://sourceware.org/elfutils/", "Description": "A collection of tools and libraries for reading, creating and modifying ELF binaries, finding and processing DWARF debug data, symbols, thread status, and stack trace of processes and core files on GNU/Linux." @@ -12,7 +12,7 @@ "Name": "elfutils", "License": "LGPL V3 or GPL V2", "License File": "COPYING-LGPLV3", - "Version Number": "0.185", + "Version Number": "0.188", "Owner": "zhanghaibo0@huawei.com", "Upstream URL": "https://sourceware.org/elfutils/", "Description": "A collection of tools and libraries for reading, creating and modifying ELF binaries, finding and processing DWARF debug data, symbols, thread status, and stack trace of processes and core files on GNU/Linux." diff --git a/bundle.json b/bundle.json index 9ac2561f..861ade4d 100644 --- a/bundle.json +++ b/bundle.json @@ -1,7 +1,7 @@ { "name": "@ohos/elfutils", "description": "elfutils is a collection of utilities and libraries to read, create and modify ELF binary files, find and handle DWARF debug data, symbols, thread state and stacktraces for processes and core files on GNU/Linux.", - "version": "0.185", + "version": "4.0", "license": "LGPL V2.1,LGPL V3 or GPL v2", "publishAs": "code-segment", "segment": { diff --git a/config.h b/config.h index 401df94a..5030ef03 100644 --- a/config.h +++ b/config.h @@ -51,10 +51,20 @@ don't. */ #define HAVE_DECL_RAWMEMCHR 1 +/* Define to 1 if you have the declaration of `reallocarray', and to 0 if you + don't. */ +#define HAVE_DECL_REALLOCARRAY 1 + /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 +/* Define to 1 if you have the header file. */ +#define HAVE_ERROR_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ERR_H 1 + /* Defined if __attribute__((fallthrough)) is supported */ #define HAVE_FALLTHROUGH 1 @@ -70,8 +80,8 @@ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 +/* Define to 1 if you have the `mremap' function. */ +/* #undef HAVE_MREMAP */ /* Define to 1 if you have the `process_vm_readv' function. */ #define HAVE_PROCESS_VM_READV 1 @@ -85,10 +95,13 @@ /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_STDIO_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 -/* Define to 1 if you have the `strerror_r' function. */ +/* Define if you have `strerror_r'. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the header file. */ @@ -122,7 +135,7 @@ #define PACKAGE_NAME "elfutils" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "elfutils 0.185" +#define PACKAGE_STRING "elfutils 0.188" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "elfutils" @@ -131,12 +144,14 @@ #define PACKAGE_URL "http://elfutils.org/" /* Define to the version of this package. */ -#define PACKAGE_VERSION "0.185" +#define PACKAGE_VERSION "0.188" /* The size of `long', as computed by sizeof. */ #define SIZEOF_LONG 8 -/* Define to 1 if you have the ANSI C header files. */ +/* Define to 1 if all of the C90 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ #define STDC_HEADERS 1 /* Define to 1 if strerror_r returns char *. */ @@ -161,17 +176,12 @@ /* #undef USE_ZSTD */ /* Version number of package */ -#define VERSION "0.185" +#define VERSION "0.188" /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a `char[]'. */ #define YYTEXT_POINTER 1 -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif - /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ diff --git a/elfutils_config.gni b/elfutils_config.gni index ecacde85..e3162416 100644 --- a/elfutils_config.gni +++ b/elfutils_config.gni @@ -32,6 +32,7 @@ sources_backends = [ "//third_party/elfutils/backends/arm_corenote.c", "//third_party/elfutils/backends/arm_init.c", "//third_party/elfutils/backends/arm_initreg.c", + "//third_party/elfutils/backends/arm_machineflagname.c", "//third_party/elfutils/backends/arm_regs.c", "//third_party/elfutils/backends/arm_retval.c", "//third_party/elfutils/backends/arm_symbol.c", @@ -218,9 +219,11 @@ sources_libdw = [ "//third_party/elfutils/libdw/dwarf_linebeginstatement.c", "//third_party/elfutils/libdw/dwarf_lineblock.c", "//third_party/elfutils/libdw/dwarf_linecol.c", + "//third_party/elfutils/libdw/dwarf_linecontext.c", "//third_party/elfutils/libdw/dwarf_linediscriminator.c", "//third_party/elfutils/libdw/dwarf_lineendsequence.c", "//third_party/elfutils/libdw/dwarf_lineepiloguebegin.c", + "//third_party/elfutils/libdw/dwarf_linefunctionname.c", "//third_party/elfutils/libdw/dwarf_lineisa.c", "//third_party/elfutils/libdw/dwarf_lineno.c", "//third_party/elfutils/libdw/dwarf_lineop_index.c",