[llvm] r198580 - [Sparc] Add ELF Object Writer for Sparc.
Roman Divacky
rdivacky at freebsd.org
Mon Jan 6 14:06:08 PST 2014
> unsigned getNumFixupKinds() const {
> return Sparc::NumTargetFixupKinds;
> @@ -31,7 +64,14 @@ namespace {
> // name offset bits flags
> { "fixup_sparc_call30", 0, 30, MCFixupKindInfo::FKF_IsPCRel },
> { "fixup_sparc_br22", 0, 22, MCFixupKindInfo::FKF_IsPCRel },
> - { "fixup_sparc_br19", 0, 19, MCFixupKindInfo::FKF_IsPCRel }
> + { "fixup_sparc_br19", 0, 19, MCFixupKindInfo::FKF_IsPCRel },
> + { "fixup_sparc_hi22", 0, 22, 0 },
> + { "fixup_sparc_lo10", 0, 10, 0 },
> + { "fixup_sparc_h44", 0, 22, 0 },
> + { "fixup_sparc_m44", 0, 10, 0 },
> + { "fixup_sparc_l44", 0, 12, 0 },
> + { "fixup_sparc_hh", 0, 21, 0 },
^^
This should be 22, right?
More information about the llvm-commits
mailing list