[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Symbol reference not detected in ARM assembly file
From: |
Shigio YAMAGUCHI |
Subject: |
Re: Symbol reference not detected in ARM assembly file |
Date: |
Sun, 10 Feb 2013 13:16:14 +0900 |
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 <address@hidden> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-global
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3