This is the mail archive of the
mailing list for the binutils project.
Re: How to save and restore a symbol value in Aarch64?
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Jeffrey Walton <noloader at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 20 Apr 2017 12:02:58 +0200
- Subject: Re: How to save and restore a symbol value in Aarch64?
- Authentication-results: sourceware.org; auth=none
- References: <CAH8yC8m4ReBF_eY5B_Xs28G0-XYey0dBMssBo+X0pzi-3=OYeg@mail.gmail.com>
On Apr 20 2017, Jeffrey Walton <firstname.lastname@example.org> wrote:
> I need the method to get the previous .cpu value
.cpu is not a symbol, it is a directive, so you cannot get its "value".
The effect of the directive is to modify the internal state of the
assembler, which is not directly accessible to the assembler input.
Andreas Schwab, email@example.com
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."