From fc6141f097056f830a412afebed8d81a9d72b696 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 20 Jun 2018 12:38:10 +0100 Subject: Change the ARM assembler's ADR and ADRl pseudo-ops so that they will only set the bottom bit of imported thumb function symbols if the -mthumb-interwork option is active. For more information see the email thread starting here: https://www.sourceware.org/ml/binutils/2018-05/msg00348.html PR 21458 * tc-arm.c (do_adr): Only set the bottom bit of an imported thumb function symbol address if -mthumb-interwork is active. (do_adrl): Likewise. * doc/c-arm.texi: Update descriptions of the -mthumb-interwork option and the ADR and ADRL pseudo-ops. * NEWS: Mention the new behaviour of the ADR and ADRL pseudo-ops. * testsuite/gas/arm/pr21458.d: Add -mthumb-interwork option to assembler command line. * testsuite/gas/arm/adr.d: Likewise. * testsuite/gas/arm/adrl.d: Likewise. --- gas/NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gas/NEWS') diff --git a/gas/NEWS b/gas/NEWS index 9dfc845..474ff42 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -1,5 +1,9 @@ -*- text -*- +* The ADR and ADRL pseudo-instructions supported by the ARM assembler + now only set the bottom bit of the address of thumb function symbols + if the -mthumb-interwork command line option is active. + * Add support for the MIPS Global INValidate (GINV) ASE. * Add support for the MIPS Cyclic Redudancy Check (CRC) ASE. -- cgit v1.1