From df39396289a92e1abdb006f5c85cc2d9308bc598 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 4 Dec 2008 20:34:02 +0000 Subject: 2008-12-04 Joel Sherrill * bsp_specs: Move -e start from *link to *startfile to avoid warning for undefined entry symbol when linking relocatables with binutils 2.19. --- c/src/lib/libbsp/h8300/h8sim/ChangeLog | 6 ++++++ c/src/lib/libbsp/h8300/h8sim/bsp_specs | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'c/src/lib/libbsp/h8300') diff --git a/c/src/lib/libbsp/h8300/h8sim/ChangeLog b/c/src/lib/libbsp/h8300/h8sim/ChangeLog index a05c4e0e3b..b12e054275 100644 --- a/c/src/lib/libbsp/h8300/h8sim/ChangeLog +++ b/c/src/lib/libbsp/h8300/h8sim/ChangeLog @@ -1,3 +1,9 @@ +2008-12-04 Joel Sherrill + + * bsp_specs: Move -e start from *link to *startfile to avoid warning + for undefined entry symbol when linking relocatables with binutils + 2.19. + 2008-10-14 Joel Sherrill * startup/linkcmds: Do not specify architecture since the linker gets diff --git a/c/src/lib/libbsp/h8300/h8sim/bsp_specs b/c/src/lib/libbsp/h8300/h8sim/bsp_specs index 9436fa8fff..61018c2636 100644 --- a/c/src/lib/libbsp/h8300/h8sim/bsp_specs +++ b/c/src/lib/libbsp/h8300/h8sim/bsp_specs @@ -4,8 +4,8 @@ *startfile: %{!qrtems: %(old_startfile)} \ -%{!nostdlib: %{qrtems: start.o%s}} +%{!nostdlib: %{qrtems: start.o%s -e _start}} *link: -%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start} +%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N} -- cgit v1.2.3