Commit Graph

51 Commits

Author SHA1 Message Date
jkoshy 5498ebb8e7 Merge from upstream [r3984]: allow the use of the generated
'elfdefinitions.h' file in compilation environments lacking
C99 headers.
2022-05-08 17:28:14 +00:00
jkoshy 2dc6aafac8 Add a script from upstream that assists with importing upstream
Elftoolchain sources.
2022-05-04 11:07:43 +00:00
jkoshy 55387571fd Catch up with Elftoolchain head: changes to support 'tools' builds
out of the box.
2022-05-03 16:47:15 +00:00
jkoshy 4a1c2f9704 Catch up with Elftoolchain upstream <r3980>. 2022-05-02 20:27:43 +00:00
jkoshy d9c2ca1f96 Add NetBSD version control markers. 2022-05-02 09:43:23 +00:00
jkoshy 41230fd906 Remove trailing whitespace from upstream revision strings.
No functional change.
2022-05-01 19:41:35 +00:00
jkoshy 3ee194030b Remove trailing whitespace from upstream revision strings to reduce
diffs against upstream.

No functional change.
2022-05-01 17:20:47 +00:00
jkoshy cdbf1fe1d8 Sync libdwarf's manual pages with upstream [r3964]. 2022-03-14 20:50:48 +00:00
jkoshy 3f622274cf Sync libelf's manual pages with upstream [r3963]. 2022-03-12 21:37:55 +00:00
jkoshy d72e1298d9 Sync with Elftoolchain upstream r3948. 2021-04-29 17:40:42 +00:00
jkoshy 44afc40030 Add a version control system marker. 2021-04-29 17:38:08 +00:00
jkoshy 18a6f9e0e2 Remove files that no longer exist upstream. 2021-04-24 09:42:00 +00:00
jkoshy 53ddd80999 Update Elftoolchain 'common/elfdefinitions.h' to upstream r3943. 2021-04-08 19:37:43 +00:00
jkoshy fea1b4806a Traverse the Elftoolchain 'common' module before
the rest of the imported hierarchy.
2021-04-07 20:32:54 +00:00
jkoshy 90eb0bce92 Ensure that the 'libelf' directory is traversed before 'libdwarf'. 2021-04-07 20:31:16 +00:00
jkoshy 9986e83d38 Mirror upstream build steps: traverse 'common' before traversing 'lib'. 2021-04-06 19:44:24 +00:00
jkoshy f2d414b94a Prepare for <elfdefinitions.h> and <sys/elfdefinitions.h> to be installed
into ${DESTDIR}/usr/include.
2021-04-06 19:40:19 +00:00
jkoshy ccea5483fd Sync with upstream r3943. 2021-04-06 19:28:25 +00:00
jkoshy e9cacda8b3 Add files present in upstream revision r3943. 2021-04-06 18:38:04 +00:00
jkoshy 86dd7541e7 Update to upstream elftoolchain revision r3933. 2021-03-10 21:36:29 +00:00
jkoshy c5261b8388 Update libelf's manual pages to upstream revision [r3928]. 2021-03-08 20:55:06 +00:00
jkoshy 6357c36138 Sync with Elftoolchain [r3916]: update the list of known EM_* values. 2021-03-07 14:53:59 +00:00
jkoshy d1342fa268 Unbreak the lint build (sync to elftoolchain [r3912]). 2020-11-30 22:26:30 +00:00
jkoshy 604b08429e Sync libdwarf's manual pages with upstream. 2020-11-26 22:51:35 +00:00
jkoshy ef39d52e3c Sync with elftoolchain upstream. 2020-11-26 21:52:00 +00:00
jkoshy fd073023b0 Restore an overlooked 'Id' line. 2020-11-26 21:01:47 +00:00
jkoshy b16194a2b0 Sync '_elftc.h' with the upstream elftoolchain project. 2020-11-21 21:04:25 +00:00
jkoshy e40f8f8406 Update 'elfdefinitions.h' to elftoolchain revision [r3891]. 2020-11-19 20:58:30 +00:00
jkoshy 1b4a9ac54c Sync 'utarray.h' and 'uthash.h' with elftoolchain revision [r3891].
This change upgrades these files to UT{HASH,ARRAY}_VERSION 2.1.0.
2020-11-18 22:23:05 +00:00
christos e8b7cd3e82 remove more unreachable code. 2018-02-10 23:46:44 +00:00
christos 4ac26a154e Convert to full recursive attr/die lookup instead of one level since gcc 6
creates indirect attributes that point to indirect attributes. The code is
smaller this way too :-)
2018-02-10 23:39:29 +00:00
christos 888e2fefae add more DW_ATE_ constants 2017-11-30 19:45:53 +00:00
wiz e09a2cef0e Replace Xr to itself with Nm. 2016-04-28 07:06:11 +00:00
christos f6e1dd671e Delay freeing the die where the indirect attribute is found. Found by jemalloc
J, see: https://mail-index.netbsd.org/current-users/2016/03/28/msg029130.html
2016-03-31 15:53:33 +00:00
christos 6f5d40c1b7 tidy up: parse DW_AT_specification like DW_AT_abstract_origin 2016-03-18 14:58:18 +00:00
christos f67f429ca8 remove unused label. 2016-03-17 19:02:38 +00:00
christos 4266f2333f Handle DW_AT_specification better; also don't core-dump if at == NULL.
XXX: Is that right?
2016-03-17 18:52:26 +00:00
christos 2d7c1584f4 Don't use os-specific defines when cross-compiling. 2016-03-13 03:47:41 +00:00
hannken 71d1b0cc02 Relocation of type SHT_REL must use the current value as addend.
Fixes ctfconvert for i386 where section .debug_info uses this relocation.

Ok: Christos Zoulas
2016-03-07 14:32:02 +00:00
christos a844544399 bump version 2016-02-20 02:44:02 +00:00
christos 42bd301920 merge conflicts 2016-02-20 02:43:41 +00:00
christos 39a6cffc33 Import latest elftoolchain components needed for CTF from FreeBSD 2016-02-20 02:42:00 +00:00
christos cffe196c42 For the tools version we determine our own arch, we don't need to figure
it out at runtime in the linux case.
2016-02-01 02:16:48 +00:00
christos 8ec658f57a - Change LDADD/DPADD in library dependencies to LIBDPLIBS
- Fix some LDADD abuse and remove useless dependencies
- include <bsd.init.mk> in the right place where appropriate
From Rin Okuyama
2016-01-05 13:07:46 +00:00
christos acb11aeb8e fix the native build 2015-09-29 22:14:14 +00:00
christos b97202a0e1 make this tools friendly. 2015-09-29 19:43:39 +00:00
martin 015ca5a910 Add missing break, following upstream.
Reported by Henning Petersen in PR bin/49567.
2015-01-14 09:29:27 +00:00
christos 903821805f lint has __alignof__ too. 2014-04-18 02:28:06 +00:00
christos 282742d04b add SHLIB_MINOR 2014-03-09 18:11:37 +00:00
christos e81373b450 put back our changes, RCSIDs, and build glue 2014-03-09 16:58:03 +00:00