Hi, This changes the definition of Pmode for aarch64 port. Unlike x86, S390 etc., Pmode is always set to DImode for aarch64 port even under ILP32. Because of that definition, machine mode of symbol_ref which is supposed to be SImode becomes DImode under target ILP32. Definition of Pmode should depend on the current ABI, i.e., SImode for ILP32 and DImode for LP64. Attached please find the proposed patch . Bootstrap and tested on aarch64 Linux platform. No new regression witnessed. Any suggestion? Thanks, Duanbo
pr95182-v0.patch
Description: pr95182-v0.patch