This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling with -m64 using attribute interrupt emits IRET not IRETQ


On Thu, Jan 28, 2016 at 9:06 AM, Wink Saville <wink@saville.com> wrote:
> I using hjl/interrupt/gcc-5-branch and my program is crashing when I
> issue an INT xx. The problem appears to me to be that using
> __attribute__ ((interrupt)) causes the a IRET to be emitted when an
> IRETQ should be emitted. Below is my trivial do nothing main.c which I
> compile with and then use objdump to view the assembler source.
>
> I compiled x86_64-unknown-elf-xxxx using crosstool-ng, could that be a problem?

I fixed it on hjl/interrupt/gcc-5-branch branch.  I will fix it for
hjl/interrupt/stage1 soon.

Thanks.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]