diff options
author | Jeff Law <law@redhat.com> | 1993-12-17 05:21:33 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-12-17 05:21:33 +0000 |
commit | 93df4ec5fe93fa56de40731ca0021bd5700f5a80 (patch) | |
tree | 7cfc476896a13baf0689687b987f5d04ca57900a /ld/emultempl/m88kbcs.em | |
parent | 5ea18b5dd9601cc6cecec33d0160a63b051016f8 (diff) | |
download | gdb-93df4ec5fe93fa56de40731ca0021bd5700f5a80.zip gdb-93df4ec5fe93fa56de40731ca0021bd5700f5a80.tar.gz gdb-93df4ec5fe93fa56de40731ca0021bd5700f5a80.tar.bz2 |
* ldmain.c (lprefix): Change default from a char to a string
with only one character.
(lprefix_len): Set default to one.
* ldmain.h (lprefix_len): Declare.
* ldsym.c (write_file_locals): Use strncmp rather than a character
comparison for lprefix.
* emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len
correctly.
* emultmpl/hppaosf.em: Include ldexp.h.
(before_parse): Set lprefix and lprefix_len correctly.
Diffstat (limited to 'ld/emultempl/m88kbcs.em')
-rw-r--r-- | ld/emultempl/m88kbcs.em | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/emultempl/m88kbcs.em b/ld/emultempl/m88kbcs.em index a1add23..77b726f 100644 --- a/ld/emultempl/m88kbcs.em +++ b/ld/emultempl/m88kbcs.em @@ -42,8 +42,9 @@ extern char *ldfile_output_machine_name; static void gld${EMULATION_NAME}_before_parse() { - extern char lprefix; - lprefix = '@'; + extern char *lprefix; + lprefix = "@"; + lprefix_len = 1; ldfile_output_architecture = bfd_arch_${ARCH}; } |