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] |
Widening carry-setting thumb2 add and sub accepted invalid immediates which were flat 12-bit encoded. ADDS.W and SUBS.W's immediates have to be modified immediate constants(unlike addw and subw). Attached is a patch that adds this check and fixes it in gas. Regression tested on arm-none-eabi.
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |