This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] debug compile: Replace confusing debug message
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Phil Muldoon <pmuldoon at redhat dot com>
- Date: Wed, 1 Jul 2015 16:17:03 +0200
- Subject: Re: [patch] debug compile: Replace confusing debug message
- Authentication-results: sourceware.org; auth=none
- References: <20150701122048 dot GA7170 at host1 dot jankratochvil dot net> <5593F4CE dot 8030605 at redhat dot com>
On Wed, 01 Jul 2015 16:10:22 +0200, Pedro Alves wrote:
> OK.
>
> On 07/01/2015 01:20 PM, Jan Kratochvil wrote:
>
> > if (strcmp (sym->name, "_GLOBAL_OFFSET_TABLE_") == 0)
> > {
>
> It'd be nice to have a comment here mentioning why we need to do this.
I do not know, I think it is a GCC bug, with -mcmodel=large I have no idea why
GCC needs _GLOBAL_OFFSET_TABLE_. I can write there this info.
Jan