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

[Bug target/14202] [arm] Thumb __builtin_setjmp not interworking safe


------- Additional Comments From drow at gcc dot gnu dot org  2004-02-19 17:51 -------
There are probably other affected bits of code.  As an alternate approach, I tried
emitting a +1 after all thumb-mode code labels output using arm_assemble_integer;
this results in working exceptions and working computed goto, and it even manages
not to mess up dwarf2 debug info (but only because dwarf2 bypasses
assemble_integer).
My assumption is that all such labels are being used to move into the PC
(in which case bx needs the bit and mov will ignore it); things in need of code
addresses
appear to go elsewhere.

I didn't test profiling, which may be broken by this approach.  I'd be amazed if
nothing
was.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14202


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