This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] arm: ensure symbol is a thumb symbol in new binutils
- From: Jiong Wang <wong dot kwongyuan dot tools at gmail dot com>
- To: "Jason A. Donenfeld" <Jason at zx2c4 dot com>
- Cc: Nicholas Clifton <nickc at redhat dot com>, binutils at sourceware dot org
- Date: Fri, 24 Nov 2017 16:15:29 +0000
- Subject: Re: [PATCH] arm: ensure symbol is a thumb symbol in new binutils
- Authentication-results: sourceware.org; auth=none
- References: <20171121172751.29545-1-Jason@zx2c4.com> <20171121173857.GJ31757@n2100.armlinux.org.uk> <CAHmME9quDFbdOR9hKRz-Px=Mh3FvYEyhVrs4V_+JT+GjDajMrA@mail.gmail.com> <20171121174942.GK31757@n2100.armlinux.org.uk> <CAHmME9oMTNJFnOwfhu26QSRSP92Axbc-+v9cCPsTKxekZvGvxg@mail.gmail.com> <20171123103518.GL31757@n2100.armlinux.org.uk> <CAHmME9qBxgDV-HGeqj75ohr=4Bf+TD73PcC0DUqTRh5PTOKyhQ@mail.gmail.com> <CAAfDdZ07cu-sn8O6kxCDin3r6P077J=cjtcfEDeR_=u4eAaY6w@mail.gmail.com>
2017-11-24 16:09 GMT+00:00 Jiong Wang <wong.kwongyuan.tools@gmail.com>:
>
> i.e something like the following for arm kernel code:
>
> ...
> .ifdef \sym\()_lazy
s/ifdef/ifndef/
> .eqv \sym\()_lazy, \sym
> .endif
> adr\c \rd, \sym\()_lazy + 1
> ...