summaryrefslogtreecommitdiffstats
path: root/lib/libelf
Commit message (Collapse)AuthorAgeFilesLines
* MFC r312452-r312512:ngie2017-02-101-1/+1
| | | | | | | | | | r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
* elftoolchain: Use ${SRCTOP} for the top of the FreeBSD treeemaste2016-04-211-3/+3
| | | | | | | | It's provided by sys.mk so there's no need to derive it from ${.CURDIR}. Suggested by: ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5998
* Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchainemaste2016-04-181-1/+1
| | | | | | | This produces a nicer path in debug info and build logs. MFC after: 1 week Sponsored by: The FreeBSD Foundation
* MFHgjb2016-03-021-9/+0
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Regenerate without local dependencies.bdrewery2016-02-241-9/+0
| | | | | | | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division
* | First pass through library packaging.gjb2016-02-041-0/+1
|/ | | | Sponsored by: The FreeBSD Foundation
* Correct r291566 for defining SHLIBDIR.bdrewery2015-12-011-1/+3
| | | | | | | This must happen before including bsd.own.mk which sets the default to /usr/lib. X-MFC-With: r291566 Reported by: Max N. Boyarov
* Move libelf.so.2 from /usr/lib to /lib to unbreak libkvm use after r291406ngie2015-12-011-0/+1
| | | | | | | | | | | Tested with the following commands as root: - yes | make delete-old - service ldconfig restart - netstat -nr X-MFC with: r291406 Reviewed by: jhb, kib Sponsored by: EMC / Isilon Storage Division
* META MODE: Fix 'make bootstrap-tools'.bdrewery2015-11-251-1/+1
| | | | | | | | | | | | | | | The main problem was bitrot after elftoolchain being swapped in for the GNU toolchain. This also reworks how the list of 'host allowed' libraries is determined to only allow INTERNALLIBs, which is needed for libelftc to come in. For usr.bin/readelf use the same hack, as libelf and libdward, to bring in the needed sys/ headers for host builds. This has not yet been a problem due to readelf not being built as a host tool in buildworld. This is possible in the meta build though when building the toolchain. Sponsored by: EMC / Isilon Storage Division
* META MODE: Don't create .meta files when symlinking sources into the obj ↵bdrewery2015-11-251-2/+2
| | | | | | | | | | | directory. Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln are newer than the source file. There's no reason for meta mode to do this as make is already handling the rebuild dependency fine. Sponsored by: EMC / Isilon Storage Division
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-251-1/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* Add META_MODE support.sjg2015-06-131-0/+28
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Updated dependenciessjg2014-05-161-1/+1
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Merge headsjg2014-04-27109-15243/+21
| |\ | |/ |/|
| * Merge from headsjg2013-09-051-1/+9
| |\
| * \ sync from headsjg2013-04-123-130/+205
| |\ \
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Updated/new Makefile.dependsjg2012-11-081-0/+3
| | | |
| | | |
| | \ \
| | \ \
| | \ \
| *---. \ \ Sync from headsjg2012-11-045-18/+31
| |\ \ \ \ \
| * | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | Bump SHLIB_MAJOR for libelf.kaiw2014-01-211-1/+1
| | | | | | |
* | | | | | | Reapply revisions r237528, r237531 and r238741 which make libelfkaiw2014-01-211-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | properly include sys/ headers from the source tree instead of the host. These patches are also applied to libdwarf since libdwarf requires the same sys/ headers as libelf.
* | | | | | | Remove INCSDIR variable which is only used in elftoolchain's own buildkaiw2014-01-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | framework.
* | | | | | | Set CFLAGS in just one line.kaiw2014-01-151-4/+1
| | | | | | |
* | | | | | | Removed source code for the old libelf and build the new libelf fromkaiw2014-01-15109-15254/+23
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | contrib/ instead.
* | | | | | Add support to the ARM platform specific section types.andrew2013-08-311-1/+9
| |_|_|_|/ |/| | | |
* | | | | Merge part of r1712 from elftoolchain, making it possible to resize ELFmarkj2013-02-241-127/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sections and indirectly change the layout of an ELF file when ELF_F_LAYOUT is not set. PR: bin/167103 Approved by: rstone (co-mentor) Obtained from: elftoolchain MFC after: 2 weeks
* | | | | - Make sure to set an error code when trying to obtain a data descriptor formarkj2013-02-192-3/+24
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a section of type SHT_NULL. - Update the man page to reflect the fact that elf_getdata() and elf_rawdata() may return with an error of ELF_E_SECTION. PR: bin/175491 Approved by: emaste (co-mentor) MFC after: 1 week
* | | | Fix warnings found by -Wmising-variable-declarations.ed2012-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This self-written compiler warning, which is hopefully going to be committed into LLVM sources soon, warns about potentially missing `static' keywords, similar to -Wmissing-prototypes. - bin/pax: Move external declaration of chdname and s_mask into extern.h. - bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h. - sbin/mount_fusefs: Remove char *progname; use getprogname(). - others: add `static' where possible.
* | | | Don't ever build files depending on the directory where they are placed in.ache2012-07-241-4/+2
| |/ / |/| | | | | | | | | | | | | | | | | It is obvious that its modification time will change with each such file builded. This bug cause whole libelf to rebuild itself each second make run (and relink that files on each first make run) in the loop.
* | | Add the sys directory we create to the list of items to clean.andrew2012-06-241-0/+1
| | |
* | | Create a symlink to sys/elf32.h, sys/elf64.h, and sys/elf_common.h.andrew2012-06-241-1/+15
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building libelf in the bootstrap stage this would include the tree versions of, for example, sys/_types.h. This would work as long as the tree's version of this file was close enough to the system's version of the file. If, however, there was a change in the tree such that the location of a typedef was moved this would cause problems. In this case the version of sys/_types.h in the tree no longer defines __wchar_t and expects it to to be defined in machine/_types.h, however we pick up machine/_types.h from the system and find it is not defined there. The solution is to restrict the parts of sys er include from the tree to those that are needed. This fixes the recent Tinderbox failure. Pointy Hat to: andrew
* | Remove repeated words.joel2012-06-051-1/+1
| |
* | mdoc: minor Bl improvements.joel2012-06-022-15/+15
|/
* General mdoc(7) and typo fixes.gjb2012-05-114-4/+5
| | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Remove trailing whitespace per mdoc lint warningeadler2012-03-292-2/+2
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Handle MIPS .reginfo section as ELF_T_BYTEgonzo2012-03-261-0/+2
|
* mdoc: sort prologue macros.joel2012-03-263-3/+3
|
* Remove superfluous paragraph macro.joel2012-03-256-6/+0
|
* Add handler for MIPS.options sectiongonzo2012-03-231-0/+2
|
* - change "is is" to "is" or "it is"eadler2011-10-161-1/+1
| | | | | | | | - change "the the" to "the" Approved by: lstewart Approved by: sahil (mentor) MFC after: 3 days
* Document the behavior of `elf_getdata()` and `elf_rawdata()` withkaiw2011-05-071-4/+5
| | | | | | zero-sized ELF sections. Obtained from: elftoolchain
* For zero-sized sections, set the `d_buf` field of the `Elf_Data`kaiw2011-05-071-1/+2
| | | | | | descriptor returned by `elf_rawdata()` to NULL. Obtained from: elftoolchain
* Add the ability to search for all the inlined instances of a given function.obrien2011-05-072-1/+3
| | | | | Reviewed by: jb Obtained from: Juniper Networks
* Fix some duplicate-word typos in manpages.uqs2011-03-021-1/+1
| | | | | Submitted by: arundel MFC after: 1 week
* Remove duplicate "in".brucec2011-03-011-1/+1
| | | | | Suggested by: Rob Farmer <rfarmer at predatorlabs.net> MFC after: 3 days
* Revert some of r177626. "in in" is valid in certain sentences.brucec2011-02-281-1/+1
| | | | | PR: 121490 MFC after: 3 days
OpenPOWER on IntegriCloud