RE: [PATCH v3][MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-04-24 Thread Petar Jovanovic
-Original Message- From: Maciej W. Rozycki [mailto:ma...@linux-mips.org] Sent: Thursday, April 23, 2015 4:55 PM To: Petar Jovanovic Cc: gcc-patches@gcc.gnu.org; catherine_mo...@mentor.com; Matthew Fortune Subject: RE: [PATCH v3][MIPS] fix CRT_CALL_STATIC_FUNCTION macro > I hope you f

[PATCH v4][MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-04-24 Thread Petar Jovanovic
New patch, v4. PTAL. (resending the patch in plan text format, sorry for the multiple emails, I am going to switch back to git-send-email) Regards, Petar gcc/ChangeLog: 2015-04-21 Petar Jovanovic * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Fix the macro to use la/jalr

RE: [PATCH v3][MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-04-22 Thread Petar Jovanovic
-Original Message- From: Maciej W. Rozycki [mailto:ma...@linux-mips.org] Sent: Tuesday, April 21, 2015 8:52 PM To: Petar Jovanovic Cc: gcc-patches@gcc.gnu.org; catherine_mo...@mentor.com; matthew.fort...@imgtec.com Subject: Re: [PATCH v3][MIPS] fix CRT_CALL_STATIC_FUNCTION macro >

RE: [PATCH v2][MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-04-21 Thread Petar Jovanovic
-Original Message- From: Moore, Catherine [mailto:catherine_mo...@mentor.com] Sent: Friday, April 17, 2015 8:36 PM To: Petar Jovanovic Cc: Maciej W. Rozycki; Matthew Fortune; gcc-patches@gcc.gnu.org Subject: RE: [PATCH v2][MIPS] fix CRT_CALL_STATIC_FUNCTION macro > > Hi Petar, >

[PATCH v3][MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-04-21 Thread Petar Jovanovic
New patch, v3. PTAL. Regards, Petar gcc/ChangeLog: 2015-04-21 Petar Jovanovic * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Fix the macro to use la/jalr instead of jal. gcc/testsuite/ChangeLog: 2015-04-21 Petar Jovanovic * gcc.target/mips/call-from-init.c

RE: [PATCH v2][MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-04-17 Thread Petar Jovanovic
Resending the previous message in a plain text format. > Original Message > Subject: RE: [PATCH v2][MIPS] fix CRT_CALL_STATIC_FUNCTION macro > Date: Thursday, April 16, 2015 10:38 PM CEST > From: "Moore, Catherine" > To: "Maciej W. Rozycki"

RE: [PATCH v2][MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-04-16 Thread Petar Jovanovic
-Original Message- From: Moore, Catherine [mailto:catherine_mo...@mentor.com] Sent: Friday, February 13, 2015 2:37 AM To: Petar Jovanovic; 'Matthew Fortune'; gcc-patches@gcc.gnu.org; 'Maciej W. Rozycki' Cc: Moore, Catherine Subject: RE: [PATCH v2][MIPS] fix CRT_CALL_S

RE: [PATCH v2][MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-02-12 Thread Petar Jovanovic
-Original Message- From: Moore, Catherine [mailto:catherine_mo...@mentor.com] Sent: Friday, February 6, 2015 4:13 PM To: Matthew Fortune; Petar Jovanovic; gcc-patches@gcc.gnu.org; 'Maciej W. Rozycki' Subject: RE: [PATCH v2][MIPS] fix CRT_CALL_STATIC_FUNCTION macro > Peta

RE: [MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-02-05 Thread Petar Jovanovic
> > This is a follow-up to a change [1] in glibc. It fixes the issue [2] > > when jal can not reach a target in different region. > Is it not a problem that can be solved with rearranging the order of sections in output? Is not this more clean solution to it? Otherwise we need to make sure that _

RE: [MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-01-22 Thread Petar Jovanovic
...@imgtec.com] Sent: Thursday, January 22, 2015 9:36 AM To: Petar Jovanovic; gcc-patches@gcc.gnu.org Cc: Petar Jovanovic Subject: RE: [MIPS] fix CRT_CALL_STATIC_FUNCTION macro > This is a follow-up to a change [1] in glibc. It fixes the issue [2] > when jal can not reach a target in dif

[MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-01-21 Thread Petar Jovanovic
Hi everyone, This is a follow-up to a change [1] in glibc. It fixes the issue [2] when jal can not reach a target in different region. It has been tested with DejaGnu for mips32/o32, mips64/n32 and mips64/n64. Let me know what you think. Regards, Petar [1] https://sourceware.org/git/gitweb.cgi