comparison src/unexelf.c @ 89073:243bb1faeeb9

(unexec): Make .got handling not SGI-specific.
author Dave Love <fx@gnu.org>
date Thu, 05 Sep 2002 17:07:41 +0000
parents 4223d39197ba
children efb620f42a27
comparison
equal deleted inserted replaced
89072:603b787e6146 89073:243bb1faeeb9
1010 ".sdata") 1010 ".sdata")
1011 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1011 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1012 ".lit4") 1012 ".lit4")
1013 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1013 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1014 ".lit8") 1014 ".lit8")
1015 #if __sgi
1016 /* According to David Kaelbling <drk@bobo.hudson.sgi.com>,
1017 the SGI-specific section below is required to avoid core
1018 dumps during startup (due to SIGBUS) in an X-toolkit
1019 version of Emacs . That was on Irix 6.5.14f with
1020 development tools versions 7.3.1.3m and 7.2.1.3m. */
1021 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1015 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1022 ".got") 1016 ".got")
1023 #endif
1024 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1017 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1025 ".sdata1") 1018 ".sdata1")
1026 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1019 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1027 ".data1") 1020 ".data1")
1028 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1021 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1202 ".sdata") 1195 ".sdata")
1203 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1196 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1204 ".lit4") 1197 ".lit4")
1205 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1198 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1206 ".lit8") 1199 ".lit8")
1207 #if __sgi
1208 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1200 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1209 ".got") 1201 ".got")
1210 #endif
1211 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1202 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1212 ".sdata1") 1203 ".sdata1")
1213 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1204 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1214 ".data1")) 1205 ".data1"))
1215 { 1206 {