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: [PATCH, i386] Remove EBX usage from asm code


On Fri, Jan 23, 2015 at 1:08 PM, Uros Bizjak <ubizjak@gmail.com> wrote:

>>> I'm testing the attached patch that moves the definition to libgcc
>>> *and* wraps it in __i386__ to fix multilibs. Rainer, can you please
>>> implement the fix for the Solaris/x86, presumably in the same way?
>>>
>>> libgcc/ChangeLog:
>>>
>>> 2015-23-01  Uros Bizjak  <ubizjak@gmail.com>
>>>
>>>     * config/i386/gnu-user-lib.h New file.
>>
>> Missing semicolon.
>> I'd argue that there is nothing GNU related in it though, _GLOBAL_OFFSET_TABLE_
>> is a general ELF thing, so perhaps elf-lib.h instead?
>
> Yes, the name is better. It would also fit with Solaris.

Bootstrap and regression test was OK.

Committed with following ChangeLogs:

libgcc/ChangeLog:

2015-01-23  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/elf-lib.h: New file.
    (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
    Wrap definition in #ifdef __i386__.
    * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
    (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
    (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
    (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
    to tm_file.

gcc/ChangeLog:

2015-01-23  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Move definition to
    libgcc/config/i386/elf-lib.h.

Uros.


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