projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2007-07-19 Roland McGrath <roland@redhat.com>
[deliverable/binutils-gdb.git]
/
ld
/
emultempl
/
pe.em
diff --git
a/ld/emultempl/pe.em
b/ld/emultempl/pe.em
index 9dd070a1f5b9d187061fb4a77e55d91138aab3d8..ddee01125bbe4feaa28a48ba9545ba910eb54b33 100644
(file)
--- a/
ld/emultempl/pe.em
+++ b/
ld/emultempl/pe.em
@@
-8,7
+8,7
@@
else
fi
rm -f e${EMULATION_NAME}.c
(echo;echo;echo;echo;echo)>e${EMULATION_NAME}.c # there, now line numbers match ;-)
fi
rm -f e${EMULATION_NAME}.c
(echo;echo;echo;echo;echo)>e${EMULATION_NAME}.c # there, now line numbers match ;-)
-
cat >>e${EMULATION_NAME}.c
<<EOF
+
fragment
<<EOF
/* Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007 Free Software Foundation, Inc.
/* Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007 Free Software Foundation, Inc.
@@
-51,7
+51,7
@@
cat >>e${EMULATION_NAME}.c <<EOF
#define bfd_arm_process_before_allocation \
bfd_${EMULATION_NAME}_process_before_allocation
#endif
#define bfd_arm_process_before_allocation \
bfd_${EMULATION_NAME}_process_before_allocation
#endif
-
+
#include "sysdep.h"
#include "bfd.h"
#include "bfdlink.h"
#include "sysdep.h"
#include "bfd.h"
#include "bfdlink.h"
@@
-1287,7
+1287,7
@@
gld_${EMULATION_NAME}_after_open (void)
if ((sec->flags & SEC_CODE) && sec->reloc_count)
stub_sec = sec;
}
if ((sec->flags & SEC_CODE) && sec->reloc_count)
stub_sec = sec;
}
-
+
if (is_imp && stub_sec)
{
long symsize;
if (is_imp && stub_sec)
{
long symsize;
@@
-1780,7
+1780,7
@@
gld_${EMULATION_NAME}_open_dynamic_archive
For backwards compatibility, libfoo.a needs to precede
libfoo.dll and foo.dll in the search. */
{ "lib%s.a", FALSE },
For backwards compatibility, libfoo.a needs to precede
libfoo.dll and foo.dll in the search. */
{ "lib%s.a", FALSE },
- /* The 'native' spelling of an import lib name is "foo.lib". */
+ /* The 'native' spelling of an import lib name is "foo.lib". */
{ "%s.lib", FALSE },
#ifdef DLL_SUPPORT
/* Try "<prefix>foo.dll" (preferred dll name, if specified). */
{ "%s.lib", FALSE },
#ifdef DLL_SUPPORT
/* Try "<prefix>foo.dll" (preferred dll name, if specified). */
@@
-1837,7
+1837,7
@@
gld_${EMULATION_NAME}_open_dynamic_archive
for (i = 0; libname_fmt[i].format; i++)
{
for (i = 0; libname_fmt[i].format; i++)
{
-#ifdef DLL_SUPPORT
+#ifdef DLL_SUPPORT
if (libname_fmt[i].use_prefix)
{
if (!pe_dll_search_prefix)
if (libname_fmt[i].use_prefix)
{
if (!pe_dll_search_prefix)
@@
-1877,7
+1877,7
@@
EOF
# sed commands to quote an ld script as a C string.
sc="-f stringify.sed"
# sed commands to quote an ld script as a C string.
sc="-f stringify.sed"
-
cat >>e${EMULATION_NAME}.c
<<EOF
+
fragment
<<EOF
{
*isfile = 0;
{
*isfile = 0;
@@
-1895,7
+1895,7
@@
echo ' ; else return' >> e${EMULATION_NAME}.c
sed $sc ldscripts/${EMULATION_NAME}.x >> e${EMULATION_NAME}.c
echo '; }' >> e${EMULATION_NAME}.c
sed $sc ldscripts/${EMULATION_NAME}.x >> e${EMULATION_NAME}.c
echo '; }' >> e${EMULATION_NAME}.c
-
cat >>e${EMULATION_NAME}.c
<<EOF
+
fragment
<<EOF
struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
This page took
0.025148 seconds
and
4
git commands to generate.