I'm using 32-bit. Here are some of the differences: ***** dhry21.dump CONTENTS, READONLY, DEBUGGING 12 .debug_line 00002562 00000000 00000000 0000b06e 2**0 CONTENTS, READONLY, DEBUGGING 13 .debug_str 00000c0a 00000000 00000000 0000d5d0 2**0 CONTENTS, READONLY, DEBUGGING 14 .debug_ranges 00000040 00000000 00000000 0000e1da 2**0 CONTENTS, READONLY, DEBUGGING ***** DHRY21_PC.DUMP CONTENTS, READONLY, DEBUGGING 12 .debug_line 0000243c 00000000 00000000 0000b06e 2**0 CONTENTS, READONLY, DEBUGGING 13 .debug_str 00000bd2 00000000 00000000 0000d4aa 2**0 CONTENTS, READONLY, DEBUGGING 14 .debug_ranges 00000040 00000000 00000000 0000e07c 2**0 CONTENTS, READONLY, DEBUGGING ***** ***** dhry21.dump a: 0104 mv sp,ra c: 031a j 192 <_ftext-0x1e6e> e: 0000 unimp 10: db0c lw a1,48(a4) 12: 0001 0x1 14: b000 fld s0,32(s0) ***** DHRY21_PC.DUMP a: 0104 mv sp,ra c: 0312 j 190 <_ftext-0x1e70> e: 0000 unimp 10: 110c add sp,sp,gp 12: 0002 j 12 <_ftext-0x1fee> 14: b000 fld s0,32(s0) ***** ***** dhry21.dump 26: 0074 0x74 28: 00043d03 0x43d03 2c: 0200 jr tp ***** DHRY21_PC.DUMP 26: 0074 0x74 28: 00043503 0x43503 2c: 0200 jr tp ***** ***** dhry21.dump 42: 0408 mv s0,sp 44: 0262 j 15c <_ftext-0x1ea4> 46: 0000 unimp ***** DHRY21_PC.DUMP 42: 0408 mv s0,sp 44: 01fe j 142 <_ftext-0x1ebe> 46: 0000 unimp ***** ***** dhry21.dump 48: 0104 mv sp,ra 4a: c506 addi a0,a0,1 4c: 0002 j 4c <_ftext-0x1fb4> ***** DHRY21_PC.DUMP 48: 0104 mv sp,ra 4a: bd06 lui s10,0xfffe1 4c: 0002 j 4c <_ftext-0x1fb4> ***** On Wed, Sep 30, 2015 at 3:02 AM, <johnsfine@xxxxxxxxxxx> wrote: > What difference do you mean and are you using 64-bit or 32-bit. > > I'd expect either to be different and would not know how to fix that for 32-bit if it is different. > > But for 64-bit it would not be correct to make them the same, even if you knew how. Windows uses its own ABI for x86-64 and not the original standard ABI that Linux uses. > > > On 09/29/15, Helen Tang wrote: > > I built a gcc toolchain with same target and architecture on Ubuntu > and on Windows(Cygwin). The results from objdump are different. Is > there a way to make > them the same? > > Thanks, > > Helen