This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

another --gc-sections question


Does section-gc happen before or after the merging of duplicate
sections (like .ctor)?

In other words, if I have two sections named foo, and one contains a
symbol which is referenced in main(), will both sections wind up in
the final binary (merged together), or will only one of them?

  - a

-- 
Microsoft follows standards the same way fish follow migrating caribou.


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