From: Ken Raeburn Date: Fri, 28 Jan 1994 01:40:22 +0000 (+0000) Subject: Comment change: Soften recommendations against supplying sym+addend operands, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5bd8e851d597835126e8549a8b93acea65ad3c0;p=binutils-gdb.git Comment change: Soften recommendations against supplying sym+addend operands, since it works, and gas does it. It's merely wasteful of space. --- diff --git a/gas/literal.c b/gas/literal.c index d39aa8b96b0..f622d310c96 100644 --- a/gas/literal.c +++ b/gas/literal.c @@ -26,12 +26,15 @@ ever a .lit4?) On the MIPS, it could be used for .lit4 as well. The expressions passed here should contain either constants or symbols, - *not* a combination of both. Typically, the constant pool is accessed + not a combination of both. Typically, the constant pool is accessed with some sort of GP register, so the size of the pool must be kept down if possible. The exception is section offsets -- if you're storing a pointer to the start of .data, for example, and your machine provides for 16-bit signed addends, you might want to store .data+32K, so that - you can access all of the first 64K of .data with the one pointer... */ + you can access all of the first 64K of .data with the one pointer. + + This isn't a requirement, just a guideline that can help keep .o file + size down. */ #include "as.h" #include "subsegs.h"