<feed xmlns='http://www.w3.org/2005/Atom'>
<title>antcc/test/reloc.c, branch trunk</title>
<subtitle>A little C compiler</subtitle>
<id>https://git.lemon.rip/antcc/atom?h=trunk</id>
<link rel='self' href='https://git.lemon.rip/antcc/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.lemon.rip/antcc/'/>
<updated>2025-12-13T13:24:30+00:00</updated>
<entry>
<title>fix position independent loads of function symbols.</title>
<updated>2025-12-13T13:24:30+00:00</updated>
<author>
<name>lemon</name>
<email>lsof@mailbox.org</email>
</author>
<published>2025-12-13T13:21:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lemon.rip/antcc/commit/?id=854df54e1839c8b96d1aaa9aeaa32c2ebbf535f8'/>
<id>urn:sha1:854df54e1839c8b96d1aaa9aeaa32c2ebbf535f8</id>
<content type='text'>
For `extern int x[1];`, can use PCREL32 for &amp;x. But for `extern int
x(int)`, must use GOTREL, when not being called directly (that's PLT).
Therefore the type of an external symbol (actually just whether it
denotes a function) matters when deciding what kind of relocation to
emit, so keep that information.
</content>
</entry>
<entry>
<title>c: avoid generating relocations in .rodata (putting such objects in .data instead for now)</title>
<updated>2025-10-25T11:22:50+00:00</updated>
<author>
<name>lemon</name>
<email>lsof@mailbox.org</email>
</author>
<published>2025-10-25T08:49:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lemon.rip/antcc/commit/?id=dacc801be75fa716b240a0c36d33db1d1cb06b58'/>
<id>urn:sha1:dacc801be75fa716b240a0c36d33db1d1cb06b58</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regalloc: hand-roll qsort (bikeshedding...)</title>
<updated>2025-09-15T09:43:11+00:00</updated>
<author>
<name>lemon</name>
<email>lsof@mailbox.org</email>
</author>
<published>2025-09-15T09:08:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lemon.rip/antcc/commit/?id=bdf9776b0b127b53a34be07f8adc0541df78654e'/>
<id>urn:sha1:bdf9776b0b127b53a34be07f8adc0541df78654e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regalloc.c cleanup</title>
<updated>2025-09-14T09:07:11+00:00</updated>
<author>
<name>lemon</name>
<email>lsof@mailbox.org</email>
</author>
<published>2025-09-14T09:06:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lemon.rip/antcc/commit/?id=92c6943fa81145050b083348831a03154be2210c'/>
<id>urn:sha1:92c6943fa81145050b083348831a03154be2210c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>c: function-local static vars</title>
<updated>2025-09-12T15:10:35+00:00</updated>
<author>
<name>lemon</name>
<email>lsof@mailbox.org</email>
</author>
<published>2025-09-12T15:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lemon.rip/antcc/commit/?id=89710916cfa82f50be0092347744a5e06a3b5420'/>
<id>urn:sha1:89710916cfa82f50be0092347744a5e06a3b5420</id>
<content type='text'>
</content>
</entry>
</feed>
