From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 10 Dec 2002 17:09:36 +0100 (CET) Received: from smtp-send.myrealbox.com ([192.108.102.143]:5661 "EHLO smtp-send.myrealbox.com") by linux-mips.org with ESMTP id ; Tue, 10 Dec 2002 17:09:35 +0100 Received: from GILAD yaelgilad@smtp-send.myrealbox.com [194.90.64.161] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.15 $ on Novell NetWare; Tue, 10 Dec 2002 09:09:31 -0700 From: "yaelgilad" To: Subject: R_MIPS_26 etc. Date: Tue, 10 Dec 2002 18:11:14 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C2A077.8706AFF0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 839 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: yaelgilad@myrealbox.com Precedence: bulk X-list: linux-mips This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C2A077.8706AFF0 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: 7bit Looking in the assembly code of my driver, I see the following pattern repeating with every function call. 4ce4: 0c000000 jal 0 4ce4: R_MIPS_26 rx_wait_packet (R_MIPS_26 is sometimes replaces by a similar command) What is R_MIPS_26 ? What are the rest of them ? I am guessing it has to do with relocatable addresses, but this specific function is in the same C file. Marking it as "static" does change the code and get rid of this command. TIA Gilad P.S. I am building assembler files in two different methods: - gmake .lst - mips-linux-odjdump -x -S > The outputs are similar but not identical. What's the more "correct" way ? TIA-2 ------=_NextPart_000_0013_01C2A077.8706AFF0 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable
Looking in the=20 assembly code of my driver, I see the following
pattern repeating=20 with every function call.
    4ce4: 0c000000  = jal=20 0 
      4ce4: = R_MIPS_26=20 rx_wait_packet
(R_MIPS_26 is sometimes replaces by a similar=20 command)
What is R_MIPS_26 ? What are the rest of them=20 ?
I am = guessing it has=20 to do with relocatable addresses, but this specific
function is in the=20 same C file. Marking it as "static" does change the code =
and = get rid of this=20 command.
 
TIA
Gilad
 
P.S. I = am building=20 assembler files in two different methods:
- = gmake=20 <path-to-file>.lst
- = mips-linux-odjdump=20 -x -S <path-to-C-file>  >=20 <path-to-file.lst>
The outputs are=20 similar but not identical.
What's = the more=20 "correct" way ?
TIA-2
 
 
 
 
------=_NextPart_000_0013_01C2A077.8706AFF0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "yaelgilad" Subject: R_MIPS_26 etc. Date: Tue, 10 Dec 2002 18:11:14 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C2A077.8706AFF0" Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: linux-mips@linux-mips.org Message-ID: <20021210161114.IITfnOOab49lrv9qlvc_DTl-9LQBBFRTyukOd0bw1Qc@z> This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C2A077.8706AFF0 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: 7bit Looking in the assembly code of my driver, I see the following pattern repeating with every function call. 4ce4: 0c000000 jal 0 4ce4: R_MIPS_26 rx_wait_packet (R_MIPS_26 is sometimes replaces by a similar command) What is R_MIPS_26 ? What are the rest of them ? I am guessing it has to do with relocatable addresses, but this specific function is in the same C file. Marking it as "static" does change the code and get rid of this command. TIA Gilad P.S. I am building assembler files in two different methods: - gmake .lst - mips-linux-odjdump -x -S > The outputs are similar but not identical. What's the more "correct" way ? TIA-2 ------=_NextPart_000_0013_01C2A077.8706AFF0 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable
Looking in the=20 assembly code of my driver, I see the following
pattern repeating=20 with every function call.
    4ce4: 0c000000  = jal=20 0 
      4ce4: = R_MIPS_26=20 rx_wait_packet
(R_MIPS_26 is sometimes replaces by a similar=20 command)
What is R_MIPS_26 ? What are the rest of them=20 ?
I am = guessing it has=20 to do with relocatable addresses, but this specific
function is in the=20 same C file. Marking it as "static" does change the code =
and = get rid of this=20 command.
 
TIA
Gilad
 
P.S. I = am building=20 assembler files in two different methods:
- = gmake=20 <path-to-file>.lst
- = mips-linux-odjdump=20 -x -S <path-to-C-file>  >=20 <path-to-file.lst>
The outputs are=20 similar but not identical.
What's = the more=20 "correct" way ?
TIA-2
 
 
 
 
------=_NextPart_000_0013_01C2A077.8706AFF0--