home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / gcc / help / 1973 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.4 KB  |  40 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mlb.semi.harris.com!slopoke!swk
  3. From: swk@seymour.mlb.semi.harris.com (Song W. Koh)
  4. Subject: Re: ld -r -d problem after gcc
  5. References: <SWK.92Aug20174712@seymour.mlb.semi.harris.com>
  6. Date: 21 Aug 92 09:30:58
  7. Nntp-Posting-Host: seymour.mlb.semi.harris.com
  8. Distribution: gnu
  9. Organization: Harris Corp., Semiconductor Sector, Melbourne, FL
  10. Sender: news@mlb.semi.harris.com
  11. In-Reply-To: swk@seymour.mlb.semi.harris.com's message of 20 Aug 92 17:47:12
  12. Message-ID: <SWK.92Aug21093058@seymour.mlb.semi.harris.com>
  13. Lines: 25
  14.  
  15. An additional data point...I tried the same thing with gcc on
  16. HP9000/380.  The results are correct.
  17.  
  18. This test was with the same files as in the sparc case.
  19. ----------------------------------------
  20. hp% gcc -c s2.c
  21. hp% gcc -c s3.c
  22. hp% gcc -c s4.c
  23. hp% ld -r -d s2.o s3.o s4.o
  24. hp% !! -o sl.o   
  25. ld -r -d s2.o s3.o s4.o -o sl.o 
  26. hp% gcc s1.c sl.o
  27. hp% a.out
  28. f1/v1: 1030 338 hello
  29. f2/v2: 1038 388 bye
  30. f3/v3: 1040 3d0 byebye
  31. --
  32. ------------------------------------------------------------------------
  33. Song Koh            Harris Semiconductor
  34. swk@mlb.semi.harris.com        MS 62-022
  35. Voice: (407)-724-7085        P. O Box 883 (US mail) 
  36. Fax:   (407)-729-4960        Palm Bay Road (UPS)
  37.                 Melbourne, FL 32902-0883
  38. ------------------------------------------------------------------------
  39.  
  40.