readelf/objdump: support for SFrame section
This patch adds support for SFrame in readelf and objdump. The arguments of --sframe are optional for both readelf and objdump. include/ChangeLog: * sframe-api.h (dump_sframe): New function declaration. ChangeLog: * binutils/Makefile.am: Add dependency on libsframe for readelf and objdump. * binutils/Makefile.in: Regenerate. * binutils/doc/binutils.texi: Document --sframe=[section]. * binutils/doc/sframe.options.texi: New file. * binutils/objdump.c: Add support for SFrame format. * binutils/readelf.c: Likewise. * include/sframe-api.h: Add new API for dumping .sframe section. * libsframe/Makefile.am: Add sframe-dump.c. * libsframe/Makefile.in: Regenerate. * libsframe/sframe-dump.c: New file.
Showing
- binutils/Makefile.am 4 additions, 4 deletionsbinutils/Makefile.am
- binutils/Makefile.in 4 additions, 4 deletionsbinutils/Makefile.in
- binutils/doc/binutils.texi 4 additions, 0 deletionsbinutils/doc/binutils.texi
- binutils/doc/sframe.options.texi 10 additions, 0 deletionsbinutils/doc/sframe.options.texi
- binutils/objdump.c 75 additions, 0 deletionsbinutils/objdump.c
- binutils/readelf.c 63 additions, 0 deletionsbinutils/readelf.c
- include/sframe-api.h 3 additions, 0 deletionsinclude/sframe-api.h
- libsframe/Makefile.am 1 addition, 1 deletionlibsframe/Makefile.am
- libsframe/Makefile.in 10 additions, 2 deletionslibsframe/Makefile.in
- libsframe/sframe-dump.c 181 additions, 0 deletionslibsframe/sframe-dump.c
Loading
Please register or sign in to comment