projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't emit vendor attribute section if there is no attribute to emit.
[deliverable/binutils-gdb.git]
/
ld
/
ldemul.c
diff --git
a/ld/ldemul.c
b/ld/ldemul.c
index cebf012e78f27fca3655c49def218b1032b8a3e3..16ddb6dcf5430837890a790ebe49ba698630d590 100644
(file)
--- a/
ld/ldemul.c
+++ b/
ld/ldemul.c
@@
-1,5
+1,5
@@
/* ldemul.c -- clearing house for ld emulation states
/* ldemul.c -- clearing house for ld emulation states
- Copyright (C) 1991-201
7
Free Software Foundation, Inc.
+ Copyright (C) 1991-201
9
Free Software Foundation, Inc.
This file is part of the GNU Binutils.
This file is part of the GNU Binutils.
@@
-64,6
+64,12
@@
ldemul_after_open (void)
ld_emulation->after_open ();
}
ld_emulation->after_open ();
}
+void
+ldemul_after_check_relocs (void)
+{
+ ld_emulation->after_check_relocs ();
+}
+
void
ldemul_after_allocation (void)
{
void
ldemul_after_allocation (void)
{
@@
-219,6
+225,11
@@
after_parse_default (void)
if (!is_vma)
ldlang_add_undef (entry_symbol.name, entry_from_cmdline);
}
if (!is_vma)
ldlang_add_undef (entry_symbol.name, entry_from_cmdline);
}
+ if (config.maxpagesize == 0)
+ config.maxpagesize = bfd_emul_get_maxpagesize (default_target);
+ if (config.commonpagesize == 0)
+ config.commonpagesize = bfd_emul_get_commonpagesize (default_target,
+ link_info.relro);
}
void
}
void
@@
-226,6
+237,11
@@
after_open_default (void)
{
}
{
}
+void
+after_check_relocs_default (void)
+{
+}
+
void
after_allocation_default (void)
{
void
after_allocation_default (void)
{
@@
-260,13
+276,13
@@
set_output_arch_default (void)
void
syslib_default (char *ignore ATTRIBUTE_UNUSED)
{
void
syslib_default (char *ignore ATTRIBUTE_UNUSED)
{
- info_msg (_("%S SYSLIB ignored\n"), NULL);
+ info_msg (_("%
p
S SYSLIB ignored\n"), NULL);
}
void
hll_default (char *ignore ATTRIBUTE_UNUSED)
{
}
void
hll_default (char *ignore ATTRIBUTE_UNUSED)
{
- info_msg (_("%S HLL ignored\n"), NULL);
+ info_msg (_("%
p
S HLL ignored\n"), NULL);
}
ld_emulation_xfer_type *ld_emulations[] = { EMULATION_LIST };
}
ld_emulation_xfer_type *ld_emulations[] = { EMULATION_LIST };
This page took
0.02953 seconds
and
4
git commands to generate.