| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
-fno-rtti. The clang libaries that really use exceptions and virtual
functions can enable LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI
respectively. This saves space on the resulting binaries and follows
what's being done upstream.
Submitted by: Dimitry Andric <dimitry at andric.com>
|
|
|
|
|
|
|
|
| |
to catch invalid signal numbers [1]. Use consistent style of
not assigning the return value to a local variable.
Reported by: Garrett Cooper <yanegomi gmail com> [1]
MFC after: 1 week
|
|
|
|
|
|
|
| |
* Document an additional error that may be returned: `ELF_E_ARCHIVE`.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
* Ignore the passed in value of the `fd` argument for ar(1) archives
opened with elf_memory(3).
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
`_libelf_ar_open()` to a new compilation unit "libelf_ar_util.c"
to break the circular dependency between "elf_memory.o" and
"libelf_ar.o".
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
| |
favour of `elf_getshdrnum()`, `elf_getphdrnum()` and `elf_getshdrstrndx()`
respectively.
* Add new manual pages for `elf_getshdrstrndx()`, `elf_getphdrnum()` and
`elf_getshdrnum()`.
* Add a deprecation warning for `elf_getshstrndx()`, `elf_getphnum()` and
`elf_getshnum()`.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
| |
generated from "libelf_convert.m4".
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
| |
types that don't have a fixed size.
- The *fsize() functions should return a size of 1, for variable length
types.
- Redefine symbol ELF_T_LAST to match the current end of the list.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
representations of ELF types.
The ELF(3) API allows applications to request a conversion that is
`in-place', i.e., with source and destinations data buffers being
the same. However, the file and memory sizes of ELF sections that
have additional internal structure, such as those of type `Elf_Note',
or `Elf_GNU_Hash_Header', can be determined only known after the
type-specific headers that comprise the first few words in these
sections are read and translated.
Pass in the size of destination buffer to type translation routines
in "libelf_convert.m4" and have these routines return an error code
if the translated data would not fit inside the destination buffer.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
| |
- Neaten a few comments.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
| |
have a fixed size.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
when an output file has no program headers, set the 'e_phentsize'
field of the ELF executable header to zero.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
the appropriate `dirty' bit needs to be set for both the Elf32 and
Elf64 case.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
| |
- elf_getdata() and elf_rawdata() should return an "Elf_Data" structure
that has its "d_buf" member set to NULL and "d_size" member set to
the nominal 'size' of the section. [1]
- Update the manual page for these functions.
- Fix a memory leak in an error handling path inside elf_getdata().
- Use _libelf_allocate_data() in elf_newdata() for consistency.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
| |
If you run `man utmpx', you expect to get some info on it.
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit merges the latest LLVM sources from the vendor space. It
also updates the build glue to match the new sources. Clang's version
number is changed to match LLVM's, which means /usr/include/clang/2.0
has been renamed to /usr/include/clang/2.8.
Obtained from: projects/clangbsd
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|