[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] tips? define asm symbol as global if it is extern in
From: |
Sergey Korshunoff |
Subject: |
Re: [Tinycc-devel] tips? define asm symbol as global if it is extern in C |
Date: |
Mon, 18 May 2015 18:49:42 +0300 |
> And why does tinycc need this? If you want the symbol to be
> global, you can add ".globl" to your asm.
This snipped is taken from the linux 2.4.26 (2.4.37) kernels. It looks
like there is no such code in 2.6+ kernels.
PS: yes, I can live w/o this. There are other places which require a
patching of the kernel.