diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-03-23 14:28:28 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-03-23 14:28:28 -0800 |
commit | d7a58f30d1ba7672aeee5a6c68c8dd56690601e7 (patch) | |
tree | 86bf0d1360b1ce2056e51665f2c850e7f5fafc67 /gcc | |
parent | 4635f7488070db8d8262cec5f962bbef3bf06575 (diff) | |
download | gcc-d7a58f30d1ba7672aeee5a6c68c8dd56690601e7.zip gcc-d7a58f30d1ba7672aeee5a6c68c8dd56690601e7.tar.gz gcc-d7a58f30d1ba7672aeee5a6c68c8dd56690601e7.tar.bz2 |
(mips_asm_file_start): Add comment on TARGET_GP_OPT code.
From-SVN: r6858
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/mips/mips.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 72cd0cf..3d34ddf 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -4064,6 +4064,13 @@ mips_asm_file_start (stream) /* ??? but do not want this (or want pic0) if -non-shared? */ fprintf (stream, "\t%s\n", ABICALLS_ASM_OP); + /* This code exists so that we can put all externs before all symbol + references. This is necessary for the assembler's global pointer + optimizations to work. */ + /* ??? Current versions of gas do not require that externs occur before + symbol references. This means that this code is unnecessary when + gas is being used. This gas feature hasn't been well tested as yet + though. */ if (TARGET_GP_OPT) { asm_out_data_file = stream; |