<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/csu/arm/Makefile, branch master</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=master</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<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-test2/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>Stop using STATIC_CFLAGS.</title>
<updated>2020-06-29T17:19:08Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-06-29T17:19:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dc319d05aec8408641320dc12ff93370b6640265'/>
<id>urn:sha1:dc319d05aec8408641320dc12ff93370b6640265</id>
<content type='text'>
This was added in r293648 to pass -mlong-calls for crt1.o and gcrt1.o.
The use of -mlong-calls was removed in r358851 for LLVM 10.0, leaving
STATIC_CFLAGS empty.

Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25305
</content>
</entry>
<entry>
<title>Only include object files from .ALLSRC when linking crt1 objects.</title>
<updated>2020-06-26T19:46:30Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-06-26T19:46:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=85a2ea3f5785a299db029b84eee6d33d174e38da'/>
<id>urn:sha1:85a2ea3f5785a299db029b84eee6d33d174e38da</id>
<content type='text'>
Reported by:	np, peterj
Reviewed by:	kib, emaste
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25469
</content>
</entry>
<entry>
<title>Always compile the brand and ignore init ELF notes standalone.</title>
<updated>2020-06-24T17:54:24Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-06-24T17:54:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=99db5849f7506e765c43f4e69a7105cc888e8d5e'/>
<id>urn:sha1:99db5849f7506e765c43f4e69a7105cc888e8d5e</id>
<content type='text'>
Reviewed by:	kib
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25374
</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-test2/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>Remove -mlong-calls vhen building arm libraries and llvm.</title>
<updated>2020-03-10T06:49:43Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2020-03-10T06:49:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=da759cfa320d5076b075d15ff3f00ab3ba5634fd'/>
<id>urn:sha1:da759cfa320d5076b075d15ff3f00ab3ba5634fd</id>
<content type='text'>
Clang from 9.0.0 onwards already has the necessary relocation range
extenders, so this workaround is no longer needed (it produces longer
and slower code). Tested on real hardware, and in cross-compile
environment.

Submitted by:	mmel
</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-test2/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-test2/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>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-test2/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>Use -mlong-calls to build crt1.o and gcrt1.o. This tells the compiler to</title>
<updated>2016-01-10T23:41:31Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2016-01-10T23:41:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=84eacaf728a102612d83861d73c3aaa353ca3dc2'/>
<id>urn:sha1:84eacaf728a102612d83861d73c3aaa353ca3dc2</id>
<content type='text'>
generate code to branch based on an address in a register. This allows us
to have binaries larger than the 32MiB limit of a branch instruction.

The main use of this is with clang. Clang 3.8.0 has been shown to be larger
than the above limit.
</content>
</entry>
</feed>
