<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/binutils/include/elf, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-12-16T14:01:04Z</updated>
<entry>
<title>Remove contrib/binutils, unused after r368667</title>
<updated>2020-12-16T14:01:04Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-12-16T14:01:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=546114d08ec693263d9c030c16f83ed826e4a379'/>
<id>urn:sha1:546114d08ec693263d9c030c16f83ed826e4a379</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More ARM EABI object attributes in binutils. This adds support to binutils</title>
<updated>2015-04-03T19:33:26Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2015-04-03T19:33:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef25e82143317ab082a62d648563a05069b52f1c'/>
<id>urn:sha1:ef25e82143317ab082a62d648563a05069b52f1c</id>
<content type='text'>
to include the Unaligned Access and Floating-point Half-precision
attributes. the former marks ELF objects that may access ARMv6 style
unaligned data, the latter that the binary uses the VFPv3/Advanced SIMD
half-precision extension.

These may be emmitted by clang so it's best to print a warning when the
linker hits one of them.

Differential Revision:	http://reviews.freebsd.org/D2194
Submitted by:	Michal Meloun &lt;meloun@miracle.cz&gt;
MFC after:	1 week
</content>
</entry>
<entry>
<title>Add new PowerPC relocations to binutils</title>
<updated>2014-12-12T03:58:51Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2014-12-12T03:58:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ff0bab9760f8f68467fcd21500f8d552945d8c78'/>
<id>urn:sha1:ff0bab9760f8f68467fcd21500f8d552945d8c78</id>
<content type='text'>
Summary:
LLVM/Clang generates relocations that our binutils doesn't understand, but newer
binutils does.  I got permission from the author of a series of patches to
relicense them as GPLv2 for use in FreeBSD.  The upstream git hashes are:

ac2df442ac7901f00af15b272fc48b594b433713
2b95367962dc14f69d3c338c4d54195266e2e169
102890f04c44b64cf5cef4588267dd9f24086ac7
b7fcf6f6bb53b5027e111107f5416769cb9a5798
1d483afedd5a628dc84fb58d1d570f79fdfbfa7b
90aecf7a80c1cefeb45fc10a6cd02c8338e34b4c
3a71aa26df2a372a58e9c11ef9ba51fd0e83320a
727fc41e077139570ea8b8ddfd6c546b2a55627c

With the import of clang 3.5, and a few backported patches, we should be able to
move powerpc and powerpc64 to clang-as-cc soon.

Test Plan: Passes make tinderbox, so no regressions.  Binaries built with clang
run on powerpc64.

Reviewers: #committers, dim

Reviewed By: dim

Differential Revision: https://reviews.freebsd.org/D1297

Obtained from:	Alan Modra, upstream binutils-gdb git
MFC after:	3 weeks
Relnotes:	yes
</content>
</entry>
<entry>
<title>Improve support for XSAVE with debuggers.</title>
<updated>2014-11-21T20:53:17Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2014-11-21T20:53:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=180e57e5c7b6bd5a0fd0bc523c4dcd7cff363fd6'/>
<id>urn:sha1:180e57e5c7b6bd5a0fd0bc523c4dcd7cff363fd6</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>Silence a warning about Tag_Virtualization_use being unknown. We don't</title>
<updated>2014-10-04T14:30:16Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2014-10-04T14:30:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e0d0c7b8f369b6b975cfe28b684718c608b938da'/>
<id>urn:sha1:e0d0c7b8f369b6b975cfe28b684718c608b938da</id>
<content type='text'>
handle merging this tag correctly, however it's unused.
</content>
</entry>
<entry>
<title>Add an elf note on ARM to store the MACHINE_ARCH an executable was built</title>
<updated>2013-09-26T07:53:18Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2013-09-26T07:53:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=27b7672219e459d95f0904f994c355387758ac5b'/>
<id>urn:sha1:27b7672219e459d95f0904f994c355387758ac5b</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Improve readelf notes output for Linux ELF files</title>
<updated>2013-09-13T18:21:31Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2013-09-13T18:21:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=377fc97958c7485e16e14550370404d250b2ad19'/>
<id>urn:sha1:377fc97958c7485e16e14550370404d250b2ad19</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Handle FreeBSD-specific ELF notes</title>
<updated>2013-07-18T17:25:50Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2013-07-18T17:25:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c158e13f7df8fb74ab673312037e2a8e38e8c684'/>
<id>urn:sha1:c158e13f7df8fb74ab673312037e2a8e38e8c684</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Handle DW_TAG_rvalue_reference_type</title>
<updated>2013-06-12T20:05:19Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2013-06-12T20:05:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=513f8c0cb840bdfd2cae0a87ac63edf8ff12ba7a'/>
<id>urn:sha1:513f8c0cb840bdfd2cae0a87ac63edf8ff12ba7a</id>
<content type='text'>
2012-05-21  Jim Ingham &lt;jingham@apple.com&gt;

      * 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
</content>
</entry>
<entry>
<title>Fix the value of NT_FREEBSD_TAG to be the same as ABI_NOTRTYPE in lib/csu.</title>
<updated>2013-04-18T02:20:58Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2013-04-18T02:20:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b00bf67dd2f5b2ec9a0a365533a2e324a9919e03'/>
<id>urn:sha1:b00bf67dd2f5b2ec9a0a365533a2e324a9919e03</id>
<content type='text'>
Add NT_FREEBSD_NOINIT_TAG for the value of CRT_NOINIT_NOTETYPE.
Check for both of these when detecting a FreeBSD binary in gdb.
</content>
</entry>
</feed>
