<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-skiboot/libc, branch 04-16-2019</title>
<subtitle>Talos™ II skiboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-skiboot/atom?h=04-16-2019</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-skiboot/atom?h=04-16-2019'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/'/>
<updated>2018-05-24T09:03:19+00:00</updated>
<entry>
<title>Fix strtok for previous tokens being NULL</title>
<updated>2018-05-24T09:03:19+00:00</updated>
<author>
<name>Balbir singh</name>
<email>bsingharora@gmail.com</email>
</author>
<published>2018-05-17T23:31:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=ad58f8da1d4fbd45abf163514a9643a14e1636ee'/>
<id>urn:sha1:ad58f8da1d4fbd45abf163514a9643a14e1636ee</id>
<content type='text'>
Caught by scan-build. If the stored token nxtTok
is already NULL, don't dereference src

Signed-off-by: Balbir singh &lt;bsingharora@gmail.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>build: use thin archives rather than incremental linking</title>
<updated>2018-03-01T02:28:39+00:00</updated>
<author>
<name>Nicholas Piggin</name>
<email>npiggin@gmail.com</email>
</author>
<published>2018-02-10T08:42:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=f6159cff5d91e5c0810d0c9285a1d2370a38e2b7'/>
<id>urn:sha1:f6159cff5d91e5c0810d0c9285a1d2370a38e2b7</id>
<content type='text'>
This changes to build system to use thin archives rather than
incremental linking for built-in.o, similar to recent change to Linux.
built-in.o is renamed to built-in.a, and is created as a thin archive
with no index, for speed and size. All built-in.a are aggregated into
a skiboot.tmp.a which is a thin archive built with an index, making it
suitable or linking. This is input into the final link.

The advantags of build size and linker code placement flexibility are
not as great with skiboot as a bigger project like Linux, but it's a
conceptually better way to build, and is more compatible with link
time optimisation in toolchains which might be interesting for skiboot
particularly for size reductions.

Size of build tree before this patch is 34.4MB, afterwards 23.1MB.

Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>libc: add strnlen()</title>
<updated>2017-09-15T07:49:27+00:00</updated>
<author>
<name>Oliver O'Halloran</name>
<email>oohall@gmail.com</email>
</author>
<published>2017-09-15T05:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=c77b9747531b79badb69bcd2e8c25fb250fa48d2'/>
<id>urn:sha1:c77b9747531b79badb69bcd2e8c25fb250fa48d2</id>
<content type='text'>
Sometimes handy.

Signed-off-by: Oliver O'Halloran &lt;oohall@gmail.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>libc/test/run-snprintf: int -&gt; unsigned int</title>
<updated>2017-08-24T02:59:15+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2017-08-23T07:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=c168b37a3d662ad2ab0175c940eda072b04fda9c'/>
<id>urn:sha1:c168b37a3d662ad2ab0175c940eda072b04fda9c</id>
<content type='text'>
UBSan:
libc/test/run-snprintf.c:123:9: runtime error: left shift of 268435456 by 4 places cannot be represented in type 'int'

Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>mktime: fix off-by-one error calling days_in_month</title>
<updated>2017-08-24T02:59:15+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2017-08-23T05:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=a6c668d5d53b3d66df0015b04582187e592f67e9'/>
<id>urn:sha1:a6c668d5d53b3d66df0015b04582187e592f67e9</id>
<content type='text'>
From auditing all the mktime() users, there seems to be only a *very*
small window around new years day where we could possibly return
incorrect data to the OS, and even then, there would have to be FSP
reset/reload on FSP machines. I don't *think* there's an opportunity
on other machines.

Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>libc/time.c: days_in_month() use char rather than int</title>
<updated>2017-08-24T02:59:15+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2017-08-23T02:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=c426e9f608f22e3f6daa98d7c15f606e201f70e7'/>
<id>urn:sha1:c426e9f608f22e3f6daa98d7c15f606e201f70e7</id>
<content type='text'>
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>libc: Add labs() to stdlib</title>
<updated>2017-05-31T06:58:05+00:00</updated>
<author>
<name>Shilpasri G Bhat</name>
<email>shilpa.bhat@linux.vnet.ibm.com</email>
</author>
<published>2017-05-26T08:28:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=41bb3e7cd4eda5371d7cd0310e31357550279ccd'/>
<id>urn:sha1:41bb3e7cd4eda5371d7cd0310e31357550279ccd</id>
<content type='text'>
Signed-off-by: Shilpasri G Bhat &lt;shilpa.bhat@linux.vnet.ibm.com&gt;
Acked-by: Balbir Singh &lt;bsingharora@gmail.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>gcov: fix typo preventing libc coverage report</title>
<updated>2017-05-01T06:41:21+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2017-05-01T06:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=28699cf02b1812a8e8dcf018e8e799a404eff205'/>
<id>urn:sha1:28699cf02b1812a8e8dcf018e8e799a404eff205</id>
<content type='text'>
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>libc/stdio/vsnprintf.c: add explicit fallthrough</title>
<updated>2017-02-02T05:35:42+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2017-02-02T05:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=11cf409be293091470b3f75619416e2bb2697265'/>
<id>urn:sha1:11cf409be293091470b3f75619416e2bb2697265</id>
<content type='text'>
silences recent GCC warning

Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>stdio: Fix default definition of pr_fmt</title>
<updated>2017-01-05T04:27:43+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2016-12-22T03:16:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=c82f2e4638727e197b2d88dcdc94f0a23324d918'/>
<id>urn:sha1:c82f2e4638727e197b2d88dcdc94f0a23324d918</id>
<content type='text'>
And change include order in libpore to avoid a compile failure
due to the default definition

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
</feed>
