This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/gas symbols.c expr.c write.c ChangeLog tes ...
- From: rsandifo at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 2 Dec 2010 13:25:14 -0000
- Subject: src/gas symbols.c expr.c write.c ChangeLog tes ...
CVSROOT: /cvs/src
Module name: src
Changes by: rsandifo@sourceware.org 2010-12-02 13:25:14
Modified files:
gas : symbols.c expr.c write.c ChangeLog
gas/testsuite/gas/i386: i386.exp
gas/testsuite : ChangeLog
Added files:
gas/testsuite/gas/i386: ifunc-2.s ifunc-2.l ifunc-3.s ifunc-3.d
Log message:
gas/
* symbols.c (S_FORCE_RELOC): Return true for indirect functions
even if !strict.
* expr.c (operand): Don't convert absolute symbols to constants
if S_FORCE_RELOC is true.
(expr): Only reduce subtractions between different symbols if
S_FORCE_RELOC is false for both of them.
* write.c (fixup_segment): Don't remove symbols if S_FORCE_RELOC
is true for them, regardless of their segment.
gas/testsuite/
* gas/i386/ifunc-2.s, gas/i386/ifunc-2.l: New test.
* gas/i386/ifunc-3.s, gas/i386/ifunc-3.d: Likeise.
* gas/i386/i386.exp: Run them.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/symbols.c.diff?cvsroot=src&r1=1.106&r2=1.107
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/expr.c.diff?cvsroot=src&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/write.c.diff?cvsroot=src&r1=1.136&r2=1.137
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4343&r2=1.4344
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/ifunc-2.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/ifunc-2.l.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/ifunc-3.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/ifunc-3.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/i386.exp.diff?cvsroot=src&r1=1.153&r2=1.154
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1809&r2=1.1810