Commit 944a300c authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(unexec): Don't search for .data twice.

parent 51ef56c4
2009-12-07 Andreas Schwab <>
* unexelf.c (unexec): Don't search for .data twice.
2009-12-05 Chong Yidong <>
* xdisp.c (push_display_prop): Don't set avoid_cursor_p. Return 0
......@@ -922,13 +922,6 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
gets its value adjusted. .bss size becomes zero and new address
is set. data2 section header gets added by copying the existing
.data header and modifying the offset, address and size. */
for (old_data_index = 1; old_data_index < (int) old_file_h->e_shnum;
if (!strcmp (old_section_names + OLD_SECTION_H (old_data_index).sh_name,
if (old_data_index == old_file_h->e_shnum)
fatal ("Can't find .data in %s.\n", old_name, 0);
/* Walk through all section headers, insert the new data2 section right
before the new bss section. */
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