This is the mail archive of the binutils@sourceware.org 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][GOLD] Handle .ARM.exidx sections in garbage collection.


Hi,

2010/1/10 Ian Lance Taylor <iant@google.com>:

> Please pull this little bit of code into a function in gc.h, and have
> the gc.h code call it too.

Ok.

> Would it be correct to simply pass the last argument to
> define_in_output_data as true? ?That would only define the symbols if
> something refers to them.

The section is used by run-time to look up unwinding information.  I
need to double check that the symbols are not referenced externally.

>That seems to be what the GNU linker does.
> Although the GNU linker does seem to make the symbols hidden, as in
> the current code, unlike in your new code.

Odd, I changed the visibility because I found some ld generated shared
libraries have the symbols with DEFAULT visibility.

Will send out an updated patch later.

-Doug

>
> Ian
>


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