Author: kaiw
Date: Sat May 7 10:44:08 2011
New Revision: 221594
URL: http://svn.freebsd.org/changeset/base/221594
Log:
* Rewrite ar.5 mannual page to better document ar(1) archive format.
* Use more standard BSD license.
Obtained from:elftoolchain
Modified:
head/share/man/man5
Author: kaiw
Date: Sat May 7 11:04:36 2011
New Revision: 221595
URL: http://svn.freebsd.org/changeset/base/221595
Log:
For zero-sized sections, set the `d_buf` field of the `Elf_Data`
descriptor returned by `elf_rawdata()` to NULL.
Obtained from:elftoolchain
Modified:
head/lib
Author: kaiw
Date: Sat May 7 11:29:48 2011
New Revision: 221598
URL: http://svn.freebsd.org/changeset/base/221598
Log:
Document the behavior of `elf_getdata()` and `elf_rawdata()` with
zero-sized ELF sections.
Obtained from:elftoolchain
Modified:
head/lib/libelf/elf_getdata.3
Author: kaiw
Date: Sun May 9 09:20:25 2010
New Revision: 207812
URL: http://svn.freebsd.org/changeset/base/207812
Log:
Catch up with libusbhid merge (rev 205728).
hid_get_data() now expects that the hid data passed in always contains
the report ID byte. Thus we should not skip the the re
Author: kaiw
Date: Mon May 17 09:37:59 2010
New Revision: 208189
URL: http://svn.freebsd.org/changeset/base/208189
Log:
Removed ar(1)'s support for compressed archives. This change removes
ar(1)'s dependencies on compressor libraries -lz, -lbz2 and -llzma and
fixes building HEAD on some vers
Author: kaiw
Date: Sun Jun 13 10:58:50 2010
New Revision: 209122
URL: http://svn.freebsd.org/changeset/base/209122
Log:
* Improve compatibility with existing application code by permitting the
use of `elf_getbase()` on non-archive members. This change is needed
for gcc LTO (-flto) to wor
On Sun, Jun 13, 2010 at 09:37:10AM -0700, Steve Kargl wrote:
> On Sun, Jun 13, 2010 at 10:58:50AM +0000, Kai Wang wrote:
> > Author: kaiw
> > Date: Sun Jun 13 10:58:50 2010
> > New Revision: 209122
> > URL: http://svn.freebsd.org/changeset/base/209122
> >
>
Author: kaiw
Date: Wed Jul 21 08:43:48 2010
New Revision: 210321
URL: http://svn.freebsd.org/changeset/base/210321
Log:
Remove a superfluous comment.
Obtained from: elftoolchain
MFC after: 1 month
Modified:
head/lib/libelf/elf_update.c
Modified: head/lib/libelf/elf
Author: kaiw
Date: Wed Jul 21 08:54:46 2010
New Revision: 210324
URL: http://svn.freebsd.org/changeset/base/210324
Log:
- Correctly handle sections of type SHT_NOBITS. For these sections:
- elf_getdata() and elf_rawdata() should return an "Elf_Data" structure
that has its "d_buf" memb
Author: kaiw
Date: Wed Jul 21 08:58:52 2010
New Revision: 210325
URL: http://svn.freebsd.org/changeset/base/210325
Log:
Bug fix: when updating headers using the gelf_update_*() functions,
the appropriate `dirty' bit needs to be set for both the Elf32 and
Elf64 case.
Obtained from:
On Wed, Jul 21, 2010 at 10:51:17AM +0200, Roman Divacky wrote:
> On Wed, Jul 21, 2010 at 08:54:46AM +0000, Kai Wang wrote:
> > Author: kaiw
> > Date: Wed Jul 21 08:54:46 2010
> > New Revision: 210324
> > URL: http://svn.freebsd.org/changeset/base/210324
> >
On Wed, Jul 21, 2010 at 09:06:23AM +, Alexey Dokuchaev wrote:
> On Wed, Jul 21, 2010 at 08:43:48AM +0000, Kai Wang wrote:
> > Author: kaiw
> > Date: Wed Jul 21 08:43:48 2010
> > New Revision: 210321
> > URL: http://svn.freebsd.org/changeset/base/210321
> >
&g
Author: kaiw
Date: Wed Jul 21 09:20:40 2010
New Revision: 210326
URL: http://svn.freebsd.org/changeset/base/210326
Log:
Improve compatibility with other implementations of the ELF(3) API:
when an output file has no program headers, set the 'e_phentsize'
field of the ELF executable header to
Author: kaiw
Date: Wed Jul 21 09:27:16 2010
New Revision: 210328
URL: http://svn.freebsd.org/changeset/base/210328
Log:
Bug fix: permit the creation of zero-sized sections.
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/elf_update.c
Modified
Author: kaiw
Date: Wed Jul 21 09:33:45 2010
New Revision: 210329
URL: http://svn.freebsd.org/changeset/base/210329
Log:
Use to declare the prototype for ftruncate().
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/elf_begin.c
Modified: head/
Author: kaiw
Date: Wed Jul 21 09:47:14 2010
New Revision: 210330
URL: http://svn.freebsd.org/changeset/base/210330
Log:
Allow an application that updates only the ELF Ehdr to work.
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/_libelf.h
he
Author: kaiw
Date: Wed Jul 21 09:51:24 2010
New Revision: 210331
URL: http://svn.freebsd.org/changeset/base/210331
Log:
Add a new ELF type denoting GNU style hash tables.
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/libelf.h
Modified: head
Author: kaiw
Date: Wed Jul 21 09:56:42 2010
New Revision: 210332
URL: http://svn.freebsd.org/changeset/base/210332
Log:
Changes for supporting GNU Hash sections.
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/libelf_align.c
head/lib/libelf/
Author: kaiw
Date: Wed Jul 21 10:02:59 2010
New Revision: 210333
URL: http://svn.freebsd.org/changeset/base/210333
Log:
Note that the *_fsize() functions are only defined for ELF types that
have a fixed size.
Obtained from:elftoolchain
MFC after:1 month
Modified:
Author: kaiw
Date: Wed Jul 21 10:08:25 2010
New Revision: 210335
URL: http://svn.freebsd.org/changeset/base/210335
Log:
- Return zero for file sizes of ELF types that have a variable size.
- Neaten a few comments.
Obtained from:elftoolchain
MFC after:1 month
Modifie
Author: kaiw
Date: Wed Jul 21 10:11:46 2010
New Revision: 210336
URL: http://svn.freebsd.org/changeset/base/210336
Log:
Reduce verbosity.
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/libelf_fsize.m4
Modified: head/lib/libelf/libelf_fsize.m
Author: kaiw
Date: Wed Jul 21 10:25:02 2010
New Revision: 210338
URL: http://svn.freebsd.org/changeset/base/210338
Log:
Perform additional checks when translating between file and memory
representations of ELF types.
The ELF(3) API allows applications to request a conversion that is
`in
Author: kaiw
Date: Wed Jul 21 10:39:29 2010
New Revision: 210340
URL: http://svn.freebsd.org/changeset/base/210340
Log:
- Document that the *fsize() functions return a size of 1 for Elf
types that don't have a fixed size.
- The *fsize() functions should return a size of 1, for variable len
Author: kaiw
Date: Wed Jul 21 10:57:22 2010
New Revision: 210341
URL: http://svn.freebsd.org/changeset/base/210341
Log:
Add support for translating sections of type ELF_T_GNUHASH.
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/elf_types.m4
Author: kaiw
Date: Wed Jul 21 11:26:18 2010
New Revision: 210344
URL: http://svn.freebsd.org/changeset/base/210344
Log:
Avoid switching between "unsigned char" and "char" in the C code
generated from "libelf_convert.m4".
Obtained from:elftoolchain
MFC after:1 month
Author: kaiw
Date: Wed Jul 21 12:14:50 2010
New Revision: 210345
URL: http://svn.freebsd.org/changeset/base/210345
Log:
* Deprecate `elf_getshnum()`, `elf_getphnum()` and `elf_getshstrndx()` in
favour of `elf_getshdrnum()`, `elf_getphdrnum()` and `elf_getshdrstrndx()`
respectively.
* A
Author: kaiw
Date: Wed Jul 21 12:30:58 2010
New Revision: 210347
URL: http://svn.freebsd.org/changeset/base/210347
Log:
Fix a memory leak.
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/elf_update.c
Modified: head/lib/libelf/elf_update.c
===
Author: kaiw
Date: Wed Jul 21 12:54:34 2010
New Revision: 210348
URL: http://svn.freebsd.org/changeset/base/210348
Log:
Move helper functions `_libelf_ar_get_{name,number,string}()` and
`_libelf_ar_open()` to a new compilation unit "libelf_ar_util.c"
to break the circular dependency between
Author: kaiw
Date: Wed Jul 21 13:00:01 2010
New Revision: 210349
URL: http://svn.freebsd.org/changeset/base/210349
Log:
Remove a redundant word.
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/elf.3
Modified: head/lib/libelf/elf.3
===
Author: kaiw
Date: Wed Jul 21 13:18:57 2010
New Revision: 210351
URL: http://svn.freebsd.org/changeset/base/210351
Log:
* Note that ar(1) archives may also be opened using `elf_memory(3)`.
* Ignore the passed in value of the `fd` argument for ar(1) archives
opened with elf_memory(3).
Author: kaiw
Date: Wed Jul 21 13:23:07 2010
New Revision: 210352
URL: http://svn.freebsd.org/changeset/base/210352
Log:
Add a cross-reference to `elf_rawfile(3)`.
Obtained from:elftoolchain
MFC after:1 month
Modified:
head/lib/libelf/elf_getdata.3
Modified: head/li
Author: kaiw
Date: Wed Jul 21 13:29:00 2010
New Revision: 210353
URL: http://svn.freebsd.org/changeset/base/210353
Log:
* Remove a superfluous error description.
* Document an additional error that may be returned: `ELF_E_ARCHIVE`.
Obtained from:elftoolchain
MFC after:
Author: kaiw
Date: Wed Jul 28 11:01:07 2010
New Revision: 210559
URL: http://svn.freebsd.org/changeset/base/210559
Log:
Protect GNUHASH translation functions with #ifdef; unbreak cross
toolchain build.
Reported by: jchandra
MFC after:1 month
Modified:
head/lib/libelf/libelf_conv
Author: kaiw
Date: Wed Aug 11 19:59:31 2010
New Revision: 211192
URL: http://svn.freebsd.org/changeset/base/211192
Log:
Add translation support for section type SHT_SUNW_dof.
Submitted by: rpaulo
MFC after:2 weeks
Modified:
head/lib/libelf/libelf_data.c
Modified: head/lib/libelf/l
Author: kaiw
Date: Thu Sep 9 18:51:50 2010
New Revision: 212373
URL: http://svn.freebsd.org/changeset/base/212373
Log:
libelf is overly strict about the type and alignment of Elf_Data
objects inside one ELF section, which prevents the creation of a ELF
section with mixed data types. For exa
On Thu, Sep 09, 2010 at 07:54:02PM -0700, Steve Kargl wrote:
> On Thu, Sep 09, 2010 at 06:51:50PM +0000, Kai Wang wrote:
> > Author: kaiw
> > Date: Thu Sep 9 18:51:50 2010
> > New Revision: 212373
> > URL: http://svn.freebsd.org/changeset/base/212373
> >
>
Author: kaiw
Date: Sun Nov 28 18:53:57 2010
New Revision: 216014
URL: http://svn.freebsd.org/changeset/base/216014
Log:
Add option -D for ranlib(1). When -D is speicified, ranlib(1) will generate
a deterministic archive symbol table (i.e. timestamp for the symbol table
member header is set t
Author: kaiw
Date: Sun Dec 26 18:10:39 2010
New Revision: 216716
URL: http://svn.freebsd.org/changeset/base/216716
Log:
* Add mention of the `-f`, `-q`, `-S`, and `-V` options in the synopsis
section.
* Document the `-l`, `-M` and `-S` options.
* Improve the text describing the behavior
Author: kaiw
Date: Sun Dec 26 18:12:13 2010
New Revision: 216717
URL: http://svn.freebsd.org/changeset/base/216717
Log:
Improve the description of the `-q` option.
Obtained from:elftoolchain
Modified:
head/usr.bin/ar/ar.1
Modified: head/usr.bin/ar/ar.1
==
Author: kaiw
Date: Sun Dec 26 18:15:32 2010
New Revision: 216719
URL: http://svn.freebsd.org/changeset/base/216719
Log:
Document the syntax accepted by the `-M` option.
Obtained from:elftoolchain
Modified:
head/usr.bin/ar/ar.1
Modified: head/usr.bin/ar/ar.1
=
Author: kaiw
Date: Sun Jun 30 21:06:47 2013
New Revision: 252430
URL: http://svnweb.freebsd.org/changeset/base/252430
Log:
When decoding SLEB128, make sure sign extension is performed for
64-bit integers.
MFC after:3 days
Modified:
head/lib/libdwarf/dwarf_init.c
head/lib/libdwarf
Author: kaiw
Date: Tue Jan 28 21:38:54 2014
New Revision: 261246
URL: http://svnweb.freebsd.org/changeset/base/261246
Log:
Merge from projects/elftoolchain: Upgrade libelf and libdwarf to newer
versions from elftoolchain upstream (r2974). Convert ctfconvert to
use the APIs from the new libd
On Tue, Jan 28, 2014 at 03:01:39PM -0800, Adrian Chadd wrote:
> .. and was this tested on anything other than i386/amd64?
>
> Don't be too hasty to MFC; us guys in ARM, PPC, MIPS, SPARC and IA64
> world have to now retest everything. It'll take time for this to shake
> out.
Of course!
I can help
On Tue, Jan 28, 2014 at 05:37:11PM -0500, Pedro Giffuni wrote:
> 2) We start seeing more of those binutils replacements[1] in elftoolchain
> find their way into the tree now that they are already in the vendor area.
Yes I will try to do that later. Some of the binutils replacements in
elftoolchai
Author: kaiw
Date: Wed Jan 29 09:58:05 2014
New Revision: 261259
URL: http://svnweb.freebsd.org/changeset/base/261259
Log:
Only declare `bysz' variable under little endian archs.
Modified:
head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c
Modified: head/cddl/contrib/opensolaris/tools/ctf/c
Author: kaiw
Date: Sun Dec 13 08:27:14 2015
New Revision: 292158
URL: https://svnweb.freebsd.org/changeset/base/292158
Log:
Fixed uninitialized variable warnings.
Modified:
head/contrib/elftoolchain/readelf/readelf.c
Modified: head/contrib/elftoolchain/readelf/readelf.c
=
2015-12-13 7:04 GMT+01:00 Adrian Chadd :
> Hm!
>
> cc1: warnings being treated as errors
>
> /usr/home/adrian/work/freebsd/head-embedded/src/usr.bin/readelf/../../contrib/elftoolchain/readelf/readelf.c:
> In function 'dump_dwarf':
>
> /usr/home/adrian/work/freebsd/head-embedded/src/usr.bin/readelf
Author: kaiw
Date: Sat Mar 27 08:00:16 2010
New Revision: 205728
URL: http://svn.freebsd.org/changeset/base/205728
Log:
Merge improvements from kernel HID parser to the userland usbhid(3)
parser. This merge does not change any API and should not break any
native or thirdparty applications.
48 matches
Mail list logo