]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gold/descriptors.h
PR 5990
authorIan Lance Taylor <ian@airs.com>
Sat, 28 Feb 2009 03:05:08 +0000 (03:05 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 28 Feb 2009 03:05:08 +0000 (03:05 +0000)
commit61edd21fa41ccf31fe391ee320c4812c4d45486a
treec255bd0ec7a6fad35fcdba6b8b61760626d8fd69
parente29e076ab80ed58ab0343c9910e02df7220233f8
PR 5990
* descriptors.h (Open_descriptor): Add is_on_stack field.
* descriptors.cc (Descriptors::open): If the descriptor is on the
top of the stack, remove it.  Initialize is_on_stack field.
(Descriptors::release): Only add pod to stack if it is not on the
stack already.
(Descriptors::close_some_descriptor): Clear stack_next and
is_on_stack fields.
gold/ChangeLog
gold/descriptors.cc
gold/descriptors.h