<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/csu/powerpc64/Makefile, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-07-03T00:09:41Z</updated>
<entry>
<title>Consolidate duplicated logic in csu Makefiles to lib/csu/Makefile.inc.</title>
<updated>2020-07-03T00:09:41Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-07-03T00:09:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b0ee263dbd3552d5b1776be0efc1c2d105f873b1'/>
<id>urn:sha1:b0ee263dbd3552d5b1776be0efc1c2d105f873b1</id>
<content type='text'>
Reviewed by:	kib
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25537
</content>
</entry>
<entry>
<title>Remove the sed hack for ABI tag notes.</title>
<updated>2020-06-15T19:38:48Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-06-15T19:38:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=99282790b7d01ec3c4072621d46a0d7302517ad4'/>
<id>urn:sha1:99282790b7d01ec3c4072621d46a0d7302517ad4</id>
<content type='text'>
The ELF notes compiled in C were placed in a section with the wrong type
(SHT_PROGBITS instead of SHT_NOTE).  Previously, sed was used on the
generated assembly to rewrite the section type.  Instead, write the notes
in assembly which permits setting the correct section type directly.

While here, move inline assembly entry points out of C and into assembly
for aarch64, arm, and riscv.

Reviewed by:	kib
Tested on:	amd64 (cirrus-ci), riscv64
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25211
</content>
</entry>
<entry>
<title>powerpc64/csu: Rename dummy asm file to force use of 'cc'</title>
<updated>2020-01-29T04:32:06Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2020-01-29T04:32:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=4ff85ece0ebabef087ec0155b70ea2799b1c1579'/>
<id>urn:sha1:4ff85ece0ebabef087ec0155b70ea2799b1c1579</id>
<content type='text'>
Implicit make rules build .S asm files with the compiler, rather than the
assembler.  r356889 removed GNU as from the build for powerpc targets,
causing '.s' asm files to fail to build, due to a missing 'as'.  Rename the
one dummy asm file we have to a '.S' to force the implicit rules to build
with the compiler rather than the assembler.

Reported by:	Francis Little
</content>
</entry>
<entry>
<title>[PPC64] Add ifunc support in libcsu</title>
<updated>2019-09-12T16:45:07Z</updated>
<author>
<name>Leandro Lupori</name>
<email>luporl@FreeBSD.org</email>
</author>
<published>2019-09-12T16:45:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=52b05d66074fa78e8f2a6e8aa389c17c007b3f2f'/>
<id>urn:sha1:52b05d66074fa78e8f2a6e8aa389c17c007b3f2f</id>
<content type='text'>
When ifuncs are used in statically linked binaries, the C runtime
must perform the needed dynamic relocations, to make calls to ifuncs
work correctly.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D21070
</content>
</entry>
<entry>
<title>Create crtsavres.o for powerpc builds</title>
<updated>2019-01-12T21:29:54Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2019-01-12T21:29:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5d031e332fb8a7cb0b3ccd7545048132966a45ec'/>
<id>urn:sha1:5d031e332fb8a7cb0b3ccd7545048132966a45ec</id>
<content type='text'>
Summary:
GCC expects to link in a crtsavres.o on powerpc platforms.  On
powerpc64 this is an empty file, but on powerpc and powerpcspe this does contain
some save/restore functions, which may not actually be necessary for newer
modern GCC and clang.  This appeases the in-tree gcc, though, and is needed in
order to switch to the BSD CRTRBEGIN.

PR:	233751
Reviewed By: andrew
Differential Revision: https://reviews.freebsd.org/D18826
</content>
</entry>
<entry>
<title>Process irelocs for statically linked binaries from crt1 on x86.</title>
<updated>2018-10-13T23:52:55Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-10-13T23:52:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=bdafb02fcb88389fd1ab684cfe734cb429d35618'/>
<id>urn:sha1:bdafb02fcb88389fd1ab684cfe734cb429d35618</id>
<content type='text'>
This makes statically linked binaries with ifuncs operational.

Reported and tested by:	mjg
Reviewed by:	emaste, markj
Sponsored by:	The FreeBSD Foundation
Approved by:	re (rgrimes)
Differential revision:	https://reviews.freebsd.org/D17363
</content>
</entry>
<entry>
<title>Rework r234502 to include a modified CFLAGS along with ACFLAGS.</title>
<updated>2017-04-07T19:53:14Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2017-04-07T19:53:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5944f899a2519c6321bac3c17cc076418643a088'/>
<id>urn:sha1:5944f899a2519c6321bac3c17cc076418643a088</id>
<content type='text'>
On most architectures crt objects are compiled in a multiple-step process
so that sed can be run on the generated assembly.  As the final step,
the C compiler generates an object file from the modified assembly output.
Currently this last step uses $CC with only $ACFLAGS.  However, for other
uses in the tree, $ACFLAGS is meant to include assembly-specific compiler
flags that are in addition to $CFLAGS (see default .S.o rules
bsd.suffixes.mk).  In particular, external toolchains may require
additional flags to select a non-default target which will be present
in CFLAGS but not ACFLAGS.  To support this while still mitigating the
issue with CFLAGS described in r234502, include a modified CFLAGS that
excludes "-g" when assembling the modified assembly files.

Note that normally an assembler ($AS) is used to assemble .s flags to
object files (see bsd.suffixes.mk).  However, llvm-based toolchains do
not currently have a stand-alone assembler.

Reviewed by:	imp
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D10085
</content>
</entry>
<entry>
<title>Clang in base now supports -mlongcall, so remove this hack</title>
<updated>2017-03-07T02:17:38Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2017-03-07T02:17:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=90b44255492eccbfedc19da1695ef2eadb251789'/>
<id>urn:sha1:90b44255492eccbfedc19da1695ef2eadb251789</id>
<content type='text'>
PR:		215947
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths</title>
<updated>2017-01-20T03:52:16Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-01-20T03:52:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=23f6875a43f7ce365f2d52cf857da010c47fb03b'/>
<id>urn:sha1:23f6875a43f7ce365f2d52cf857da010c47fb03b</id>
<content type='text'>
This implifies pathing in make/displayed output

MFC after:    3 weeks
Sponsored by: Dell EMC Isilon
</content>
</entry>
<entry>
<title>Don't reset CC away from full-pathed gcc.</title>
<updated>2016-03-24T21:48:10Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-03-24T21:48:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=de0fbc4dbca2c18bcb7bca1f1f2fe56fcf5ba2a8'/>
<id>urn:sha1:de0fbc4dbca2c18bcb7bca1f1f2fe56fcf5ba2a8</id>
<content type='text'>
This was breaking the build when using CROSS_TOOLCHAIN=powerpc64-gcc

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
</feed>
