Commit 019f2b8f authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(unexec): Copy previous change in unexelf.c.

parent d91f490d
......@@ -738,7 +738,11 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
a new section in between. */
/* For symbol tables, info is a symbol table index,
so don't change it. */
if (NEW_SECTION_H (nn).sh_type != SHT_SYMTAB
&& NEW_SECTION_H (nn).sh_type != SHT_DYNSYM)
/* Now, start to copy the content of sections. */
if (NEW_SECTION_H (nn).sh_type == SHT_NULL
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment