Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/external/gpl3/gcc.old
Module Name: src
Committed By: tsutsui
Date: Sun Jun 29 04:55:44 UTC 2014
Modified Files:
src/external/gpl3/gcc.old/dist/gcc/config/m68k: t-floatlib
src/external/gpl3/gcc.old/lib/libgcc/arch: m68k.mk
Log Message:
Tweak LIB1ASMFUNCS order to avoid linker warnings on libgcc_s build with -O2.
Without this change, ld complains as the following:
>> libgcc_s_pic.a(_float.pico):(.text+0x8): relocation truncated to fit:
>> R_68K_PC16 against symbol `$_exception_handler' defined in .text section in
>> libgcc_s_pic.a(_floatex.pico)
_float.S and _double.S refer `$_exception_handler' declared in _floatex.S
and linking the _floatex.S first seems to work around these warnings
(probably caused by pic relative jump addresses).
See port-m68k@ posts for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html
Note m68k.mk is manually edited to avoid extra diffs.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc.old/dist/gcc/config/m68k/t-floatlib
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc.old/lib/libgcc/arch/m68k.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index