This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] mips: Do not use jal to reach __libc_start_main


In short, the failing test program (reported in #17601) has been tested
in the following combinations (given to gcc):

1. -EL
2. -EL -fPIC
3. -EL -fPIC -pie
4. -EL -mabi=32 -mips16
5. -EL -mabi=32 -mips16 -fPIC
6. -EL -mabi=32 -mips16 -fPIC -pie

To execute it correctly for options 1, 2, 4 and 5, additional change
(described in the bug tracker) was added in gcc/config/mips/mips.h.

Further, a subset (1500 tests) from DejaGnu GCC test suite has been
executed and has shown no regressions.

Regards,
Petar

-----Original Message-----
From: Joseph Myers [mailto:joseph@codesourcery.com] 
Sent: Tuesday, November 18, 2014 12:57 AM
To: Petar Jovanovic
Cc: libc-alpha@sourceware.org; petar.jovanovic@imgtec.com
Subject: Re: [PATCH] mips: Do not use jal to reach __libc_start_main

On Tue, 18 Nov 2014, Petar Jovanovic wrote:

> Since __libc_start_main may not be in the same 256MB-aligned region as
> the function __start, replace use of jal instruction with la/jalr.

Could you detail how this patch has been tested?  (And provide a ChangeLog 
entry for it.)

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]