bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GAS cross-compiled for alpha-dec-osf5 does not work.


From: Fatih Yesilova
Subject: GAS cross-compiled for alpha-dec-osf5 does not work.
Date: Fri, 26 Mar 2004 00:21:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040308

I have tried to use gas as a cross compiler for alpha-dec-osf5 on my intel pentium4 linux system. My linux is Redhat 9. When trying to compile gcc-3.3.3 cross compiler assembler output with binutils-2.14, the gnu-as gives the following error response:

dene.s: Assembler messages:
dene.s:33: Fatal error: unhandled relocation type (null)
make: *** [dene-alpha] Error 1

Gnu-as configured as ./configure --prefix=/usr/local --target=alpha-dec-osf5
GCC configured as ./configure --prefix=/usr/local --target=alpha-dec-osf5
Please advice me if this cross-compile option is valid or not?
What should I do to make it work?

Best Regards,
Fatih Yesilova

Here is the dene.s source file:

       .set noreorder
       .set volatile
       .set noat
       .arch ev4
       .file   1 "dene.c"
       .rdata
$LC0:
       .ascii "Hello, compiled with linux.\12\0"
       .text
       .align 2
       .globl main
       .ent main
main:
       .frame $15,0,$26,0
       .mask 0x4008000,0
       ldgp $29,0($27)
$main..ng:
       lda $30,-16($30)
       stq $26,0($30)
       stq $15,8($30)
       bis $31,$30,$15
       .prologue 1
       lda $16,$LC0
       jsr $26,printf
       ldgp $29,0($26)
       lda $1,_iob
       lda $1,56($1)
       bis $31,$1,$16
       jsr $26,fflush
       ldgp $29,0($26)
       bis $31,$31,$16
       jsr $26,exit
       .end main








reply via email to

[Prev in Thread] Current Thread [Next in Thread]