|
From: | Lu yunzhao |
Subject: | Some assembler error messages |
Date: | Fri, 27 Dec 2002 19:41:25 +0800 |
Hi,
I
encountered some problem with "as" on Redhat 7.2 for IA-64(Itanium). The as
version is "2.11.90.0.8"
as -v
GNU assembler version 2.11.90.0.8 (i386-redhat-linux) using BFD version 2.11.90.0.8 For the following piece of assembly code, here are
the error messages:(If the file number has been marked in the AS file, assembler
will report error for the next time)
util.s: Assembler messages:
util.s:17334: Error: File number 1 already allocated util.s:17337: Error: File number 34 already allocated util.s:17349: Error: File number 1 already allocated util.s:17642: Error: File number 34 already allocated util.s:17645: Error: File number 1 already allocated util.s:17648: Error: File number 34 already allocated util.s:17661: Error: File number 1 already allocated util.s:17664: Error: File number 34 already allocated util.s:17667: Error: File number 1 already allocated util.s:19393: Error: Unassigned file number 2 util.s:19393: Error: Unassigned file number 3 util.s:19393: Error: Unassigned file number 4 util.s:19393: Error: Unassigned file number 5 util.s:19393: Error: Unassigned file number 6 util.s:19393: Error: Unassigned file number 7 util.s:19393: Error: Unassigned file number 8
.file 34
"/usr/include/sys/stat.h"
.loc 34 346 0 // 342 // 343 extern __inline__ int stat (__const char *__path, // 344 struct stat *__statbuf) __THROW // 345 { // 346 return __xstat (_STAT_VER, __path, __statbuf); adds r47=560,sp // [0:346] __path } { .mmi .file 1 "/home/orcc/spec2000/perlbmk/util.c"// -------------error: file 1 allocated .loc 1 2542 0 adds r46=568,sp ;; // [0:2542] __statbuf .global PL_statbuf addl address@hidden(PL_statbuf#),gp // [1:2542] PL_statbuf adds r8=32,sp // [1:2542] tmpbuf } { .mmi .file 34 "/usr/include/sys/stat.h" // --------------error: file 34 allocated .loc 34 346 0 adds r48=568,sp ;; // [1:346] __statbuf .file 1 "/home/orcc/spec2000/perlbmk/util.c" .loc 1 2542 0 ld8 r2=[r2] // [2:2542] nop.i 0 // [:0] } { .mmi st8 [r3]=r8 ;; // [2:2542] .file 34 "/usr/include/sys/stat.h" .loc 34 346 0 ld8 r47=[r47] // [3:346] nop.i 0 ;; // [:0] } { .mmi .file 1 "/home/orcc/spec2000/perlbmk/util.c" .loc 1 2542 0 st8 [r46]=r2 // [4:2542] .file 34 "/usr/include/sys/stat.h" .loc 34 346 0 mov r46=1 // [4:346] I would appreciate your reply. Thank
you.
Yunzhao Lu |
[Prev in Thread] | Current Thread | [Next in Thread] |