Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH 7/7] DWARF: add the config option | From | "H. Peter Anvin" <> | Date | Mon, 22 May 2017 14:07:56 -0700 |
| |
On 05/20/17 13:01, H.J. Lu wrote: > On Sat, May 20, 2017 at 9:20 AM, Josh Poimboeuf <jpoimboe@redhat.com> wrote: > >>> >>> (H.J., could we get a binutils feature that allows is to do: >>> >>> pushq %whatever >>> .cfi_adjust_sp -8 >>> ... >>> popq %whatever >>> .cfi_adjust_sp 8 >>> > > Np. Compiler needs to generate this. >
For actual assembly we have such a feature, it is called macros.
push/pop is the easy stuff; macros take care of that, but the real pain is dealing with the flow of control.
-hpa
| ![\](/images/icornerr.gif) |