This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: GOLD LINKER DYNAMIC TABLE ISSUE
- From: Ian Lance Taylor <iant at google dot com>
- To: Takis Psarogiannakopoulos <takis at XFree86 dot Org>
- Cc: binutils at sourceware dot org
- Date: Tue, 15 Dec 2009 16:59:26 -0800
- Subject: Re: GOLD LINKER DYNAMIC TABLE ISSUE
- References: <20091212115614.C10777@public.xfree86.org>
Takis Psarogiannakopoulos <takis@XFree86.Org> writes:
> Basically because I am not sure how SHT_SYMTAB and SHT_DYNSYM are
> appearing and in what order I am running the loop to find if there is a
> valid dynamic symbol table and then I enforce it keeping the initial
> switch. I know better ways to write that but I need clarifications on the
> rest of the switch elements so for the time being looks the safest way.
The basic idea is right: if there is no SHT_DYNSYM, use SHT_SYMTAB.
I don't think anything else has to change.
Ian