From: Ian Lance Taylor Date: Wed, 14 Jul 2010 10:38:59 +0000 (+0000) Subject: * descriptors.cc (Descriptors::open): Report correct name in error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=783659f926cc0c9a76d12590b01c75fd0caa58bb;p=binutils-gdb.git * descriptors.cc (Descriptors::open): Report correct name in error message. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 4f5833b00b0..ac910cd15d8 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-07-14 Ian Lance Taylor + + * descriptors.cc (Descriptors::open): Report correct name in error + message. + 2010-07-13 Doug Kwan * arm.cc (Arm_input_section::Arm_input_section): For a diff --git a/gold/descriptors.cc b/gold/descriptors.cc index f4a02d03296..db8ad6753de 100644 --- a/gold/descriptors.cc +++ b/gold/descriptors.cc @@ -113,8 +113,7 @@ Descriptors::open(int descriptor, const char* name, int flags, int mode) { Hold_lock hl(*this->lock_); - gold_error(_("file %s was removed during the link"), - this->open_descriptors_[descriptor].name); + gold_error(_("file %s was removed during the link"), name); } errno = ENOENT;