mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
PR gold/20462: Fix bogus layout on ARM with linker script using PHDRS clause
gold/ PR gold/20462 * script-sections.cc (Script_sections::release_segments): Reset this->segments_created_.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2016-08-12 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
PR gold/20462
|
||||||
|
* script-sections.cc (Script_sections::release_segments):
|
||||||
|
Reset this->segments_created_.
|
||||||
|
|
||||||
2016-08-12 Roland McGrath <roland@hack.frob.com>
|
2016-08-12 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
* yyscript.y (HIDDEN): New %token.
|
* yyscript.y (HIDDEN): New %token.
|
||||||
|
@ -4459,6 +4459,7 @@ Script_sections::release_segments()
|
|||||||
++p)
|
++p)
|
||||||
(*p)->release_segment();
|
(*p)->release_segment();
|
||||||
}
|
}
|
||||||
|
this->segments_created_ = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Print the SECTIONS clause to F for debugging.
|
// Print the SECTIONS clause to F for debugging.
|
||||||
|
Reference in New Issue
Block a user