public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Where do I find information on ld?
@ 2011-08-04  6:28 Patrick Horgan
  2011-08-04  9:14 ` Jonathan Wakely
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Horgan @ 2011-08-04  6:28 UTC (permalink / raw)
  To: GCC-help

I know this isn't the right list, but where is the right list?  I'm
wondering why

GNU ld version 2.21.51.0.6-6.fc15 20110118

on fedora of course, has this as part of the default load script (from
ld --verbose):

  .init_array     :
  {
    PROVIDE_HIDDEN (__init_array_start = .);
    KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)
SORT_BY_INIT_PRIORITY(.ctors.*)))
    KEEP (*(.init_array))
    KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o
) .ctors))
    PROVIDE_HIDDEN (__init_array_end = .);
  }

That's not right is it?  ctors don't go in the init_array.  Right?

Patrick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where do I find information on ld?
  2011-08-04  6:28 Where do I find information on ld? Patrick Horgan
@ 2011-08-04  9:14 ` Jonathan Wakely
  2011-08-06  3:39   ` Patrick Horgan
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Wakely @ 2011-08-04  9:14 UTC (permalink / raw)
  To: phorgan1; +Cc: GCC-help

On 4 August 2011 07:28, Patrick Horgan wrote:
> I know this isn't the right list, but where is the right list?

$ rpm -qfi `which ld` | fgrep URL
URL         : http://sources.redhat.com/binutils

But see http://gcc.gnu.org/PR46770 for some relevant info.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where do I find information on ld?
  2011-08-04  9:14 ` Jonathan Wakely
@ 2011-08-06  3:39   ` Patrick Horgan
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Horgan @ 2011-08-06  3:39 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: GCC-help

On 08/04/2011 02:13 AM, Jonathan Wakely wrote:
> On 4 August 2011 07:28, Patrick Horgan wrote:
>> I know this isn't the right list, but where is the right list?
> $ rpm -qfi `which ld` | fgrep URL
> URL         : http://sources.redhat.com/binutils
>
> But see http://gcc.gnu.org/PR46770 for some relevant info.
>
Thanks Jonathan.  We have some custom build code that relied on the
other way, now we'll have to fix ours.

Patrick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-06  3:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-04  6:28 Where do I find information on ld? Patrick Horgan
2011-08-04  9:14 ` Jonathan Wakely
2011-08-06  3:39   ` Patrick Horgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).