This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [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 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
__do_global_ctors_aux and call to it from _init () are in the same region.

> You forgot a ChangeLog entry, the lack of which made me chase the bits you
intend to change. :(

I will make a new change with ChangeLog entry.

> You need to use DLA rather than LA for n64.  This should have been caught
in testing as a combination of the GAS warning and -Werror should have
caused the compilation to bail out.  But perhaps this isn't covered for some
reason.

Done in the patch set #2. (It was expanded correctly for N64 though).

Regards,
Petar


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