R_SPARC_RELATIVE vs R_SPARC_UA32 & unaligned unwind tables - again

DJ Delorie dj@delorie.com
Wed Dec 19 10:47:00 GMT 2001


> What about if you add .align 4 before the instructions?

Works OK with a .align before the "foo:"

$ ./dj-b.exe 
0xef7a037c =  be ef de ad ab cd ef 01 00

But the uaword after foo() is still wrong:

(gdb) x/10x foo
0xef7a0390 <foo>:       0x113bde80      0x81c3e008      0x9012237c      0x01007a03
0xef7a03a0 <foo+16>:    0x80000000      0x00000004      0x00000094      0x00000005
0xef7a03b0 <foo+32>:    0x000002c0      0x00000006



More information about the Binutils mailing list