[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doing Stupid things?!



Peter Lorand Peres wrote:

> Are you sure ? I think I remember that ELF linking resolves by name, and
> those are symbols, no ?

1. "Symbol-table" and "name-list" are synonyms.
2. You ask if I am sure?  After what Evgeny said, I am not. But I am
   sure that at least some executables stop working after stripping
   their symbol-table/name-list. Maybe this is the reason why some
   programs ran in Stas' system, and others couldn't run.

BTW: Look at the option "--dynamic" of "nm".

-- 
Eli Marmor
***************************************************************
 *   ___ _  __ ___  __    _ |__ _ _    marmor@elmar.co.il      *
  *     | | | \   | | \    |  / |\/     El-Mar Software Ltd.    *
   *    | | | _)  | | _)     /  | \      Tel.: 972-50-237338     *
    *    ___________________________      Fax: 972-9-7484279      *
     *   \_________________________ \      http://www.elmar.co.il  *
      *    _________  __  ____     \ \____  __    _                 *
       *   \_______ \ \_\|  _ \  __ \____ \ \ \  | |                 *
        *          \ \   | | \ \ \_\     \ \ \ \ | |                *
         *          \ \  | | _\ \         ) ) \ \ \_\_             *
          *          \ \ |_| \___)       (_/   \_\  \_\           *
           *          \ \_______________________________         *
            *          \________________________________\       *
             *                                                 *
              *************************************************