home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / gcc / help / 2989 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.3 KB  |  53 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!noc.near.net!lynx!random.ccs.northeastern.edu!news
  3. From: jtsilla@damon.ccs.northeastern.edu (James Tsillas)
  4. Subject: gas-1.38 doesn't like symbol "LOGIN"
  5. Message-ID: <JTSILLA.93Jan21115201@damon.ccs.northeastern.edu>
  6. Sender: news@random.ccs.northeastern.edu
  7. Nntp-Posting-Host: damon.ccs.northeastern.edu
  8. Organization: Northeastern University, Boston, MA
  9. Distribution: gnu
  10. Date: Thu, 21 Jan 1993 16:52:01 GMT
  11. Lines: 40
  12.  
  13.  
  14. I've built gas-1.38 to cross assemble to a sun3 from a sparc. When I
  15. give it:
  16.  
  17. #NO_APP
  18. gcc2_compiled.:
  19. .text
  20.         .even
  21. .globl t
  22. t:
  23.         link a6,#0
  24.         jbsr LOGIN
  25. L1:
  26.         unlk a6
  27.         rts
  28.  
  29. and say: as68k -o test.o test.s
  30.  
  31. and then: nm test.o
  32.  
  33. I get:
  34.  
  35. 00000000 t gcc2_compiled.
  36. 00000000 T t
  37.  
  38. It turns out that LOGIN get's defined somehow to a garbage value. THe
  39. strange thing is that if I change LOGIN to some other name it works and
  40. I've failed to find any mention of LOGIN in the gas-1.38 source.
  41.  
  42. Have I stumbled onto some arcane bug? I'm running SunOS 4.1.3.
  43.  
  44. -Jim.
  45.  
  46.  
  47.  
  48. --
  49.     ***  James Tsillas  jtsilla@damon.ccs.northeastern.edu   ***
  50.     ***      Work: (508)898-2800, Home: (617)641-0513        ***
  51.     ***        "He is after me. Jim is after him."           ***
  52.     ***            - Hop on Pop, Dr. Seuss                   ***
  53.