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:09:28 +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>
2017-11-23 10:47 GMT+00:00 Jason A. Donenfeld <Jason@zx2c4.com>:
> We currently do not have a
> way of working around your breaking changes without adding additional
> runtime instructions, which isn't acceptable for us.
For the runtime overhead issue, I feel my suggestion to FFMPEG community still
helps though there might be extra symbols added in the symtab.
Reading the thread, I saw Martin said it doesn't work for assembler for some
other platforms but I guess for linux + gas it should always work.
i.e something like the following for arm kernel code:
...
.ifdef \sym\()_lazy
.eqv \sym\()_lazy, \sym
.endif
adr\c \rd, \sym\()_lazy + 1
...