mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
From Craig Silverstein and Cary Coutant: fix assignment of section
indexes to sections which are not associated with segments.
This commit is contained in:
@@ -313,10 +313,15 @@ class Layout
|
||||
off_t
|
||||
set_segment_offsets(const Target*, Output_segment*, unsigned int* pshndx);
|
||||
|
||||
// Set the final file offsets and section indexes of all the
|
||||
// sections not associated with a segment.
|
||||
// Set the final file offsets of all the sections not associated
|
||||
// with a segment.
|
||||
off_t
|
||||
set_section_offsets(off_t, unsigned int *pshndx, bool do_bits_sections);
|
||||
set_section_offsets(off_t, bool do_bits_sections);
|
||||
|
||||
// Set the final section indexes of all the sections not associated
|
||||
// with a segment. Returns the next unused index.
|
||||
unsigned int
|
||||
set_section_indexes(unsigned int pshndx);
|
||||
|
||||
// Return whether SEG1 comes before SEG2 in the output file.
|
||||
static bool
|
||||
|
||||
Reference in New Issue
Block a user