diff options
| author | Eli Zaretskii | 2002-01-20 18:03:16 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-01-20 18:03:16 +0000 |
| commit | 3b927d14387edf3272664b63ec7dfc494c9ed5d9 (patch) | |
| tree | 1aa38e4449f6ede06a4a59a565d47d5ef2e8237b /src | |
| parent | ff2ed6c7f7e6be21ed9ab2d454de08fc8a5d66b8 (diff) | |
| download | emacs-3b927d14387edf3272664b63ec7dfc494c9ed5d9.tar.gz emacs-3b927d14387edf3272664b63ec7dfc494c9ed5d9.zip | |
(unexec) [__sgi]: Support the .got sections.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/unexelf.c | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9311135d8b2..286bc530969 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * unexelf.c (unexec) [__sgi]: Support the .got sections. | ||
| 4 | |||
| 1 | 2002-01-20 Jason Rumney <jasonr@gnu.org> | 5 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
| 2 | 6 | ||
| 3 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics | 7 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
diff --git a/src/unexelf.c b/src/unexelf.c index 548465c0df9..5d1511fbda1 100644 --- a/src/unexelf.c +++ b/src/unexelf.c | |||
| @@ -1012,6 +1012,15 @@ unexec (new_name, old_name, data_start, bss_start, entry_address) | |||
| 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), | ||
| 1022 | ".got") | ||
| 1023 | #endif | ||
| 1015 | || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), | 1024 | || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), |
| 1016 | ".sdata1") | 1025 | ".sdata1") |
| 1017 | || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), | 1026 | || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), |
| @@ -1190,6 +1199,10 @@ unexec (new_name, old_name, data_start, bss_start, entry_address) | |||
| 1190 | ".lit4") | 1199 | ".lit4") |
| 1191 | || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), | 1200 | || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), |
| 1192 | ".lit8") | 1201 | ".lit8") |
| 1202 | #if __sgi | ||
| 1203 | || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), | ||
| 1204 | ".got") | ||
| 1205 | #endif | ||
| 1193 | || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), | 1206 | || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), |
| 1194 | ".sdata1") | 1207 | ".sdata1") |
| 1195 | || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), | 1208 | || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), |