aboutsummaryrefslogtreecommitdiff
path: root/gas/literal.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-01-28 01:40:22 +0000
committerKen Raeburn <raeburn@cygnus>1994-01-28 01:40:22 +0000
commitd5bd8e851d597835126e8549a8b93acea65ad3c0 (patch)
tree08d61d089e4b6113614a693feb02d6907031c9d6 /gas/literal.c
parent5749c4970051e6f4149c9a52e11b530c70d50f19 (diff)
downloadgdb-d5bd8e851d597835126e8549a8b93acea65ad3c0.zip
gdb-d5bd8e851d597835126e8549a8b93acea65ad3c0.tar.gz
gdb-d5bd8e851d597835126e8549a8b93acea65ad3c0.tar.bz2
Comment change: Soften recommendations against supplying sym+addend operands,
since it works, and gas does it. It's merely wasteful of space.
Diffstat (limited to 'gas/literal.c')
-rw-r--r--gas/literal.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gas/literal.c b/gas/literal.c
index d39aa8b..f622d31 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"