Hello,
Would you please show the source code which brings the problem?
References to external sites are not desirable in the mailing list,
because they will not necessarily exist tomorrow.

I would like to put this problem to 'Kown bugs'
(http://www.gnu.org/software/global/bugs.html).

Thank you in advance.

On Sat, 09 Feb 2013 22:58:06 +0100
Alain Kalker <[email protected]> wrote:

> (If GNU GLOBAL doesn't support ARM assembly, please ignore.)
> 
> OS: Arch Linux (rolling release)
> Product: GNU GLOBAL 6.2.7
> 
> When browsing the Linux kernel, I found that GNU GLOBAL didn't detect 
> references to a preprocessor constant in an ARM assembly (.S) file.
> 
> Steps to reproduce:
> 
> Get and prepare most recent Linux kernel:
> $ git clone https://github.com/torvalds/linux.git
> $ cd linux
> $ export ARCH=ARM
> 
> Generate tags
> $ make gtags
> 
> Expected result (simulated here by `global -gx`)
> $ global -gx TEGRA_FLOW_CTRL_VIRT
> TEGRA_FLOW_CTRL_VIRT   63 arch/arm/mach-tegra/sleep-tegra20.S ldr    r3, 
> =TEGRA_FLOW_CTRL_VIRT
> TEGRA_FLOW_CTRL_VIRT   58 arch/arm/mach-tegra/sleep-tegra30.S ldr    
> r12, =TEGRA_FLOW_CTRL_VIRT
> TEGRA_FLOW_CTRL_VIRT   24 arch/arm/mach-tegra/sleep.h #define 
> TEGRA_FLOW_CTRL_VIRT (TEGRA_FLOW_CTRL_BASE - IO_PPSB_PHYS \
> 
> Actual result:
> $ global -dx TEGRA_FLOW_CTRL_VIRT
> TEGRA_FLOW_CTRL_VIRT   24 arch/arm/mach-tegra/sleep.h #define 
> TEGRA_FLOW_CTRL_VIRT (TEGRA_FLOW_CTRL_BASE - IO_PPSB_PHYS \
> $ global -rx TEGRA_FLOW_CTRL_VIRT
> $ # no result
> $ global -sx TEGRA_FLOW_CTRL_VIRT
> $ # no result
> 
> Kind regards,
> 
> Alain Kalker
> 
> _______________________________________________
> Bug-global mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/bug-global


-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to