1 /* src/vm/jit/alpha/asmpart.S - Java-C interface functions for alpha
3 Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
4 C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5 E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6 J. Wenninger, Institut f. Computersprachen - TU Wien
8 This file is part of CACAO.
10 This program is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License as
12 published by the Free Software Foundation; either version 2, or (at
13 your option) any later version.
15 This program is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 Contact: cacao@cacaojvm.org
27 Authors: Andreas Krall
30 Changes: Joseph Wenninger
33 $Id: asmpart.S 4498 2006-02-12 23:43:09Z twisti $
40 #include "vm/jit/alpha/md-abi.h"
41 #include "vm/jit/alpha/md-asm.h"
42 #include "vm/jit/alpha/offsets.h"
44 #include "vm/jit/abi.h"
45 #include "vm/jit/methodheader.h"
53 /********************* exported functions and variables ***********************/
57 .globl asm_sync_instruction_cache
59 .globl asm_calljavafunction
60 .globl asm_calljavafunction_int
62 .globl asm_calljavafunction2
63 .globl asm_calljavafunction2int
64 .globl asm_calljavafunction2long
65 .globl asm_calljavafunction2float
66 .globl asm_calljavafunction2double
68 .globl asm_call_jit_compiler
69 .globl asm_handle_exception
70 .globl asm_handle_nat_exception
72 .globl asm_wrapper_patcher
74 .globl asm_perform_threadswitch
75 .globl asm_initialize_thread_stack
76 .globl asm_switchstackandcall
77 .globl asm_criticalsections
78 .globl asm_getclassvalues_atomic
81 /* asm_sync_instruction_cache **************************************************
85 *******************************************************************************/
87 .ent asm_sync_instruction_cache
89 asm_sync_instruction_cache:
90 call_pal PAL_imb /* synchronize instruction cache */
93 .end asm_sync_instruction_cache
96 /* asm_md_init *****************************************************************
98 Initialize machine dependent stuff.
100 Determines if the byte support instruction set (21164a and higher)
103 *******************************************************************************/
109 .long 0x47e03c20 /* amask 1,v0 */
110 jmp zero,(ra) /* return */
115 /********************* function asm_calljavafunction ***************************
117 * This function calls a Java-method (which possibly needs compilation) *
118 * with up to 4 address parameters. *
120 * This functions calls the JIT-compiler which eventually translates the *
121 * method into machine code. *
124 * javaobject_header *asm_calljavafunction (methodinfo *m, *
125 * void *arg1, void *arg2, void *arg3, void *arg4); *
127 *******************************************************************************/
129 .ent asm_calljavafunction
133 .quad 0 /* catch type all */
134 .quad calljava_xhandler /* handler pc */
135 .quad calljava_xhandler /* end pc */
136 .quad asm_calljavafunction /* start pc */
137 .long 1 /* extable size */
138 .long 0 /* ALIGNMENT PADDING */
139 .quad 0 /* line number table start */
140 .quad 0 /* line number table size */
141 .long 0 /* ALIGNMENT PADDING */
142 .long 0 /* fltsave */
143 .long 0 /* intsave */
146 .long 0 /* frame size */
147 .quad 0 /* method pointer (pointer to name) */
149 asm_calljavafunction:
150 asm_calljavafunction_int:
152 lda sp,-4*8(sp) /* allocate stack space */
153 stq ra,0*8(sp) /* save return address */
154 stq gp,1*8(sp) /* save global pointer */
156 mov a0,itmp1 /* pass method pointer via tmp1 */
158 mov a1,a0 /* pass the remaining parameters */
163 lda mptr,asm_call_jit_compiler /* fake virtual function call */
164 stq mptr,3*8(sp) /* store function address */
165 mov sp,mptr /* set method pointer */
167 ldq pv,3*8(mptr) /* method call as in Java */
168 jmp ra,(pv) /* call JIT compiler */
170 lda pv,(asm_calljavafunction - calljava_jit)(ra)
172 L_asm_calljavafunction_return:
173 ldq ra,0*8(sp) /* restore return address */
174 ldq gp,1*8(sp) /* restore global pointer */
175 lda sp,4*8(sp) /* free stack space */
179 ldq gp,1*8(sp) /* restore global pointer */
181 jsr ra,builtin_throw_exception
182 mov zero,v0 /* return NULL */
183 br L_asm_calljavafunction_return
185 .end asm_calljavafunction
190 .ent asm_calljavafunction2
194 .quad 0 /* catch type all */
195 .quad calljava_xhandler2 /* handler pc */
196 .quad calljava_xhandler2 /* end pc */
197 .quad asm_calljavafunction2 /* start pc */
198 .long 1 /* extable size */
199 .long 0 /* ALIGNMENT PADDING */
200 .quad 0 /* line number table start */
201 .quad 0 /* line number table size */
202 .long 0 /* ALIGNMENT PADDING */
203 .long 0 /* fltsave */
204 .long 1 /* intsave */
207 .long 0 /* frame size */
208 .quad 0 /* method pointer (pointer to name) */
210 asm_calljavafunction2:
211 asm_calljavafunction2int:
212 asm_calljavafunction2long:
213 asm_calljavafunction2float:
214 asm_calljavafunction2double:
216 lda sp,-5*8(sp) /* allocate stack space */
217 stq ra,0*8(sp) /* save return address */
218 stq gp,1*8(sp) /* save global pointer */
221 stq a0,4*8(sp) /* save method pointer for compiler */
223 mov a3,t0 /* pointer to arg block */
224 mov a1,s6 /* arg count */
226 ble s6,calljava_argsloaded
228 ldq a0,offjniitem(t0)
229 ldt $f16,offjniitem(t0)
230 ble s6,calljava_argsloaded
233 ldq a1,offjniitem+sizejniblock*1(t0)
234 ldt $f17,offjniitem+sizejniblock*1(t0)
235 ble s6,calljava_argsloaded
238 ldq a2,offjniitem+sizejniblock*2(t0)
239 ldt $f18,offjniitem+sizejniblock*2(t0)
240 ble s6,calljava_argsloaded
243 ldq a3,offjniitem+sizejniblock*3(t0)
244 ldt $f19,offjniitem+sizejniblock*3(t0)
245 ble s6,calljava_argsloaded
248 ldq a4,offjniitem+sizejniblock*4(t0)
249 ldt $f20,offjniitem+sizejniblock*4(t0)
250 ble s6,calljava_argsloaded
253 ldq a5,offjniitem+sizejniblock*5(t0)
254 ldt $f21,offjniitem+sizejniblock*5(t0)
257 ble s6,calljava_nocopy
263 ldq t3,offjniitem+sizejniblock*6(t0)
266 lda t0,sizejniblock(t0)
268 bne t1,calljava_copyloop
271 ldq itmp1,4*8(t4) /* pass method pointer via itmp1 */
273 lda mptr,asm_call_jit_compiler/* fake virtual function call (2 instr) */
274 stq mptr,2*8(t4) /* store function address */
275 lda mptr,1*8(t4) /* set method pointer */
277 ldq pv,1*8(mptr) /* method call as in Java */
278 jmp ra,(pv) /* call JIT compiler */
280 lda pv,(asm_calljavafunction2 - calljava_jit2)(ra)
284 ldq ra,0*8(sp) /* restore return address */
285 ldq gp,1*8(sp) /* restore global pointer */
287 lda sp,5*8(sp) /* free stack space */
294 ldq gp,1*8(sp) /* restore global pointer */
296 jsr ra,builtin_throw_exception
297 ldq ra,0*8(sp) /* restore return address */
299 lda sp,5*8(sp) /* free stack space */
300 mov zero,v0 /* return NULL */
303 .end asm_calljavafunction2
306 /****************** function asm_call_jit_compiler *****************************
308 * invokes the compiler for untranslated JavaVM methods. *
310 * Register R0 contains a pointer to the method info structure (prepared *
311 * by createcompilerstub). Using the return address in R26 and the *
312 * offset in the LDA instruction or using the value in methodptr R28 the *
313 * patching address for storing the method address can be computed: *
315 * method address was either loaded using *
316 * M_LDQ (REG_PV, REG_PV, a) ; invokestatic/special ($27) *
317 * M_LDA (REG_PV, REG_RA, low) *
318 * M_LDAH(REG_PV, REG_RA, high) ; optional *
320 * M_LDQ (REG_PV, REG_METHODPTR, m) ; invokevirtual/interface ($28) *
321 * in the static case the method pointer can be computed using the *
322 * return address and the lda function following the jmp instruction *
324 *******************************************************************************/
326 .ent asm_call_jit_compiler
328 asm_call_jit_compiler:
330 lda sp,-(15*8+sizestackframeinfo)(sp) /* reserve stack space */
332 SAVE_ARGUMENT_REGISTERS(0) /* save 6 int/6 float argument registers */
334 stq mptr,12*8(sp) /* save method pointer */
335 stq ra,13*8(sp) /* save return address */
336 stq itmp1,14*8(sp) /* save methodinfo pointer */
338 lda a0,15*8(sp) /* create stackframe info */
339 mov zero,a1 /* we don't have pv handy */
340 lda a2,15*8+sizestackframeinfo(sp) /* pass java sp */
341 mov ra,a3 /* pass Java ra */
342 mov a3,a4 /* xpc is equal to ra */
343 jsr ra,stacktrace_create_extern_stackframeinfo
346 ldq a0,14*8(sp) /* pass methodinfo pointer */
347 jsr ra,jit_compile /* call jit compiler */
349 stq v0,14*8(sp) /* save return value */
351 ldq a0,13*8(sp) /* pass return address */
352 lda a1,15*8(sp) /* pass stackframeinfo (for PV) */
353 ldq a2,12*8(sp) /* pass method pointer */
354 jsr ra,md_assembler_get_patch_address /* get address of patch position*/
356 stq v0,12*8(sp) /* store patch address for later use */
358 lda a0,15*8(sp) /* remove stackframe info */
359 jsr ra,stacktrace_remove_stackframeinfo
362 RESTORE_ARGUMENT_REGISTERS(0) /* restore 6 int/6 float argument registers */
364 ldq t0,12*8(sp) /* load patch address */
365 ldq ra,13*8(sp) /* load return address */
366 ldq pv,14*8(sp) /* restore method entry point */
367 lda sp,15*8+sizestackframeinfo(sp) /* deallocate stack area */
369 beq pv,L_asm_call_jit_compiler_exception
371 stq pv,0(t0) /* patch method entry point */
373 call_pal PAL_imb /* synchronise instruction cache */
375 jmp zero,(pv) /* and call method, the method returns */
376 /* directly to the caller (ra). */
378 L_asm_call_jit_compiler_exception:
379 #if defined(USE_THREADS) && defined(NATIVE_THREADS)
381 stq ra,0*8(sp) /* save return address (xpc) */
382 jsr ra,builtin_asm_get_exceptionptrptr
383 ldq ra,0*8(sp) /* restore return address (xpc) */
388 ldq xptr,0(v0) /* get the exception pointer */
389 stq zero,0(v0) /* clear the exception pointer */
392 br asm_handle_nat_exception
394 .end asm_call_jit_compiler
397 /* asm_handle_exception ********************************************************
399 This function handles an exception. It does not use the usual calling
400 conventions. The exception pointer is passed in REG_ITMP1 and the
401 pc from the exception raising position is passed in REG_ITMP2. It searches
402 the local exception table for a handler. If no one is found, it unwinds
403 stacks and continues searching the callers.
405 ATTENTION: itmp3 == gp!
407 *******************************************************************************/
409 .ent asm_handle_nat_exception
411 asm_handle_nat_exception:
412 ldl t0,0(ra) /* load instruction LDA PV,xxx(RA) */
414 sra t0,48,t0 /* isolate offset */
415 addq t0,ra,pv /* compute update address */
416 ldl t0,4(ra) /* load instruction LDAH PV,xxx(PV) */
417 srl t0,16,t0 /* isolate instruction code */
418 lda t0,-0x177b(t0) /* test for LDAH */
419 bne t0,asm_handle_exception
420 ldl t0,4(ra) /* load instruction LDAH PV,xxx(PV) */
421 sll t0,16,t0 /* compute high offset */
422 addl t0,0,t0 /* sign extend high offset */
423 addq t0,pv,pv /* compute update address */
425 .aent asm_handle_exception
427 asm_handle_exception:
428 lda sp,-(ARG_CNT+TMP_CNT)*8(sp) /* create maybe-leaf stackframe */
430 SAVE_ARGUMENT_REGISTERS(0) /* we save arg and temp registers in */
431 SAVE_TEMPORARY_REGISTERS(ARG_CNT) /* case this is a leaf method */
433 lda a3,(ARG_CNT+TMP_CNT)*8(zero)/* prepare a3 for handle_exception */
434 lda a4,1(zero) /* set maybe-leaf flag */
436 L_asm_handle_exception_stack_loop:
437 lda sp,-5*8(sp) /* allocate stack */
438 stq xptr,0*8(sp) /* save exception pointer */
439 stq xpc,1*8(sp) /* save exception pc */
440 stq pv,2*8(sp) /* save data segment pointer */
441 stq ra,3*8(sp) /* save return address */
442 addq a3,sp,a3 /* calculate Java sp into a3... */
444 stq a4,4*8(sp) /* save maybe-leaf flag */
446 br ra,L_asm_handle_exception_load_gp /* set ra for gp loading */
447 L_asm_handle_exception_load_gp:
448 ldgp gp,0(ra) /* load gp */
450 mov xptr,a0 /* pass exception pointer */
451 mov xpc,a1 /* pass exception pc */
452 mov pv,a2 /* pass data segment pointer */
453 /* a3 is still set */
454 jsr ra,exceptions_handle_exception
456 beq v0,L_asm_handle_exception_not_catched
458 mov v0,xpc /* move handlerpc into xpc */
459 ldq xptr,0*8(sp) /* restore exception pointer */
460 ldq pv,2*8(sp) /* restore data segment pointer */
461 ldq ra,3*8(sp) /* restore return address */
462 ldq a4,4*8(sp) /* get maybe-leaf flag */
463 lda sp,5*8(sp) /* free stack frame */
465 beq a4,L_asm_handle_exception_no_leaf
467 RESTORE_ARGUMENT_REGISTERS(0) /* if this is a leaf method, we have */
468 RESTORE_TEMPORARY_REGISTERS(ARG_CNT)/* to restore arg and temp registers */
470 lda sp,(ARG_CNT+TMP_CNT)*8(sp) /* remove maybe-leaf stackframe */
472 L_asm_handle_exception_no_leaf:
473 jmp zero,(xpc) /* jump to the handler */
475 L_asm_handle_exception_not_catched:
476 ldq xptr,0*8(sp) /* restore exception pointer */
477 ldq pv,2*8(sp) /* restore data segment pointer */
478 ldq ra,3*8(sp) /* restore return address */
479 ldq a4,4*8(sp) /* get maybe-leaf flag */
482 beq a4,L_asm_handle_exception_no_leaf_stack
484 lda sp,(ARG_CNT+TMP_CNT)*8(sp) /* remove maybe-leaf stackframe */
485 mov zero,a4 /* clear the maybe-leaf flag */
487 L_asm_handle_exception_no_leaf_stack:
488 ldl t0,FrameSize(pv) /* get frame size */
489 addq t0,sp,t0 /* pointer to save area */
491 ldl t1,IsLeaf(pv) /* is leaf procedure */
492 bne t1,L_asm_handle_exception_no_ra_restore
494 ldq ra,-1*8(t0) /* restore ra */
495 subq t0,8,t0 /* t0-- */
497 L_asm_handle_exception_no_ra_restore:
498 mov ra,xpc /* the new xpc is ra */
499 ldl t1,IntSave(pv) /* t1 = saved int register count */
500 br t2,ex_int1 /* t2 = current pc */
502 lda t2,(ex_int2-ex_int1)(t2)
503 negl t1,t1 /* negate register count */
504 s4addq t1,t2,t2 /* t2 = IntSave - register count * 4 */
505 jmp zero,(t2) /* jump to save position */
516 s8addq t1,t0,t0 /* t0 = t0 - 8 * register count */
518 ldl t1,FltSave(pv) /* t1 = saved flt register count */
519 br t2,ex_flt1 /* t2 = current pc */
521 lda t2,(ex_flt2-ex_flt1)(t2)
522 negl t1,t1 /* negate register count */
523 s4addq t1,t2,t2 /* t2 = FltSave - 4 * register count */
524 jmp zero,(t2) /* jump to save position */
536 ldl t0,FrameSize(pv) /* get frame size */
537 addq sp,t0,sp /* unwind stack */
538 mov zero,a3 /* prepare a3 for handle_exception */
540 ldl t0,0(ra) /* load instruction LDA PV,xxx(RA) */
542 sra t0,48,t0 /* isolate offset */
543 addq t0,ra,pv /* compute update address */
544 ldl t0,4(ra) /* load instruction LDAH PV,xxx(PV) */
545 srl t0,16,t0 /* isolate instruction code */
546 lda t0,-0x177b(t0) /* test for LDAH */
547 bne t0,L_asm_handle_exception_stack_loop
548 ldl t0,4(ra) /* load instruction LDAH PV,xxx(RA) */
549 sll t0,16,t0 /* compute high offset */
550 addl t0,0,t0 /* sign extend high offset */
551 addq t0,pv,pv /* compute update address */
553 br L_asm_handle_exception_stack_loop
555 .end asm_handle_nat_exception
558 /* asm_wrapper_patcher *********************************************************
563 40 return address into JIT code (patch position)
564 32 pointer to virtual java_objectheader
565 24 machine code (which is patched back later)
566 16 unresolved class/method/field reference
567 8 data segment displacement from load instructions
568 0 patcher function pointer to call (pv afterwards)
570 ATTENTION: itmp3 == gp! But we don't need gp do call the patcher function.
572 *******************************************************************************/
574 .ent asm_wrapper_patcher
577 lda sp,-((2+12+27+4)*8+sizestackframeinfo)(sp) /* create stack frame */
579 SAVE_RETURN_REGISTERS(0) /* save 1 int/1 float return registers */
580 SAVE_ARGUMENT_REGISTERS(2) /* save 6 int/6 float argument registers */
581 SAVE_TEMPORARY_REGISTERS(14) /* save 11 int/16 float temporary registers */
583 stq itmp1,(2+12+27+0)*8(sp) /* save itmp1 */
584 stq itmp2,(2+12+27+1)*8(sp) /* save itmp2 */
585 stq ra,(2+12+27+2)*8(sp) /* save method return address (for leafs) */
586 stq pv,(2+12+27+3)*8(sp) /* save pv of calling java function */
588 br ra,L_asm_wrapper_patcher_load_gp
589 L_asm_wrapper_patcher_load_gp:
590 ldgp gp,0(ra) /* load gp (it's not set correctly in jit) */
592 lda a0,(2+12+27+4)*8(sp) /* create stackframe info */
593 mov pv,a1 /* pass java pv */
594 lda a2,((6+2+12+27+4)*8+sizestackframeinfo)(sp) /* pass java sp */
595 ldq a3,(2+12+27+2)*8(sp) /* this is correct for leafs */
596 ldq a4,((5+2+12+27+4)*8+sizestackframeinfo)(sp) /* pass xpc */
597 jsr ra,stacktrace_create_extern_stackframeinfo
600 lda a0,((0+2+12+27+4)*8+sizestackframeinfo)(sp) /* pass sp */
601 ldq pv,((0+2+12+27+4)*8+sizestackframeinfo)(sp) /* get function */
602 ldq itmp1,(2+12+27+3)*8(sp) /* save pv to the position of fp */
603 stq itmp1,((0+2+12+27+4)*8+sizestackframeinfo)(sp)
604 jmp ra,(pv) /* call the patcher function */
606 stq v0,((0+2+12+27+4)*8+sizestackframeinfo)(sp) /* save return value */
608 lda a0,(2+12+27+4)*8(sp) /* remove stackframe info */
609 jsr ra,stacktrace_remove_stackframeinfo
612 RESTORE_RETURN_REGISTERS(0) /* restore 1 int/1 float return registers */
613 RESTORE_ARGUMENT_REGISTERS(2) /* restore 6 int/6 float argument registers */
614 RESTORE_TEMPORARY_REGISTERS(14) /* restore 11 integer temporary registers */
616 ldq itmp1,(2+12+27+0)*8(sp) /* restore itmp1 */
617 ldq itmp2,(2+12+27+1)*8(sp) /* restore itmp2 */
618 ldq ra,(2+12+27+2)*8(sp) /* restore method return address (for leafs)*/
619 ldq pv,(2+12+27+3)*8(sp) /* restore pv of calling java function */
621 ldq itmp3,((0+2+12+27+4)*8+sizestackframeinfo)(sp) /* get return value*/
622 beq itmp3,L_asm_wrapper_patcher_exception
624 ldq itmp3,((5+2+12+27+4)*8+sizestackframeinfo)(sp)/* get RA to JIT */
625 lda sp,((6+2+12+27+4)*8+sizestackframeinfo)(sp) /* remove stack frame */
627 jmp zero,(itmp3) /* jump to new patched code */
629 L_asm_wrapper_patcher_exception:
630 ldq xpc,((5+2+12+27+4)*8+sizestackframeinfo)(sp) /* RA is xpc */
631 lda sp,((6+2+12+27+4)*8+sizestackframeinfo)(sp) /* remove stack frame */
633 br itmp1,L_asm_wrapper_patcher_exception_load_gp
634 L_asm_wrapper_patcher_exception_load_gp:
635 ldgp gp,0(itmp1) /* itmp3 == gp, load the current gp */
637 #if defined(USE_THREADS) && defined(NATIVE_THREADS)
639 stq xpc,0*8(sp) /* save return address (xpc) */
642 jsr ra,builtin_asm_get_exceptionptrptr
643 ldq xpc,0*8(sp) /* restore return address (xpc) */
650 ldq xptr,0(v0) /* get the exception pointer */
651 stq zero,0(v0) /* clear the exception pointer */
652 br asm_handle_exception /* we have the pv of the calling java func. */
654 .end asm_wrapper_patcher
657 /******************* function asm_initialize_thread_stack **********************
659 * initialized a thread stack *
661 *******************************************************************************/
663 .ent asm_initialize_thread_stack
665 asm_initialize_thread_stack:
686 .end asm_initialize_thread_stack
689 /******************* function asm_perform_threadswitch *************************
691 * void asm_perform_threadswitch (u1 **from, u1 **to, u1 **stackTop); *
693 * performs a threadswitch *
695 *******************************************************************************/
697 .ent asm_perform_threadswitch
699 asm_perform_threadswitch:
740 .end asm_perform_threadswitch
743 /********************* function asm_switchstackandcall *************************
745 * void *asm_switchstackandcall (void *stack, void *func, void **stacktopsave, *
748 * Switches to a new stack, calls a function and switches back. *
749 * a0 new stack pointer *
750 * a1 function pointer *
751 * a2 pointer to variable where stack top should be stored *
752 * a3 pointer to user data, is passed to the function *
754 *******************************************************************************/
757 .ent asm_switchstackandcall
759 asm_switchstackandcall:
760 lda a0,-2*8(a0) /* allocate new stack */
761 stq ra,0(a0) /* save return address on new stack */
762 stq sp,1*8(a0) /* save old stack pointer on new stack */
763 stq sp,0(a2) /* save old stack pointer to variable */
764 mov a0,sp /* switch to new stack */
766 mov a1,pv /* load function pointer */
767 mov a3,a0 /* pass pointer */
768 jmp ra,(pv) /* and call function */
770 ldq ra,0(sp) /* load return address */
771 ldq sp,1*8(sp) /* switch to old stack */
773 jmp zero,(ra) /* return */
775 .end asm_switchstackandcall
778 .ent asm_getclassvalues_atomic
780 asm_getclassvalues_atomic:
783 ldl t0,offbaseval(a0)
784 ldl t1,offdiffval(a0)
785 ldl t2,offbaseval(a1)
787 stl t0,offcast_super_baseval(a2)
788 stl t1,offcast_super_diffval(a2)
789 stl t2,offcast_sub_baseval(a2)
792 .end asm_getclassvalues_atomic
797 asm_criticalsections:
798 #if defined(USE_THREADS) && defined(NATIVE_THREADS)
806 /* Disable exec-stacks, required for Gentoo ***********************************/
808 #if defined(__GCC__) && defined(__ELF__)
809 .section .note.GNU-stack,"",@progbits
814 * These are local overrides for various environment variables in Emacs.
815 * Please do not remove this and leave it at the end of the file, where
816 * Emacs will automagically detect them.
817 * ---------------------------------------------------------------------
820 * indent-tabs-mode: t