This is the mail archive of the binutils@sourceware.cygnus.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]

Re: PATCH for IRIX6/linkonce sections


>>>>> "Ian" == Ian Lance Taylor <ian@zembu.com> writes:

    Ian> You probably do not need any equivalent to *(.data*) in your
    Ian> MIPS ELF specific sections.

That was the bit I did not understand.  I really wish that either I
was smarter or that there was a bit more commentary in BFD.  I'll add
a comment about this in elf.sc.

    Ian> So that leaves us with

    Ian>      .data ${RELOCATING-0} : { *(.data)
    Ian> ${RELOCATING+*(.gnu.linkonce.d*) }

    Ian> If you don't name a input section in a linker script at all,
    Ian> the default is to combine all the input sections of that name
    Ian> into an output section of the same name.

Right.  So, I agree, we can do this with OTHER_RELOCATING_SECTIONS.
I'll check in the appropriate change.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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