/[gcl]/gcl/o/unexelf.c
ViewVC logotype

Diff of /gcl/o/unexelf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by camm, Sun Jan 6 03:10:15 2002 UTC revision 1.4 by camm, Sun Jan 6 07:40:25 2002 UTC
# Line 1153  unexec (new_name, old_name, data_start, Line 1153  unexec (new_name, old_name, data_start,
1153             be no harm in that provided that r_offset is always the first             be no harm in that provided that r_offset is always the first
1154             member.  */             member.  */
1155          nn = section.sh_info;          nn = section.sh_info;
1156          if (nn && !strcmp (old_section_names + NEW_SECTION_H (nn).sh_name, ".data")          if (nn && (!strcmp (old_section_names + NEW_SECTION_H (nn).sh_name, ".data")
1157              || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),              || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1158                          ".sdata")                          ".sdata")
1159              || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),              || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
# Line 1163  unexec (new_name, old_name, data_start, Line 1163  unexec (new_name, old_name, data_start,
1163              || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),              || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1164                          ".sdata1")                          ".sdata1")
1165              || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),              || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1166                          ".data1"))                          ".data1")))
1167            {            {
1168              ElfW(Addr) offset = NEW_SECTION_H (nn).sh_addr -              ElfW(Addr) offset = NEW_SECTION_H (nn).sh_addr -
1169                NEW_SECTION_H (nn).sh_offset;                NEW_SECTION_H (nn).sh_offset;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26