Promote do_lookup_x:check_match to a full function.
commit8e25d1e7721d8078d8925e325799740dd53a5801
authorCarlos O'Donell <carlos@redhat.com>
Fri, 28 Feb 2014 23:11:06 +0000 (28 18:11 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Fri, 28 Feb 2014 23:15:10 +0000 (28 18:15 -0500)
treece4e8b68baec0bccef1f22744995b769bcc4f535
parent7b3551e3a8f7278e123757987570c72f1216acc2
Promote do_lookup_x:check_match to a full function.

While it may be argued that nested functions make the resulting
code easier to read, or worse to read the following two bugs
make it difficult to debug:

Bug 8300 - no local symbol information within nested or nesting
procedures
https://sourceware.org/bugzilla/show_bug.cgi?id=8300

Bug 53927 - wrong value for DW_AT_static_link
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53927

Until these are fixed I've made check_match a full function.
After they are fixed we can resume arguing about the merits
of nested functions on readability and maintenance.
ChangeLog
elf/dl-lookup.c