Bug 6036 - ppc build dies in funit-watchpoints.S
Summary: ppc build dies in funit-watchpoints.S
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 19:04 UTC by Andrew Cagney
Modified: 2008-04-04 19:04 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2008-04-04 19:04:34 UTC
Vis:

/builddir/build/BUILD/frysk-0.2.1/build/../frysk-core/frysk/pkglibdir/funit-watchpoint.S:
Assembler messages:
/builddir/build/BUILD/frysk-0.2.1/build/../frysk-core/frysk/pkglibdir/funit-watchpoint.S:55:
Error: unsupported relocation against source

Several things:

  // Load source variables address into GPR 1
  LOAD_IMMED_BYTE (REG1, source)

since it's loading the word-sized address (source) it should use LOAD_IMMED_WORD.

  // Write 0x77 into the location of source (held by GPR1)
  STORE(REG3, REG1)

the store is word-sized, but source is only a byte in size.