This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [ELF] symbol sets handling


Hi Fabio, Hi Alan,

> Fabio Alemagna  writes:
>
> Here's a patch to elf32.em, which slightly changes the way symbol sets are
> handled. Basically, the patch serves to make the __start_<set> and
> __stop_<set> symbols be relative to the <set> section, rather than being
> absolute. This approach will make the -Ur option really useful, since
> absolute symbols are meaningless for relocatable executables (used by
> AROS, for instance), and it won't affect in any way the normal executables.

Is that true ?  Won't converting the symbols to be section relative
mean that any loader which currently uses them will have to be
modified to take this into account ?

[cc'd Alan, since he wrote the original code].

Cheers
        Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]