This is the mail archive of the binutils@sources.redhat.com 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: R_SPARC_RELATIVE vs R_SPARC_UA32 & unaligned unwind tables - again



> 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


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