trylink: produce even more info about final link stage

trylink: explain how to modify link and drastically decrease amount
  of padding (unfortunately, needs hand editing ATM).
*: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts

size saving: 0.5k
This commit is contained in:
Denis Vlasenko
2007-08-12 20:58:27 +00:00
parent 4185548984
commit 6ca409e0e4
119 changed files with 491 additions and 444 deletions

View File

@ -280,7 +280,7 @@ struct brkcon {
* -x: trace
* -u: unset variables net diagnostic
*/
static char flags['z' - 'a' + 1];
static char flags['z' - 'a' + 1] ALIGN1;
/* this looks weird, but is OK ... we index FLAG with 'a'...'z' */
#define FLAG (flags - 'a')
@ -577,7 +577,7 @@ struct here {
struct here *h_next;
};
static const char * const signame[] = {
static const char *const signame[] = {
"Signal 0",
"Hangup",
NULL, /* interrupt */
@ -593,11 +593,10 @@ static const char * const signame[] = {
"SIGUSR2",
NULL, /* broken pipe */
"Alarm clock",
"Terminated",
"Terminated"
};
struct res {
const char *r_name;
int r_val;
@ -4209,7 +4208,7 @@ static char *unquote(char *as)
#define NDENT ((BLKSIZ+sizeof(struct dirent)-1)/sizeof(struct dirent))
static struct wdblock *cl, *nl;
static char spcl[] = "[?*";
static const char spcl[] ALIGN1= "[?*";
static struct wdblock *glob(char *cp, struct wdblock *wb)
{