Browse Source

* explicit paraloc for funcret
* libsym for powerpc ppu's

peter 20 years ago
parent
commit
09b85c2df2
1 changed files with 17 additions and 6 deletions
  1. 17 6
      compiler/utils/ppudump.pp

+ 17 - 6
compiler/utils/ppudump.pp

@@ -913,6 +913,7 @@ var
   proctypeoption  : tproctypeoption;
   proctypeoption  : tproctypeoption;
   i     : longint;
   i     : longint;
   first : boolean;
   first : boolean;
+  tempbuf : array[0..255] of byte;
 begin
 begin
   write(space,'      Return type : ');
   write(space,'      Return type : ');
   readtype;
   readtype;
@@ -951,6 +952,11 @@ begin
        end;
        end;
      writeln;
      writeln;
    end;
    end;
+  if (po_explicitparaloc in procoptions) then
+    begin
+      i:=ppufile.getbyte;
+      ppufile.getdata(tempbuf,i);
+    end;
 end;
 end;
 
 
 
 
@@ -1481,11 +1487,12 @@ begin
              readposinfo;
              readposinfo;
              write  (space,'       SymOptions : ');
              write  (space,'       SymOptions : ');
              readsymoptions;
              readsymoptions;
-{$ifdef powerpc}
-             { library symbol for AmigaOS/MorphOS }
-             write  (space,'   Library symbol : ');
-             readderef;
-{$endif powerpc}
+             if tsystemcpu(ppufile.header.cpu)=cpu_powerpc then
+	       begin
+                 { library symbol for AmigaOS/MorphOS }
+                 write  (space,'   Library symbol : ');
+                 readderef;
+	       end;	 
              if (calloption=pocall_inline) then
              if (calloption=pocall_inline) then
               begin
               begin
                 write  (space,'       FuncretSym : ');
                 write  (space,'       FuncretSym : ');
@@ -2144,7 +2151,11 @@ begin
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.66  2005-02-14 17:13:10  peter
+  Revision 1.67  2005-03-07 18:38:46  peter
+    * explicit paraloc for funcret
+    * libsym for powerpc ppu's
+
+  Revision 1.66  2005/02/14 17:13:10  peter
     * truncate log
     * truncate log
 
 
   Revision 1.65  2005/01/19 22:19:41  peter
   Revision 1.65  2005/01/19 22:19:41  peter