On Mon, Sep 28, 2015 at 01:54:17PM +0200, Bernd Schmidt wrote: > On 09/28/2015 11:44 AM, Dominik Vogt wrote: > >I mean, it's more or less random whether switching to and from the > >function's section ends up inside the new .machine and > >.machinemode directives (if the section needs to be switched for > >this function) or outside (if the assembler code had already > >switched to the correct section earlier). I assume that .machine > >and .machinemode have no effect on the section switching, but I'm > >not completely sure (alignment?). > > Still not really following since I don't know anything about s390 > and its directives.
.machine switches the Cpu (like .arch on x86) and .machinemode switches between Esa and Zarch modes. > In case you're trying to figure out whether it's possible to use > the existing macros, please continue doing so. I don't see any way to use existing hooks for that (because the constant pool needs to be wrapped inside the hooks and there are none that do that at the moment). > However, you probably should add a sentence or two to > the documentation to specify ordering wrt other parts of the header > of a function. Any suggestions where that information should be placed in the documentation? Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany