- int len = atsign - sym->name;
-
- record_minimal_symbol (sym->name, len, 1, symaddr,
- ms_type, sym->section, objfile);
- }
- }
-
- /* For @plt symbols, also record a trampoline to the
- destination symbol. The @plt symbol will be used in
- disassembly, and the trampoline will be used when we are
- trying to find the target. */
- if (msym && ms_type == mst_text && type == ST_SYNTHETIC)
- {
- int len = strlen (sym->name);
-
- if (len > 4 && strcmp (sym->name + len - 4, "@plt") == 0)
- {
- struct minimal_symbol *mtramp;
-
- mtramp = record_minimal_symbol (sym->name, len - 4, 1,
- symaddr,
- mst_solib_trampoline,
- sym->section, objfile);
- if (mtramp)
+ /* For @plt symbols, also record a trampoline to the
+ destination symbol. The @plt symbol will be used
+ in disassembly, and the trampoline will be used
+ when we are trying to find the target. */
+ if (ms_type == mst_text && type == ST_SYNTHETIC)