<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1><pre><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'>----- Original Message ----<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> From aaronngray.lists at googlemail.com Mon Jul 27 15:14:40 2009<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> From: aaronngray.lists at googlemail.com (Aaron Gray)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> Date: Mon, 27 Jul 2009 21:14:40 +0100<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> Subject: [LLVMdev] llc - generation of native machine code<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> > On Mon, Jul 27, 2009 at 8:25 AM, Rudskyy<tema13tema at yahoo.de> wrote:<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> > > But now I am looking for generation of machine code for my target. I have<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> > > seen, that ?llc? has option "-filetype".<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> > ><o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> > > It has default value "-filetype=asm", but has more values, as<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> > > "-filetype=obj" and "-filetype=dynlib".<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> </span>> ><o:p></o:p></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> > > ?obj? is very interesting, but it till not supported L<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> ><o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> > There's work in progress to make this work properly, but it's still a<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> > while off. See http://wiki.llvm.org/Direct_Object_Code_Emission ..<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> ><o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> Hi,<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> We are "short circuiting" alot of this work in order to hopefully get basic<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> working ELF and COFF writers into the next release of LLVM. Alot of the DOCE<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> work is toward a longer goal of providing linkers for LLVM.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> It is best to talk to Chris Lattner and Bruno Cardoso about the ELF writer.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> You would need to add support for you target CPU such as relocation<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> information and debugging information.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> Bruno is working on his GSoC project and will be doing both ELF and DWARF<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> support, the DWARF support probably wont be ready until the end of September<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> though.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> There is very basic functioning ELF for X86 on SVN now. Patches for other<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>> target archetectures are most welcome<o:p></o:p></span></font></pre>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi </span></font><span lang=EN-US>Aaron</span><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'>!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>I have seen on SVN a last version. Yes! It supports now
ELF for X86, perfect! But debug information ( .debug – sections) not
implemented. I am looking for a possibility to use a LLVM with a debugger GDB. And
GDB works with DWARF debug information. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Will be continue a work with ELF-Writer for support of
a debug? Or is there any other ideas for debug? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>I will add an ELF-Writer to my project (xPEC – processor
from chip NetX)!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Sank you!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>--Tema<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:black'>Best regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Artem Rudskyy<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:black'><a
href="http://www.uni-magdeburg.de/ieat/robotslab/"
title="blocked::http://www.uni-magdeburg.de/ieat/robotslab/
http://www.uni-magdeburg.de/ieat/robotslab/
blocked::http://www.uni-magdeburg.de/ieat/robotslab/"><span
lang=DE>http://www..uni-magdeburg.de/ieat/robotslab/</span></a></span></font><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:black'><a
href="http://www.uni-magdeburg.de/"
title="blocked::http://www.uni-magdeburg.de/
http://www.uni-magdeburg.de/
blocked::http://www.uni-magdeburg.de/"><span
lang=DE>http://www.uni-magdeburg.de/</span></a></span></font><font size=2
color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>