<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/gnu/usr.bin/ld/Makefile, branch release/2.1.7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F2.1.7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F2.1.7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>1994-12-23T22:31:35Z</updated>
<entry>
<title>Updated to recent version of Paul K.'s shlib code.  This code has better</title>
<updated>1994-12-23T22:31:35Z</updated>
<author>
<name>Nate Williams</name>
<email>nate@FreeBSD.org</email>
</author>
<published>1994-12-23T22:31:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=61f9ce8d32ffafb73e35ba799825344928652705'/>
<id>urn:sha1:61f9ce8d32ffafb73e35ba799825344928652705</id>
<content type='text'>
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
</content>
</entry>
<entry>
<title>Don't explicitly define __FreeBSD__ - this is no longer necessary.</title>
<updated>1994-08-19T12:24:45Z</updated>
<author>
<name>David Greenman</name>
<email>dg@FreeBSD.org</email>
</author>
<published>1994-08-19T12:24:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e4e244ac16d0b024b1fa3fded5d45b4e48e730f5'/>
<id>urn:sha1:e4e244ac16d0b024b1fa3fded5d45b4e48e730f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>I yelled, I warned and now I am SCREAMING.  Add -D__FreeBSD__ to CFLAGS+=</title>
<updated>1994-02-14T10:02:13Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>1994-02-14T10:02:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=44ff78b7aa997ccfdabda87d6aa9363d1df1ab34'/>
<id>urn:sha1:44ff78b7aa997ccfdabda87d6aa9363d1df1ab34</id>
<content type='text'>
so that you can bootstrap a 1.0.2 system.  Please oh please no one but
no one add any more #ifdef __FreeBSD__ stuff UNTIL 1.1 has SHIPPED!!!
</content>
</entry>
<entry>
<title>More changes to bring FreBSD in sync with Paul K's latest.</title>
<updated>1993-12-04T00:53:02Z</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1993-12-04T00:53:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e21ebe5ce78162d0188a64c5272c119f861b3dc'/>
<id>urn:sha1:2e21ebe5ce78162d0188a64c5272c119f861b3dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sorry, Jordan, but I restore previous version again.</title>
<updated>1993-12-02T09:56:30Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>1993-12-02T09:56:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=64990426e416f56e9a5f429765b28b71da955cba'/>
<id>urn:sha1:64990426e416f56e9a5f429765b28b71da955cba</id>
<content type='text'>
You write that
LDFLAGS+= -Xlinker -Bstatic
no more needed, but you have
CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
This -static doesn't make any sense in your version,
because it not passed to linker's state (LDFLAGS),
so we have SHARED /usr/bin/ld in this case.
(Older Makefile produce non-shared ld).
I suppose, that -static in CFLAGS was introduced to
make non-shared ld, so I restore previous LDFLAGS
to have non-shared ld. If we want to have shared ld
we need to remove -static from CFLAGS too, not only LDFLAGS,
but this need special issue and corresponding
commit log. Your current version hang into intermediate
state (beetween two sides), so I move it to one side.

Second, I restore NOPIC dependance again from older Makefile:
.if !defined(NOPIC)
SUBDIR+= rtld
.endif
We don't need ld.so, if NOPIC

P.S. I don't see any purpose to commit new makefile, old version
is better.
</content>
</entry>
<entry>
<title>Second attempt to integrate Paul K's changes.</title>
<updated>1993-12-02T00:56:40Z</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1993-12-02T00:56:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=88ac367bd71d8171a1b283272f89537888746a11'/>
<id>urn:sha1:88ac367bd71d8171a1b283272f89537888746a11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>All -static and -Xlinker -Bstatic flags missed in</title>
<updated>1993-12-01T15:58:22Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>1993-12-01T15:58:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=db4d1e715601ccf41d4851a3991f0a811f1fd5c6'/>
<id>urn:sha1:db4d1e715601ccf41d4851a3991f0a811f1fd5c6</id>
<content type='text'>
newly commited Makefile.
NOPIC dependance missed too!
Oh it is really pain to check all that broken stuff,
Please, check it *before* commit!
</content>
</entry>
<entry>
<title>Remove -g option (second time!)</title>
<updated>1993-12-01T14:45:35Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>1993-12-01T14:45:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ff78e5dfcf2a603f732a7e325b2de0d8c0dfc0fe'/>
<id>urn:sha1:ff78e5dfcf2a603f732a7e325b2de0d8c0dfc0fe</id>
<content type='text'>
!!! Please anybody who port Makefiles from NetBSD,
!!! remove -g option!
</content>
</entry>
<entry>
<title>Many recent fixes from Paul K, add support for chaining of shared lib deps.</title>
<updated>1993-11-30T20:47:54Z</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1993-11-30T20:47:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=52c4ca7af3f8ff112cb52086909057047ce5df91'/>
<id>urn:sha1:52c4ca7af3f8ff112cb52086909057047ce5df91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Default magic is back to netbsd ZMAGIC,</title>
<updated>1993-11-16T07:20:35Z</updated>
<author>
<name>Paul Richards</name>
<email>paul@FreeBSD.org</email>
</author>
<published>1993-11-16T07:20:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e523391c5799d1276be8d2125f287d85086a0449'/>
<id>urn:sha1:e523391c5799d1276be8d2125f287d85086a0449</id>
<content type='text'>
new a_midmag format needed for dynamic binaries.
-z produces normal ZMAGIC. (this gets our kernel built)
-Z produces netbsd ZMAGIC. (currently default)
</content>
</entry>
</feed>
