Apply Philip Blundell <pb@nexus.co.uk>'s patch to add PIC support to the Thumb.