diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2015-09-10 10:23:00 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2015-09-10 10:23:00 +0300 |
commit | 5df629e47218d72ea142c6a492d63b6ff0ce2140 (patch) | |
tree | 69b00192753fc65cc6ac02bd45a23994aa1a3f98 /include | |
parent | 6d9eec852611157df5eca913caa9d23b80473113 (diff) | |
download | bdwgc-5df629e47218d72ea142c6a492d63b6ff0ce2140.tar.gz |
Consistently use int[] type for '_end' symbol
(code refactoring)
* include/private/gcconfig.h (_end): Change char[] type to int[] (for
remaining entries).
Diffstat (limited to 'include')
-rw-r--r-- | include/private/gcconfig.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 5a1705e6..7120464c 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -950,7 +950,7 @@ # endif extern int __data_start[]; # define DATASTART ((ptr_t)__data_start) - extern char _end[]; + extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING # endif @@ -990,7 +990,7 @@ # define NO_GETENV # define CPP_WORDSZ 32 # define ALIGNMENT 4 - extern int _end []; + extern int _end[]; extern int __bss_start; # define DATAEND (ptr_t)(_end) # define DATASTART (ptr_t)(__bss_start) @@ -1152,7 +1152,7 @@ # endif extern int __data_start[]; # define DATASTART ((ptr_t)__data_start) - extern char _end[]; + extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING # endif @@ -1428,7 +1428,7 @@ # endif extern int __data_start[]; # define DATASTART ((ptr_t)__data_start) - extern char _end[]; + extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING # endif @@ -1668,7 +1668,7 @@ # endif extern int _fdata[]; # define DATASTART ((ptr_t)_fdata) - extern char _end[]; + extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING # endif @@ -1778,7 +1778,7 @@ # endif extern int __data_start[]; # define DATASTART ((ptr_t)__data_start) - extern char _end[]; + extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING # endif @@ -1808,7 +1808,7 @@ # endif extern int __data_start[]; # define DATASTART ((ptr_t)__data_start) - extern char _end[]; + extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING # endif @@ -2204,7 +2204,7 @@ # endif extern int __data_start[]; # define DATASTART ((ptr_t)__data_start) - extern char _end[]; + extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING # endif @@ -2261,7 +2261,7 @@ # endif extern int __data_start[]; # define DATASTART ((ptr_t)__data_start) - extern char _end[]; + extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING # endif @@ -2325,7 +2325,7 @@ # endif extern int __data_start[]; # define DATASTART ((ptr_t)__data_start) - extern char _end[]; + extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING # endif |