| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
debug strtabs with type SHT_STRTAB. Although we could change FreeBSD's
gcc, we really need to play nicely with gcc as distributed by the FSF.
|
| |
|
| |
|
|
|
|
|
|
|
| |
PR: 121490
Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by: rwatson (mentor), jkoshy
MFC after: 3 days
|
|
|
|
|
|
|
| |
consistent with the section indices returned to the application by
elf_ndxscn().
Submitted by: kaiw
|
|
|
|
|
|
|
|
|
| |
section header entry if the application is not taking charge of ELF
object layout.
Update (c) years, and bump the manual page's date.
Submitted by: kaiw
|
|
|
|
|
|
| |
- Update (c) years.
Submitted by: kaiw [1]
|
|
|
|
|
|
| |
between 64 and 32 bit variants.
Submitted by: kaiw
|
|
|
|
| |
Submitted by: kaiw
|
|
|
|
|
|
|
|
|
| |
elf{32,64}_xlateto[fm]() translation functions. This change makes our
libelf compatible with other ELF(3) implementations. [1]
- Update manual page to reflect this change.
- Style fixes: wrap a long line.
Submitted by: jb [1]
|
|
|
|
|
|
|
| |
page and code to match.
Submitted by: jb
MFC After: 1 day
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
|
|
| |
point the reader to the elf_getphnum() function.
MFC after: 1 day
|
|
|
|
|
|
| |
on application control of ELF object layout.
MFC after: 1 day
|
|
|
|
| |
Approved by: re (bmah)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with section header tables residing in between other sections.
Introduce additional checks for overlaps between section data and
the section header table when the application is performing section
layout.
Document additional error returns.
Reported by: Kai Wang <kaiw27 at gmail dot com>
Approved by: re (rwatson)
|
|
|
|
| |
Approved by: re (bmah)
|
| |
|
|
|
|
| |
Elf_Arhdr structures better.
|
|
|
|
|
|
|
|
|
| |
- Correctly retrieve the initial (special) members of an archive after
an archive descriptor is rewound using elf_rand(SARMAG).
- Do not strip trailing white space from the 'raw' names retrieved
using elf_getarhdr().
Reported by: "Hyo geol, Lee" <hyogeollee at gmail dot com>
|
| |
|
|
|
|
| |
Submitted by: Kai Wang <kaiw27 at gmail dot com>
|
|
|
|
| |
Prodded by: Sam Arun Raj <samarunraj at gmail dot com>
|
|
|
|
| |
Submitted by: Kai Wang <kaiw27 at gmail dot com>
|
|
|
|
|
|
| |
were using translated data linked list, leading to a memory leak.
Jkoshy's testsuite was used to check for non-regression.
|
|
|
|
| |
that require extended numbering.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
members of the ELF Executable Header inside the library-private
`struct _Elf' descriptor and only update the underlying Elf{32,64}_Ehdr
structure on an elf_update(3) call. These fields of the Ehdr
structure are technically `out of bounds' for an application program
per the ELF(3) API, but we've seen applications that initialize
a new Ehdr structure using memcpy(), messing up the library's
invariants. [1]
Implement elf_getphnum() and handle ELF objects with more than
64K program header table entries.
Reported by: jb [1]
|
|
|
|
|
| |
a `struct ar_hdr'. These members do not use NUL-termination
while strlcpy() expects its source buffer to be NUL-terminated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to determine which Elf Types are to be handled. Change the M4
templates to wrap an `#if __FreeBSD_version >= NNN'/`#endif' pair
around the generated code for each ELF data type, where `NNN' is
the OS version where the ELF type was added to the source tree.
This change allows cross-builds of old sources on newer FreeBSD
systems to work correctly.
Problem reported by: ru
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Document the relationship between section types (SHT_*) and the
types known to the libelf.
|
| |
|
|
|
|
|
| |
- don't add generated sources' objects to OBJS explicitly;
GENSRCS is part of SRCS so they were already in OBJS.
|
|
|
|
|
|
|
| |
- make document title match filename;
- remove hard sentence breaks, whitespace at EOL, and double whitespace;
- sort SEE ALSO xrefs, adding missing section numbers;
- fix a misspelled macro name.
|
|
|
|
|
|
|
|
| |
is for when you need something in ".depend", but not compiled in.
- Style fixes: Spell ${.OBJDIR} as ".".
- Neaten a comment.
Submitted by: ru
|
|
Bump __FreeBSD_version.
Reviewed by: jb
|