From 6400129628ef24adb57fc4822d4fd54b8967701b Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Wed, 17 Feb 2016 14:13:06 -0800 Subject: [PATCH] Update a comment for init_linker_info_for_gdb Change-Id: I8e2895ecfcc6f77a180c3735342afc93be5923d3 --- linker/linker.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/linker/linker.cpp b/linker/linker.cpp index a032068a6..b013dcaee 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -3904,8 +3904,7 @@ static soinfo* linker_soinfo_for_gdb = nullptr; * Without this, gdb has trouble locating the linker's ".text" * and ".plt" sections. Gdb could also potentially use this to * relocate the offset of our exported 'rtld_db_dlactivity' symbol. - * Don't use soinfo_alloc(), because the linker shouldn't - * be on the soinfo list. + * Note that the linker shouldn't be on the soinfo list. */ static void init_linker_info_for_gdb(ElfW(Addr) linker_base) { linker_soinfo_for_gdb = new (linker_soinfo_for_gdb_buf) soinfo(nullptr, LINKER_PATH,