This is the mail archive of the gcc-patches@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]

[PATCH] Use ".word/t0x0b0f" instead of ud2 in i386.md


Some old versions of gas (pre 2) do not support ud2 which causes us to fail
to bootstrap with them. i686-openbsd3.1 is one such example which have been fail
since the change over for trap to use ud2 instead of "int $5".


This patch fixes the bootstrap on i686-openbsd3.1 on the mainline.

OK? Bootstrapped and tested on i686-openbsd3.1 with no regressions.

Thanks,
Andrew Pinski

ChangeLog:

* config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2.


Attachment: t.diff.txt
Description: Text document


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