This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: .hash section oddity


Thanks - It is in the debuglink section.

-----Original Message-----
From: Alan Modra [mailto:amodra@bigpond.net.au] 
Sent: Wednesday, September 05, 2007 5:44 PM
To: Smith, Stephen (SWCOE)
Cc: binutils@sources.redhat.com
Subject: Re: .hash section oddity

On Wed, Sep 05, 2007 at 04:23:48PM -0700, Smith, Stephen (SwCOE) wrote:
> $ diff -u ppc-libansi-300.txt ppc-libansi-3873.txt
> --- ppc-libansi-300.txt 2007-09-05 10:45:48.871022500 -0700
> +++ ppc-libansi-3873.txt        2007-09-05 10:44:53.152272500 -0700
> @@ -1,5 +1,5 @@
>    
> -../../ansi-3_0_0/ppc/appbin/dbg/libansi.so:  file format
elf32-powerpc
> +ppc/appbin/dbg/libansi.so:     file format elf32-powerpc
> 
> Disassembly of section .hash:
>   
> @@ -13354,4 +13354,4 @@
>     4:  6e 73 69 2e     xoris   r19,r19,26926
>     8:  73 6f 2e 64     andi.   r15,r27,11876
>     c:  62 67 00 6e     ori     r7,r19,110
> -  10:  2a af b8 77     cmpldi  cr5,r15,47223
> +  10:  13 10 72 26     vmsumuhm v24,v16,v14,v8
> 
> This told me that a DWORD is different and that the variable is
aligned on a DWORD boundary.

This difference isn't in the .hash section.

> What is at the point in the file where the two binaries differ?

You tell us.  :-)  Look in ppc-libansi-300.txt at around line 13350
for the section name.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]