diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-02-01 21:24:15 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-02-01 21:24:15 +0000 |
commit | 9e396994aa2d40359a4ae3dc1ca5b81342d1fe8b (patch) | |
tree | fdbfab43384b29ade1735637564b1be811a8c1b9 /gas/config/obj-bout.h | |
parent | 6c55897c9ff5be0d80f5ce317d816ed1aeb29298 (diff) | |
download | gdb-9e396994aa2d40359a4ae3dc1ca5b81342d1fe8b.zip gdb-9e396994aa2d40359a4ae3dc1ca5b81342d1fe8b.tar.gz gdb-9e396994aa2d40359a4ae3dc1ca5b81342d1fe8b.tar.bz2 |
* config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
* config/obj-bout.h (S_IS_LOCAL): Likewise.
Diffstat (limited to 'gas/config/obj-bout.h')
-rw-r--r-- | gas/config/obj-bout.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/config/obj-bout.h b/gas/config/obj-bout.h index 959ab94..81621b9 100644 --- a/gas/config/obj-bout.h +++ b/gas/config/obj-bout.h @@ -186,12 +186,12 @@ struct relocation_info /* True if a debug special symbol entry */ #define S_IS_DEBUG(s) ((s)->sy_symbol.n_type & N_STAB) /* True if a symbol is local symbol name */ -/* A symbol name whose name begin with ^A is a gas internal pseudo symbol - nameless symbols come from .stab directives. */ -#define S_IS_LOCAL(s) (S_GET_NAME(s) && \ - !S_IS_DEBUG(s) && \ - (S_GET_NAME(s)[0] == '\001' || \ - (S_LOCAL_NAME(s) && !flag_keep_locals))) +#define S_IS_LOCAL(s) \ + (S_GET_NAME (s) \ + && !S_IS_DEBUG (s) \ + && (strchr (S_GET_NAME (s), '\001') != NULL \ + || strchr (S_GET_NAME (s), '\002') != NULL \ + || (S_LOCAL_NAME(s) && !flag_keep_locals))) /* True if a symbol is not defined in this file */ #define S_IS_EXTERN(s) ((s)->sy_symbol.n_type & N_EXT) /* True if the symbol has been generated because of a .stabd directive */ |