On Mon, Jun 23, 2003 at 02:01:38PM +0200, Pierre d'Herbemont wrote:
Hi,
Here is a patch which fix the problem with darwin's asm. I would like to know if linux assembler is ok with this patch.
Hmm, not quite. On Linux/PPC:
d3d8.spec.s:351: Error: syntax error; found `(' but expected `,' d3d8.spec.s:351: Error: junk at end of line: `(_imports+80)'
351: lis r9,ha16(_imports+80) 352: la r8,lo16(_imports+80)(r9)
Ciao, Marcus
On Monday, June 23, 2003, at 04:20 PM, Marcus Meissner wrote:
On Mon, Jun 23, 2003 at 02:01:38PM +0200, Pierre d'Herbemont wrote:
Hi,
Here is a patch which fix the problem with darwin's asm. I would like to know if linux assembler is ok with this patch.
Hmm, not quite. On Linux/PPC:
d3d8.spec.s:351: Error: syntax error; found `(' but expected `,' d3d8.spec.s:351: Error: junk at end of line: `(_imports+80)'
351: lis r9,ha16(_imports+80) 352: la r8,lo16(_imports+80)(r9)
Thanks for the quick feedback. Do you have any suggestion on how to deal with those syntax differences. I thought some #ifdef __darwin__ would be ok, but it is certainly not the best solution.
Cheers,
Pierre