These are 16 bit relocations and not part of a HI/LO pair so we need to
check that they don't overflow.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 10917 Build 10917: arc lint + arc unit
Event Timeline
Comment Actions
Added a test case.
I noticed that test case no longer works with https://reviews.llvm.org/D31528 (Multi-GOT) and I'm not sure how to create one that works with it.
Comment Actions
LGTM
I think it will be impossible to write a test case for this change when multi-GOT is implemented. The only option is to implement a "debug" command line option for disabling multi-GOT. Additional flag is redundant, but my patch has mips-got-size flag. I consider to treat a zero argument of this flag as a special value.