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/arm: define $a/$d markers in .plt


> It was Cary's suggestion that I change define_in_output_data this way
> rather than adding a separate method. ?But one thing I'm not entirely
> sure about is that I think this means that _GLOBAL_OFFSET_TABLE_ and
> __rel{,a}_iplt_{start,end} cannot be referenced by name any more. ?It
> might be the case that things expect to use _GLOBAL_OFFSET_TABLE_ by
> name, and it's certainly true that __rel{,a}_iplt_{start,end} are used
> by name (that's why they exist). ?Cary's proposal to consolidate this
> behavior in do_define_in_output_segment as well would make it affect
> _TLS_MODULE_BASE_ too. ?I don't know how that symbol is used.

I'd argue that if those symbols need to be referenced by name, they
should be defined as STB_GLOBAL instead of STB_LOCAL. I could be
wrong, though. If I am, sorry, I guess you'll need to revert to the
separate method you had before.

-cary


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