annotate src/s/hpux9shr.h @ 31897:a292cc13911a

(GC_CHECK_STRING_BYTES): Temporarily define, for bug hunting. (struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's size in the sdata structure. (SDATA_NBYTES, SDATA_DATA): New macros. (SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define differently for the different layout of the sdata structure. (allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size in sdata. (sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]: Check that size recorded in the string size and size recorded in the sdata structure agree.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 26 Sep 2000 11:11:51 +0000
parents 6e415bb093fe
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7620
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #define ORDINARY_LINK
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 #define HPUX_USE_SHLIBS
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 #define RUN_TIME_REMAP
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 #include "hpux9.h"
7914
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
6
13786
6e415bb093fe (C_DEBUG_SWITCH): Definition turned off.
Karl Heuer <kwzh@gnu.org>
parents: 7914
diff changeset
7 #if 0 /* No longer needed, since in current GCC -g no longer does that. */
7914
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
8 /* We must turn off -g since it forces -static. */
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
9 #ifdef __GNUC__
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
10 #undef C_DEBUG_SWITCH
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
11 #define C_DEBUG_SWITCH
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
12 #endif
13786
6e415bb093fe (C_DEBUG_SWITCH): Definition turned off.
Karl Heuer <kwzh@gnu.org>
parents: 7914
diff changeset
13 #endif