| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Accidentally missed in r303674
Notes:
svn path=/head/; revision=303677
|
|
|
|
|
|
|
|
| |
Reported by: andrew
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=303670
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The correct names for R_MIPS_GOT_HI16 and R_MIPS_GOT_LO16 have a _
after GOT. The nonstandard names (R_MIPS_GOTHI16, R_MIPS_GOTLO16) in the
FreeBSD elf_common.h header also had incorrect values and were not used
in the tree, so just remove them.
Add other MIPS relocation types found in FreeBSD/mips64 object files.
Reviewed by: imp, jmallett
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6561
Notes:
svn path=/head/; revision=301006
|
|
|
|
|
|
|
|
|
|
|
|
| |
SHF_COMPRESSED section contains compressed data
DT_TLSDESC_PLT Location of PLT entry for TLS descriptor resolver calls
DT_TLSDESC_GOT Location of GOT entry used by resolver PLT entry
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=300231
|
|
|
|
|
|
|
| |
From http://www.x86-64.org/documentation_folder/abi-0.99.pdf
Notes:
svn path=/head/; revision=297686
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=294844
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Red Hat created STB_GNU_UNIQUE to handle certain special cases relating
to dynamically loading C++ DSOs[1].
We don't (currently) have support for STB_GNU_UNIQUE, but ought to
reserve the value in ELFNN_ST_BIND. This will also be used by an
upcoming ELF Tool Chain import.
[1] https://www.redhat.com/archives/posix-c++-wg/2009-August/msg00002.html
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=294530
|
|
|
|
|
|
|
| |
Reviewed by: emaste
Notes:
svn path=/head/; revision=294279
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=291909
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=289070
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=288081
|
|
|
|
|
|
|
|
|
|
| |
EM_RISCV is now officially registered as e_machine 243.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=285841
|
|
|
|
|
|
|
|
|
|
| |
Reviewed by: kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2582
Notes:
svn path=/head/; revision=283110
|
|
|
|
|
|
|
| |
It is e_machine 6, which was previously reserved for 486.
Notes:
svn path=/head/; revision=282916
|
|
|
|
| |
Notes:
svn path=/head/; revision=281308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Amd64 uses relocatable object files as the modules format. It is good
WRT not having unneeded overhead for PIC code, in particular, due to
absence of useless GOT and PLT. But the cost is that the module
linking process cannot use hash to speed up the symbol lookup, and
that each reference to the symbol requiring a relocation, instead of
single-place relocation in GOT.
Cache the successfull symbol lookup results in the module symbol
table, using the newly allocated SHN_FBSD_CACHED value from
SHN_LOOS-HIOS range as an indicator. The SHN_FBSD_CACHED together
with the non-existent definition of the found symbol are reverted
after successfull relocations, which is done under kld_sx lock, so it
should not be visible to other consumers of the symbol table.
Submitted by: Conrad Meyer
Differential Revision: https://reviews.freebsd.org/D1718
MFC after: 3 weeks
Notes:
svn path=/head/; revision=281003
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=280858
|
|
|
|
|
|
|
|
|
| |
Two new operating systems have been added in the meantime.
ELFOSABI_FENIXOS that uses value 16 (published in the latest draft) and
ELFOSABI_CLOUDABI that uses value 17 (to be published in the next draft).
Notes:
svn path=/head/; revision=279698
|
|
|
|
|
|
|
|
|
| |
PR: 196918
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=277464
|
|
|
|
|
|
|
|
| |
X-MFC-with: r276634
MFC after: 2 weeks
Notes:
svn path=/head/; revision=276636
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The elftoolchain project includes these additional defines for various
userland programs. Given that arch-specific defines are still interesting
in the context of userland programs reading or writing ELF metadata, they
should be included in top-level ELF headers.
Remove duplicate defines from ARM and MIPS elf headers.
Submitted by: will (initial version)
Reviewed by: imp, will
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D844
Notes:
svn path=/head/; revision=276539
|
|
|
|
|
|
|
|
|
|
|
| |
we import it along with utilities in elftoolchain.
Differential Revision: https://reviews.freebsd.org/D1330
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=275903
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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).
Differential Revision: https://reviews.freebsd.org/D1193
Reviewed by: kib
MFC after: 2 weeks
Notes:
svn path=/head/; revision=274817
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
physaddr. This should allow for a kernel where PHYSADDR and KERNPHYSADDR
are both undefined.
For now libkvm will use the old method of reading physaddr and kernaddr
to allow it to work with old kernels. This could be removed in the future
when enough time has passed.
Differential Revision: https://reviews.freebsd.org/D939
MFC after: 1 week
Notes:
svn path=/head/; revision=273284
|
|
|
|
|
|
|
|
|
|
|
| |
This provides a minor cleanup in elfdump; there are otherwise no
consumers in the tree. Old SUN documentation can be found for either
variant, but GNU binutils switched to DT_FEATURE around 2000.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=270303
|
|
|
|
| |
Notes:
svn path=/head/; revision=269337
|
|
|
|
|
|
|
| |
libdwarf.
Notes:
svn path=/projects/elftoolchain/; revision=260793
|
|
|
|
|
|
|
|
|
|
| |
Reviewed by: kan
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (glebius)
Notes:
svn path=/head/; revision=256100
|
|
|
|
|
|
|
| |
Reviewed by: imp
Notes:
svn path=/head/; revision=253136
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The notes format is a header of sizeof(int), which stores the size of
the corresponding data structure to provide some versioning, and data
in the format as it is returned by a related sysctl call.
The userland tools (procstat(1)) will be taught to extract this data,
providing additional info for postmortem analysis.
PR: kern/173723
Suggested by: jhb
Discussed with: jhb, kib
Reviewed by: jhb (initial version), kib
MFC after: 1 month
Notes:
svn path=/head/; revision=249558
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=235099
|
|
|
|
| |
Notes:
svn path=/head/; revision=233523
|
|
|
|
| |
Notes:
svn path=/head/; revision=233400
|
|
|
|
|
|
|
| |
Reviewed by: cognet
Notes:
svn path=/head/; revision=231617
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=230783
|
|
|
|
|
|
|
|
| |
Submitted by: John Marino <draco marino st>
MFC after: 3 days
Notes:
svn path=/head/; revision=230459
|
|
|
|
|
|
|
|
|
| |
and R_{386,X86_64}_IRELATIVE relocations.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=228434
|
|
|
|
|
|
|
|
| |
Reviewed by: jb
Obtained from: Juniper Networks
Notes:
svn path=/head/; revision=221569
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=215742
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=215679
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=212501
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=212499
|
|
|
|
|
|
|
|
| |
are identical to 32-bit relocations in meaning, name, and number, and I
have chosen not to duplicate those here.
Notes:
svn path=/head/; revision=209874
|
|
|
|
|
|
|
|
| |
Reviewed by: kan
MFC after: 3 weeks
Notes:
svn path=/head/; revision=199829
|
|
|
|
| |
Notes:
svn path=/head/; revision=190904
|
|
|
|
|
|
|
|
|
|
| |
static linker option. Do it by incrementing reference count on the loaded
object and its dependencies.
Reviewed by: davidxu, kan
Notes:
svn path=/head/; revision=190543
|
|
|
|
|
|
|
| |
Reviewed by: kan
Notes:
svn path=/head/; revision=189925
|
|
|
|
|
|
|
|
|
|
| |
sections. These ELF sections are generated by newer versions of
GNU binutils.
Reviewed by: kaiw, Ali Bahrami <ali dot bahrami at sun dot com>
Notes:
svn path=/head/; revision=188050
|
|
|
|
|
|
|
|
| |
style of hash section with better performace than the original SYSV
hash. It can be generated by newer binutils.
Notes:
svn path=/head/; revision=186720
|
|
|
|
|
|
|
| |
Verified with: svn diff -x -Bbw elf_common.h
Notes:
svn path=/head/; revision=186666
|