diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2007-11-06 12:28:57 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2007-11-06 12:28:57 +0000 |
commit | dffc6a6425d286cd29643dcf96b5c2f61e756480 (patch) | |
tree | 63235c5f1b558a1aa34fe23e1d1d8670d0d8993f /ld/emultempl/pep.em | |
parent | b7fcf6f6bb53b5027e111107f5416769cb9a5798 (diff) | |
download | gdb-dffc6a6425d286cd29643dcf96b5c2f61e756480.zip gdb-dffc6a6425d286cd29643dcf96b5c2f61e756480.tar.gz gdb-dffc6a6425d286cd29643dcf96b5c2f61e756480.tar.bz2 |
Add __ImageBase symbol to pe.em and pep.em.
Diffstat (limited to 'ld/emultempl/pep.em')
-rw-r--r-- | ld/emultempl/pep.em | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em index 36b4f61..20523ed 100644 --- a/ld/emultempl/pep.em +++ b/ld/emultempl/pep.em @@ -260,7 +260,7 @@ static definfo init[] = #define DLLOFF 1 {&dll, sizeof(dll), 0, "__dll__", 0}, #define MSIMAGEBASEOFF 2 - D(ImageBase,"__ImageBase", NT_EXE_IMAGE_BASE), + D(ImageBase,"___ImageBase", NT_EXE_IMAGE_BASE), D(SectionAlignment,"__section_alignment__", PE_DEF_SECTION_ALIGNMENT), D(FileAlignment,"__file_alignment__", PE_DEF_FILE_ALIGNMENT), D(MajorOperatingSystemVersion,"__major_os_version__", 4), @@ -343,7 +343,7 @@ set_pep_name (char *name, long val) init[i].value = val; init[i].inited = 1; if (strcmp (name,"__image_base__") == 0) - set_pep_name ("__ImageBase", val); + set_pep_name ("___ImageBase", val); return; } } |