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]

Re: Assembly instructions storing structure


hi,

On 11/17/05, Balaji V. Iyer <bviyer@ncsu.edu> wrote:
> Hi Everyone,
>      I am trying to port binutils to my propriatery architecture, and I
> would like to do some "fix" before writing the instructions to the
> file. I would to know where it stores the assembly instructions
> before writing it to the file (like maybe a linked list or
> something).
>
> I am currently using binutils-2.11.93
   The opcode for assembly instruction is written into a  structure called
   frag. I've never worked on binutils-2.11 but its at least the case
in 2.15. More info
  on frags can be got from gas/frags.h.

  When you say "fix" do you mean doing a fixup or you want to tamper with the
  object code of the already generated instruction ?

HTH,
cheers,
Ashwin Pathmudi.


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