mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
ld/
2009-03-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/9970 * ldlang.c (lang_end): Warn missing entry symbol for -pie. ld/testsuite/ 2009-03-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/9970 * ld-pie/pie.exp: Use -fpie to compile. Run *.d tests. * ld-pie/start.d: New. * ld-pie/start.s: Likewise.
This commit is contained in:
@@ -5417,7 +5417,7 @@ lang_end (void)
|
||||
bfd_boolean warn;
|
||||
|
||||
if ((link_info.relocatable && !link_info.gc_sections)
|
||||
|| link_info.shared)
|
||||
|| (link_info.shared && !link_info.executable))
|
||||
warn = entry_from_cmdline;
|
||||
else
|
||||
warn = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user