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: RFC: ld: Add --section-ordering-file FILE


Hi H.J.

> Does this sound a good idea?

Maybe, but it does raise some questions in my mind:

  * Why is this feature needed ?
  * Couldn't the same result be achieved by using a custom linker script ?
  * How would the feature interact with linker scripts that already have 
    specific section placements (well ones that intersect with the sections
    in the --section-order list) ?
  * How would these sections be placed relative to other non-ordered sections ?
  * How would --section-ordering-file interact with --sort-section ?
  * Is it an error is a section in the ordering file is not present in the input ?

Cheers
  Nick


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