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: ld/1467: Orphaned section is put in the odd place


Hi H. J.

The old section order is
  [ 1] .text             PROGBITS         0000000000000000  00100000
  [ 2] .data             PROGBITS         0000000000000004  00100004
  [ 3] .note             NOTE             0000000000000008  00100008
  [ 4] .notbad           PROGBITS         000000000000000c  0010000c
  [ 5] .note.bar         NOTE             0000000000000010  00100010

Why is this a problem ?


Why should the user expect any kind of ordering for orphaned sections ? If they did not care enough about the sections to place them in their linker script, why should they complain about how or where the linker chooses to place them ?

What if the user wants this kind of alphabetic ordering ? Will your patch allow it ?

Cheers
  Nick



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