diff options
author | Steve Chamberlain <sac@cygnus> | 1992-01-28 18:21:36 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-01-28 18:21:36 +0000 |
commit | 870f54b2c887f03258f78baf5e772cb055c69b06 (patch) | |
tree | 22bef9ed29165e535059ab56d5b52a478784eda9 /ld/ldsym.c | |
parent | daa91756f11404bc87d38eb1e1a6bc9435e0326a (diff) | |
download | gdb-870f54b2c887f03258f78baf5e772cb055c69b06.zip gdb-870f54b2c887f03258f78baf5e772cb055c69b06.tar.gz gdb-870f54b2c887f03258f78baf5e772cb055c69b06.tar.bz2 |
* ldgram.y: map -M behave in the same way as -Map (sets file name
to be "-".
* ldsym.c, ldlang.c: remember that size of a section is dependent on
whether or not relaxing has been done.
* ldmain.c: don't open a map file if it doesn't have a name
* relax.c: all the brains have moved into bfd.
* ldwrite.c: ammend comment
Diffstat (limited to 'ld/ldsym.c')
-rw-r--r-- | ld/ldsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ DEFUN(print_file_stuff,(f), s != (asection *)NULL; s = s->next) { print_address(s->output_offset); - if (s->flags & SEC_HAS_CONTENTS) + if (s->reloc_done) { fprintf (config.map_file, " %08x 2**%2ud %s\n", (unsigned)bfd_get_section_size_after_reloc(s), |