This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: .hash section oddity
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "Smith, Stephen (SwCOE)" <stephen dot smith at honeywell dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 6 Sep 2007 10:13:42 +0930
- Subject: Re: .hash section oddity
- References: <000001c7f013$cfa63690$2808ef81@global.ds.honeywell.com>
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