<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>6592a716 - MFC r339738, r339744, r339770, r339773, r339864-r339866, r339907-r339908, r339912-r339913, r339916, r339954, r340213, r340395, r340840, r340910-r340911, r341424, r342773, r342974, r351027, r352073:</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#6592a716</link>
        <description>MFC r339738, r339744, r339770, r339773, r339864-r339866, r339907-r339908, r339912-r339913, r339916, r339954, r340213, r340395, r340840, r340910-r340911, r341424, r342773, r342974, r351027, r352073:MFC the BSD crtbegin to stable/12 but keep it disabled.r339738:Implement a BSD licensed crtbegin/crtendThese are needed for .ctors/.dtors and .jcr handling. The former needsall the function pointers to be called in the correct order from the.init/.fini section. The latter just needs to call a gcj specific functionif it exists with a pointer to the start of the .jcr section.This is currently disabled until __dso_handle support is added.Reviewed by:	emasteSponsored by:	DARPA, AFRLDifferential Revision:	https://reviews.freebsd.org/D17587r339744:Add a missing include for src.opts.mk. Without it MK_TESTS isn&apos;t defined.MFC with:	r339738Sponsored by:	DARPA, AFRLr339770:Drop the csu tests WARNS to 5 to fix the powerpc64 build.MFC with:	r339738Sponsored by:	DARPA, AFRLr339773:Add __dso_handle to the BSD crtbegin. This is used to identify sharedobjects.MFC with:	r339738Sponsored by:	DARPA, AFRLr339864:Check __dso_handle is NULL in non-DSO objects. It should only be non-NULLwhen accessed from a shared object.MFC with:	r339738Sponsored by:	DARPA, AFRLr339865:Include the csu test directories in BSD.tests.distMFC with:	r339738Sponsored by:	DARPA, AFRLr339866:Make the .ctors, .dtors, and .jcr markers as static. They shouldn&apos;t beaccessible from out of the files they are defined in.MFC with:	r339738Sponsored by:	DARPA, AFRLr339907:The jcr argument to _Jv_RegisterClasses is used, stop marking it otherwise.MFC with:	r339738Sponsored by:	DARPA, AFRLr339908:Run the csu tests on a DSO. This builds the tests into a shared library,then runs these from the base test programs. With this we can checkcrtbeginS.o and crtendS.o are working as expected.MFC with:	r339738Sponsored by:	DARPA, AFRLr339912:Fix the location of the static keyword.MFC with:	r339738Sponsored by:	DARPA, AFRLr339913:Disable the .preinit_array test in DSOs, ld.bfd fails to link objects withthe section.MFC with:	r339738Sponsored by:	DARPA, AFRLr339916:Build the csu tests on all architectures.The tests haven&apos;t been run them, but this is enough to build them so I canget feedback on if the various crt.h headers are correct.MFC with:	r339738Sponsored by:	DARPA, AFRLr339954:Add __used to __CTOR_LIST__ and __DTOR_LIST__Enabling BSD_CRTBEGIN on amd64 resulted inerror: unused variable &apos;__CTOR_LIST__&apos;.__CTOR_LIST__ is indeed unused in crtbegin.c; it marks the beginning ofthe .ctors array and is used in crtend.c.  Annotate __DTOR_LIST__ aswell for consistency.Discussed with:	andrewMFC with:	r339738Sponsored by:	The FreeBSD Foundationr340213:Add the (untested) mips and sparc64 .init call sequences.The BSD crtbegin/crtend code now builds on all architectures, howeverfurther work is needed to check if it works correctly.MFC with:	r339738Sponsored by:	DARPA, AFRLr340395:Run __cxa_finalize in shared objects in the destructor path.When we have .dtors call them before .dtor handling, otherwise call froma destructor.PR:		233056MFC with:	r339738Sponsored by:	DARPA, AFRLr340840:Mark the function called by the MIPS .init/.fini sequence with .local.As with r328939 we need to mark local symbols as such. Without this theassembly parser treats the symbols as global and created relocationsagainst these private symbols.MFC with:	r339738Sponsored by:	DARPA, AFRLr340910:Add the missing 0 at the end of the .jcr section.Without this the dynamic library test was failing as it was calling_Jv_RegisterClasses multiple times.r340911:Re-enable the dynamiclib tests. These should be fixed by r340910.r341424:Disable the BSD CRT code on powerpc and sparc64, they need extra crt*.ofiles that haven&apos;t been implemented.Reported by:	sbrunoMFC with:	r339738Sponsored by:	DARPA, AFRLr342773:Add explicit csu test dependencylib/csu/tests/dynamiclib requires libh_csu.so be built first.  I&apos;m notsure this is the most correct/best way to address this but it solvesthe issue in my testing.PR:		233734Sponsored by:	The FreeBSD Foundationr342974:Create crtsavres.o for powerpc buildsSummary:GCC expects to link in a crtsavres.o on powerpc platforms.  Onpowerpc64 this is an empty file, but on powerpc and powerpcspe this does containsome save/restore functions, which may not actually be necessary for newermodern GCC and clang.  This appeases the in-tree gcc, though, and is needed inorder to switch to the BSD CRTRBEGIN.PR:	233751Reviewed By: andrewDifferential Revision: https://reviews.freebsd.org/D18826r351027:Enable BSD_CRTBEGIN on powerpcIn r342974 jhibbits added support to build crtsavres.o. This was theblocker for BSD_CRTBEGIN to be enabled there. As such enable thisoption again.Reviewed by:	jhibbitsSponsored by:	DARPA, AFRLr352073:csu: Add the riscv .init call sequenceReviewed by:	brSponsored by:	AxiadoDifferential Revision:	https://reviews.freebsd.org/D21537

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Mon, 16 Sep 2019 13:41:24 +0000</pubDate>
        <dc:creator>Andrew Turner &lt;andrew@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>bdafb02f - Process irelocs for statically linked binaries from crt1 on x86.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#bdafb02f</link>
        <description>Process irelocs for statically linked binaries from crt1 on x86.This makes statically linked binaries with ifuncs operational.Reported and tested by:	mjgReviewed by:	emaste, markjSponsored by:	The FreeBSD FoundationApproved by:	re (rgrimes)Differential revision:	https://reviews.freebsd.org/D17363

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Sat, 13 Oct 2018 23:52:55 +0000</pubDate>
        <dc:creator>Konstantin Belousov &lt;kib@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5944f899 - Rework r234502 to include a modified CFLAGS along with ACFLAGS.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#5944f899</link>
        <description>Rework r234502 to include a modified CFLAGS along with ACFLAGS.On most architectures crt objects are compiled in a multiple-step processso 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 otheruses in the tree, $ACFLAGS is meant to include assembly-specific compilerflags that are in addition to $CFLAGS (see default .S.o rulesbsd.suffixes.mk).  In particular, external toolchains may requireadditional flags to select a non-default target which will be presentin CFLAGS but not ACFLAGS.  To support this while still mitigating theissue with CFLAGS described in r234502, include a modified CFLAGS thatexcludes &quot;-g&quot; when assembling the modified assembly files.Note that normally an assembler ($AS) is used to assemble .s flags toobject files (see bsd.suffixes.mk).  However, llvm-based toolchains donot currently have a stand-alone assembler.Reviewed by:	impSponsored by:	DARPA / AFRLDifferential Revision:	https://reviews.freebsd.org/D10085

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Fri, 07 Apr 2017 19:53:14 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>23f6875a - Use SRCTOP-relative paths and .CURDIR with :H instead of &quot;..&quot; specified paths</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#23f6875a</link>
        <description>Use SRCTOP-relative paths and .CURDIR with :H instead of &quot;..&quot; specified pathsThis implifies pathing in make/displayed outputMFC after:    3 weeksSponsored by: Dell EMC Isilon

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Fri, 20 Jan 2017 03:52:16 +0000</pubDate>
        <dc:creator>Enji Cooper &lt;ngie@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7c6cc9de - Fix installation of 32bit libraries after r288074.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#7c6cc9de</link>
        <description>Fix installation of 32bit libraries after r288074.FILES is not used when LIBRARIES_ONLY is set, which is used to build andinstall the lib32 sysroot.  All of the csu files do quality as &quot;libraries&quot;for this case so just undefine LIBRARIES_ONLY.This is still better than the previous realinstall handling as it doesnot hook into META_MODE properly.Sponsored by:	EMC / Isilon Storage Division

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Mon, 21 Sep 2015 21:44:02 +0000</pubDate>
        <dc:creator>Bryan Drewery &lt;bdrewery@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5ca34122 - Replace realinstall: and META_MODE staging hacks with FILES mechanism.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#5ca34122</link>
        <description>Replace realinstall: and META_MODE staging hacks with FILES mechanism.This partially reverts r270170 for lib/csu/i386 while retaining thechange for using bsd.lib.mk.These FILES groups could go into lib/csu/Makefile.inc but I&apos;ve kept themin the Makefiles for clarity.Sponsored by:	EMC / Isilon Storage Division

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Mon, 21 Sep 2015 18:39:13 +0000</pubDate>
        <dc:creator>Bryan Drewery &lt;bdrewery@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5300f787 - MFC r200038:</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#5300f787</link>
        <description>MFC r200038:Properly support -fPIE by linking PIE binaries with specially-builtScrt1.o instead of crt1.o, since the later is built as non-PIC.Separate i386-elf crt1.c into the pure assembler part and C code,supplying all data extracted by assembler stub as explicit parameters.Hide and localize _start1 symbol used as an interface between asm andC code.

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Sun, 27 Dec 2009 20:39:58 +0000</pubDate>
        <dc:creator>Konstantin Belousov &lt;kib@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>db3212b3 - Revert r234356 for now, as it leads to run-time problems on 32-bit</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#db3212b3</link>
        <description>Revert r234356 for now, as it leads to run-time problems on 32-bitPowerPC.  Note this will break world.Reported by:	andreastPointy hat to:	dim

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Mon, 23 Apr 2012 06:33:27 +0000</pubDate>
        <dc:creator>Dimitry Andric &lt;dim@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d2cc835c - After r217375, some startup objects under lib/csu are built in a special</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#d2cc835c</link>
        <description>After r217375, some startup objects under lib/csu are built in a specialway: first they are compiled to assembly, then some sed&apos;ing is done onthe assembly, and lastly the assembly is compiled to an object file.This last step is done using ${CC}, and not ${AS}, because when thecompiler is clang, it outputs directives that are too advanced for ourold gas.  So we use clang&apos;s integrated assembler instead.  (When thecompiler is gcc, it just calls gas, and nothing is different, except oneextra fork.)However, in the .s to .o rules in lib/csu/$ARCH/Makefile, I still passedCFLAGS to the compiler, instead of ACFLAGS, which are specifically forcompiling .s files.In case you are using &apos;-g&apos; for debug info anywhere in your CFLAGS, itcauses the .s files to already contain debug information in the assemblyitself.  In the next step, the .s files are also compiled using &apos;-g&apos;,and if the compiler is clang, it complains: &quot;error: input can&apos;t have.file dwarf directives when -g is used to generate dwarf debug info forassembly code&quot;.Fix this by using ${ACFLAGS} for compiling the .s files instead.Reported by:	jasoneMFC after:	1 week

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Fri, 20 Apr 2012 21:00:39 +0000</pubDate>
        <dc:creator>Dimitry Andric &lt;dim@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4f78aa47 - Work around an issue on 32-bit PowerPC, where clang executable can get</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#4f78aa47</link>
        <description>Work around an issue on 32-bit PowerPC, where clang executable can gettoo big, causing &apos;relocation truncated to fit&apos; errors at link time.Reviewed by:	nwhitehorn

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Mon, 16 Apr 2012 21:36:55 +0000</pubDate>
        <dc:creator>Dimitry Andric &lt;dim@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a22748db - Stop calling _init/_fini methods from crt1 for dynamic binaries.  Do</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#a22748db</link>
        <description>Stop calling _init/_fini methods from crt1 for dynamic binaries.  Docall preinit, init and fini arrays methods from crt1 for static binaries.Mark new crt1 with FreeBSD-specific ELF note.Move some common crt1 code into new MI file ignore_init.c, to reduceduplication.  Also, conservatively adjust nearby sources for style.Reviewed by:	kanTested by:	andrew (arm), flo (sparc64)MFC after:	3 weeks

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Sun, 11 Mar 2012 20:04:09 +0000</pubDate>
        <dc:creator>Konstantin Belousov &lt;kib@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>9ef4e3af - Apply a workaround for a binutils issue with the .note.ABI-tag section</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#9ef4e3af</link>
        <description>Apply a workaround for a binutils issue with the .note.ABI-tag sectiongenerated from lib/csu/common/crtbrand.c (which ultimately ends up inexecutables and shared libraries, via crt1.o, gcrt1.o or Scrt1.o).For all arches except sparc, gcc emits the section directive for theabitag struct in crtbrand.c with a PROGBITS type.  However, newerversions of binutils (after 2.16.90) require the section to be of NOTEtype, to guarantee that the .note.ABI-tag section correctly ends up inthe first page of the final executable.Unfortunately, there is no clean way to tell gcc to use another sectiontype, so crtbrand.c (or the C files that include it) must be compiled inmultiple steps:- Compile the .c file to a .s file.- Edit the .s file to change the &apos;progbits&apos; type to &apos;note&apos;, for the section  directive that defines the .note.ABI-tag section.- Compile the .s file to an object file.These steps are done in the invididual Makefiles for each applicable arch.Reviewed by:	kib

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Thu, 13 Jan 2011 20:44:31 +0000</pubDate>
        <dc:creator>Dimitry Andric &lt;dim@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>03dab16e - Use default WARNS setting (of 6) for lib/csu.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#03dab16e</link>
        <description>Use default WARNS setting (of 6) for lib/csu.PR:		bin/140089Reviewed by:	jmallettApproved by:	ed (co-mentor)

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Fri, 05 Mar 2010 13:29:05 +0000</pubDate>
        <dc:creator>Ulrich Sp&#246;rlein &lt;uqs@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c09ba327 - Properly support -fPIE by linking PIE binaries with specially-built</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#c09ba327</link>
        <description>Properly support -fPIE by linking PIE binaries with specially-builtScrt1.o instead of crt1.o, since the later is built as non-PIC.Separate i386-elf crt1.c into the pure assembler part and C code,supplying all data extracted by assembler stub as explicit parameters [1].Hide and localize _start1 symbol used as an interface between asm andC code.In collaboration with:	kanInspired by:	PR i386/127387 [1]Prodded and tested by:	rdivacky [1]MFC after:	3 weeks

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Wed, 02 Dec 2009 16:34:20 +0000</pubDate>
        <dc:creator>Konstantin Belousov &lt;kib@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d2893b16 - Drop support for COPY, -c has been the default mode of install(1)</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#d2893b16</link>
        <description>Drop support for COPY, -c has been the default mode of install(1)for a long time now.Approved by:	bde

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Mon, 29 Jul 2002 09:40:17 +0000</pubDate>
        <dc:creator>Ruslan Ermilov &lt;ru@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>20200638 - Fixed CLEANFILES after bsd.lib.mk sweep.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#20200638</link>
        <description>Fixed CLEANFILES after bsd.lib.mk sweep.

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Mon, 13 May 2002 15:28:00 +0000</pubDate>
        <dc:creator>Ruslan Ermilov &lt;ru@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7893b524 - SOBJS are not used here for a long time, and were just</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#7893b524</link>
        <description>SOBJS are not used here for a long time, and were justpessimising the `install&apos;.

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Mon, 13 May 2002 11:51:11 +0000</pubDate>
        <dc:creator>Ruslan Ermilov &lt;ru@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>2a53f3fb - Major cleanup of bsd.lib.mk.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#2a53f3fb</link>
        <description>Major cleanup of bsd.lib.mk.Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.INTERNALLIB now means to build static library only and don&apos;t installanything.  Added a NOINSTALLLIB knob for libpam/modules.  To notbuild any library at all, just do not set LIB.

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Mon, 13 May 2002 10:53:24 +0000</pubDate>
        <dc:creator>Ruslan Ermilov &lt;ru@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5b8f41af - Revert the last change.  The corresponding bsd.lib.mk changes were</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#5b8f41af</link>
        <description>Revert the last change.  The corresponding bsd.lib.mk changes werealready backed out.

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Sun, 12 May 2002 16:21:23 +0000</pubDate>
        <dc:creator>Ruslan Ermilov &lt;ru@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>785b36d4 - Use the simpler NOMAN rather than NOMAN, NOPIC, NOPROFILE, INTERNALLIB.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/lib/csu/powerpc/Makefile#785b36d4</link>
        <description>Use the simpler NOMAN rather than NOMAN, NOPIC, NOPROFILE, INTERNALLIB.

            List of files:
            /freebsd-12.1/lib/csu/powerpc/Makefile</description>
        <pubDate>Sat, 11 May 2002 17:45:03 +0000</pubDate>
        <dc:creator>David E. O&apos;Brien &lt;obrien@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
