From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 12 Dec 2002 07:05:49 +0000 (GMT) Received: from smtp-send.myrealbox.com ([192.108.102.143]:37758 "EHLO smtp-send.myrealbox.com") by linux-mips.org with ESMTP id ; Thu, 12 Dec 2002 07:05:48 +0000 Received: from GILAD yaelgilad@smtp-send.myrealbox.com [194.90.64.161] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.21 $ on Novell NetWare; Thu, 12 Dec 2002 00:05:43 -0700 From: "yaelgilad" To: Subject: R_MIPS_26 etc. Date: Thu, 12 Dec 2002 09:07:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C2A1BD.E4BD0940" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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: 878 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_000E_01C2A1BD.E4BD0940 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_000E_01C2A1BD.E4BD0940 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_000E_01C2A1BD.E4BD0940-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "yaelgilad" Subject: R_MIPS_26 etc. Date: Thu, 12 Dec 2002 09:07:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C2A1BD.E4BD0940" 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: <20021212070727.PeZkcptNgONTqv9lsaNLknx2Sj8sYMWoTO3S6cfAfoU@z> This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C2A1BD.E4BD0940 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_000E_01C2A1BD.E4BD0940 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_000E_01C2A1BD.E4BD0940--