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] | |
Obviously some other part of the assembler is corrupting the contents of the opcodep[] array. If you have access to a debugger (eg gdb) I would suggest that you run it and place a watchpoint on opcodep[2] and opcodep[3] to see how they get corrupted.
(Nagaraju) I have kept the watchpoint at that location but no where it is getting hit.
Without knowing more, my guess would be that it is connected with how/where this opcodep[] array is declared. Is it part of a bigger structure that gets reused maybe ?(Nagaraju) opcodep[] is pointing to fragp->fr_opcode. it is declared in md_convert_frag { unsigned char *opcodep;
opcodep = fragp->fr_opcode; .... }
Cheers Nick
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |