diff options
author | Nick Clifton <nickc@redhat.com> | 2020-05-27 17:49:17 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-05-27 17:49:17 +0100 |
commit | 198204a7f0255c0e25dcda6b7d6a72e666d689c1 (patch) | |
tree | dc802f5592620ef65711ded01600f38420541270 /ld/NEWS | |
parent | 17ee85fc2af74471e8c57502714a32bbeac5f1ae (diff) | |
download | gdb-198204a7f0255c0e25dcda6b7d6a72e666d689c1.zip gdb-198204a7f0255c0e25dcda6b7d6a72e666d689c1.tar.gz gdb-198204a7f0255c0e25dcda6b7d6a72e666d689c1.tar.bz2 |
[PATCH] allow empty string as argument to -Map
* lexsup.c (parse_args): If the map filename is defined but empty
create a name based upon the output file name. If the name is
defined but refers to a directory create a file inside the
directory based on the output file name.
* ld.texi: Document the new feature.
* testsuite/ld-script/map-address.exp: Add test of new feature.
* NEWS: Mention the new feature.
Diffstat (limited to 'ld/NEWS')
-rw-r--r-- | ld/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ -*- text -*- +* The -Map=<filename> command line option has been extended so that if + <filename> is omitted then a file called <output-filename>.map will be + created. Plus if <filename> is a directory then + <filename>/<output-filename>.map will be created. + * Add a command-line option for ELF linker, --warn-textrel, to warn that DT_TEXTREL is set in a position-independent executable or shared object. |