diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2009-10-28 17:34:13 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2009-10-28 17:34:13 +0000 |
commit | 5bf54e8f05aa685b820b95a767d09663de35528c (patch) | |
tree | 170e55f7182e1da22698641defbde577aaab9a36 /ld/emultempl/pep.em | |
parent | af5800fcc8358d5f086c82ed1c890dbe700e1c6d (diff) | |
download | binutils-redhat-5bf54e8f05aa685b820b95a767d09663de35528c.tar.gz |
2009-10-28 Kai Tietz <kai.tietz@onevision.com>
* emultempl/pep.em (U): Define underscore macro.
(init): Use for __ImageBase U macro.
Diffstat (limited to 'ld/emultempl/pep.em')
-rw-r--r-- | ld/emultempl/pep.em | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em index ff0c589dce..656ff48205 100644 --- a/ld/emultempl/pep.em +++ b/ld/emultempl/pep.em @@ -98,6 +98,7 @@ fragment <<EOF #define PE_DEF_SECTION_ALIGNMENT 0x00000400 #endif +#define U(S) ${INITIAL_SYMBOL_CHAR} S static struct internal_extra_pe_aouthdr pep; static int dll; @@ -293,7 +294,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, U("__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), |