This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17601] __start function can not reach __libc_start_main in different region
- From: "mips32r2 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 14 Nov 2014 16:59:36 +0000
- Subject: [Bug libc/17601] __start function can not reach __libc_start_main in different region
- Auto-submitted: auto-generated
- References: <bug-17601-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17601
--- Comment #1 from Petar Jovanovic <mips32r2 at gmail dot com> ---
Created attachment 7936
--> https://sourceware.org/bugzilla/attachment.cgi?id=7936&action=edit
patch for start.S
Potential fix for start.S is attached.
This would likely need to be followed with similar change in
gcc/config/mips/mips.h
for CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) macro
i.e. replace use of
jal " USER_LABEL_PREFIX #FUNC "\n\
with
la $25, " USER_LABEL_PREFIX #FUNC "\n\
jalr $25\n\
--
You are receiving this mail because:
You are on the CC list for the bug.