home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.help
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mlb.semi.harris.com!slopoke!swk
- From: swk@seymour.mlb.semi.harris.com (Song W. Koh)
- Subject: Re: ld -r -d problem after gcc
- References: <SWK.92Aug20174712@seymour.mlb.semi.harris.com>
- Date: 21 Aug 92 09:30:58
- Nntp-Posting-Host: seymour.mlb.semi.harris.com
- Distribution: gnu
- Organization: Harris Corp., Semiconductor Sector, Melbourne, FL
- Sender: news@mlb.semi.harris.com
- In-Reply-To: swk@seymour.mlb.semi.harris.com's message of 20 Aug 92 17:47:12
- Message-ID: <SWK.92Aug21093058@seymour.mlb.semi.harris.com>
- Lines: 25
-
- An additional data point...I tried the same thing with gcc on
- HP9000/380. The results are correct.
-
- This test was with the same files as in the sparc case.
- ----------------------------------------
- hp% gcc -c s2.c
- hp% gcc -c s3.c
- hp% gcc -c s4.c
- hp% ld -r -d s2.o s3.o s4.o
- hp% !! -o sl.o
- ld -r -d s2.o s3.o s4.o -o sl.o
- hp% gcc s1.c sl.o
- hp% a.out
- f1/v1: 1030 338 hello
- f2/v2: 1038 388 bye
- f3/v3: 1040 3d0 byebye
- --
- ------------------------------------------------------------------------
- Song Koh Harris Semiconductor
- swk@mlb.semi.harris.com MS 62-022
- Voice: (407)-724-7085 P. O Box 883 (US mail)
- Fax: (407)-729-4960 Palm Bay Road (UPS)
- Melbourne, FL 32902-0883
- ------------------------------------------------------------------------
-
-