summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/include/elf
Commit message (Collapse)AuthorAgeFilesLines
* MFC 274817,274878,276801,276840,278976:jhb2015-02-231-0/+1
| | | | | | | | | | | | | | | | Improve support for XSAVE with debuggers. - Dump an NT_X86_XSTATE note if XSAVE is in use. This note is designed to match what Linux does in that 1) it dumps the entire XSAVE area including the fxsave state, and 2) it stashes a copy of the current xsave mask in the unused padding between the fxsave state and the xstate header at the same location used by Linux. - Teach readelf() to recognize NT_X86_XSTATE notes. - Change PT_GET/SETXSTATE to take the entire XSAVE state instead of only the extra portion. This avoids having to always make two ptrace() calls to get or set the full XSAVE state. - Add a PT_GET_XSTATE_INFO which returns the length of the current XSTATE save area (so the size of the buffer needed for PT_GETXSTATE) and the current XSAVE mask (%xcr0).
* Add an elf note on ARM to store the MACHINE_ARCH an executable was builtandrew2013-09-261-0/+1
| | | | | | | | | | for. This is useful for software needing to know which architecture a binary is built for as arm and armv6 have slight differences meaning only some binaries build for one will work as expected on the other. It is expected pkgng will be able to make use of this to simplify the logic to determine which package ABI to use. Approved by: re (kib)
* Improve readelf notes output for Linux ELF filesemaste2013-09-131-0/+5
| | | | | | | | | Add four ELF note constants: - NT_FILE and NT_SIGINFO (core file notes output by recent Linux kernels) - NT_GNU_ABI_TAG (was incorrectly reported as NT_VERSION) - NT_GNU_BUILD_ID (used for locating standalone debug files) Approved by: re (kib)
* Handle FreeBSD-specific ELF notesemaste2013-07-181-1/+13
| | | | | | | | | | | | Add a function to return the specific type, when the note's Name field is 'FreeBSD'. r249558 added FreeBSD-specific ELF note types that reuse type numbers of existing generic / Linux types. This caused 'readelf -n' to produce incorrect output on FreeBSD core files. Sponsored by: DARPA, AFRL MFC after: 3 days
* Handle DW_TAG_rvalue_reference_typeemaste2013-06-121-0/+1
| | | | | | | | | | | | 2012-05-21 Jim Ingham <jingham@apple.com> * dwarf2read.c (process_die): Handle DW_TAG_rvalue_reference_type. (read_type_die): Ditto. (dwarf_tag_name): Ditto. * elf/dwarf2.h: Add DW_TAG_rvalue_reference_type. Obtained from: Apple, gdb-1820
* Fix the value of NT_FREEBSD_TAG to be the same as ABI_NOTRTYPE in lib/csu.andrew2013-04-181-1/+2
| | | | | Add NT_FREEBSD_NOINIT_TAG for the value of CRT_NOINIT_NOTETYPE. Check for both of these when detecting a FreeBSD binary in gdb.
* Extend GDB to check the value in the .note.tag section along with theandrew2013-02-041-0/+4
| | | | | | | | .note.ABI-tag section. This helps on ARM EABI where the OS/ABI field is zero. It would be better to use the NOTES program header however this would require a more invasive change.
* Teach gdb about the DW_FORM_flag_present dwarf attribute, so it doesn'tdim2012-08-291-1/+2
| | | | | | | error out on files that contain it. (This attribute can be emitted by newer versions of clang.) MFC after: 2 weeks
* Sync: merge r215464 through r215708 from ^/head.dim2010-11-221-0/+1
|\
| * Add the ability for GDB to printout the thread name along with otherattilio2010-11-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thread specific informations. In order to do that, and in order to avoid KBI breakage with existing infrastructure the following semantic is implemented: - For live programs, a new member to the PT_LWPINFO is added (pl_tdname) - For cores, a new ELF note is added (NT_THRMISC) that can be used for storing thread specific, miscellaneous, informations. Right now it is just popluated with a thread name. GDB, then, retrieves the correct informations from the corefile via the BFD interface, as it groks the ELF notes and create appropriate pseudo-sections. Sponsored by: Sandvine Incorporated Tested by: gianni Discussed with: dim, kan, kib MFC after: 2 weeks
* | Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which bringsdim2010-11-0118-82/+653
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | us up to version 2.17.50.20070703, at the last GPLv2 commit. Amongst others, this added upstream support for some FreeBSD-specific things that we previously had to manually hack in, such as the OSABI label support, and so on. There are also quite a number of new files, some for cpu's (e.g. SPU) that we may or may not be interested in, but those can be cleaned up later on, if needed.
* \ \ Merge ^vendor/binutils/dist@214082 into contrib/binutils.dim2010-10-2153-307/+1612
|\ \ \ | |/ / | | / | |/ |/|
| * Rename vendor/binutils/*/contrib to vendor/binutils/*/xobrien2009-01-1953-13570/+0
| | | | | | | | | | | | | | Binutils has a "contrib" subdirectory - thus flattening cannot happen without renaming the upper level contrib directory in a first pass. Also, don't record this move and remove any keyword expansion.
* | Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.jmallett2010-06-021-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier. Reviewed by: imp
* | This commit was generated by cvs2svn to compensate for changes in r130561,obrien2004-06-1629-2137/+3293
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.15 branch (just post-.0 release).obrien2004-06-1629-2137/+3293
| | | | | | | | These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
* | This commit was generated by cvs2svn to compensate for changes in r104834,obrien2002-10-1110-18/+349
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.13 branch (just pre-.1 release).obrien2002-10-1110-18/+349
| | | | | | | | These bits are taken from the FSF anoncvs repo on 11-Oct-2002 22:39:35 PDT.
* | Remove these Bintuils 2.11 files that aren't part of 2.12.obrien2002-09-011-88/+0
| |
* | This commit was generated by cvs2svn to compensate for changes in r99461,obrien2002-07-052-0/+7
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.12 branch (just post-.1 release).obrien2002-07-052-0/+7
| | | | | | | | These bits are taken from the FSF anoncvs repo on 22-June-2002 23:28:00 EDT.
* | This commit was generated by cvs2svn to compensate for changes in r91041,obrien2002-02-229-32/+349
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.12 branch (pre-.0 release).obrien2002-02-229-32/+349
| | | | | | | | These bits are taken from the FSF anoncvs repo on 21-Feburary-2002 20:15 PST.
* | This commit was generated by cvs2svn to compensate for changes in r89857,obrien2002-01-2717-79/+859
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Enlist the FreeBSD-CURRENT users as testers of what is to become Binutilsobrien2002-01-2717-79/+859
| | | | | | | | | | version 2.12.0. These bits are taken from the FSF anoncvs repo on 27-January-2002 03:41 PST.
* | This commit was generated by cvs2svn to compensate for changes in r80016,obrien2001-07-202-38/+75
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001].obrien2001-07-202-38/+75
| | | | | | | | This fixes an annoying `ld' bug.
* | This commit was generated by cvs2svn to compensate for changes in r78828,obrien2001-06-2633-77/+181
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of GNU Binutils version 2.11.2.obrien2001-06-2633-77/+181
| |
* | This commit was generated by cvs2svn to compensate for changes in r77298,obrien2001-05-2831-390/+1251
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of GNU Binutils version 2.11.0.obrien2001-05-2831-390/+1251
| | | | | | | | Believe it or not, this is heavily stripped down.
* | This commit was generated by cvs2svn to compensate for changes in r68765,obrien2000-11-152-3/+49
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of GNU Binutils version 2.10.1.obrien2000-11-152-3/+49
| | | | | | | | Believe it or not, this is heavily stripped down.
* | This commit was generated by cvs2svn to compensate for changes in r68673,obrien2000-11-1313-0/+912
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import a virgin (but trimed) Binutils 2.10 release.obrien2000-11-1313-0/+912
| |
* | remove files not needed.obrien2000-11-133-4062/+0
|/
* Upgrade to Binutils 2.10.0.obrien2000-11-133-0/+4062
|
* Import a virgin (but trimed) Binutils 2.10 release.obrien2000-06-202-1/+21
|
* Addition SCO/SVR4 offical EI_OSABI types taken from the sourceware trunk.obrien2000-05-131-0/+9
|
* Import of Binutils 2.10 snapshot.obrien2000-05-1217-145/+1826
|
* Header file gotten from the Cygnus Sourceware Binutils anoncvs repositoryobrien2000-04-181-35/+260
| | | | on 14-April-2000. This gives us offical SCO/SVR4 ABI values for EI_OSABI.
* Import the Sparc bits of GNU binutils 2.9.1.obrien2000-04-051-0/+117
| | | | Requested by: steve
* Import files needed to build mips binaries with binutils 2.9.1.imp1999-02-281-0/+509
|
* Import GNU binutils-2.9.1. This will break things for a few minutesjdp1998-09-066-4/+252
| | | | | | until I've made the commits to resolve the conflicts. Submitted by: Doug Rabson <dfr>
* Initial import of GNU binutils version 2.8.1. Believe it or not,jdp1998-03-017-0/+2148
this is heavily stripped down.
OpenPOWER on IntegriCloud