Deleted Added
full compact
crunchide.c (1723) crunchide.c (8857)
1/*
2 * Copyright (c) 1994 University of Maryland
3 * All Rights Reserved.
4 *
5 * Permission to use, copy, modify, distribute, and sell this software and its
6 * documentation for any purpose is hereby granted without fee, provided that
7 * the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting

--- 41 unchanged lines hidden (view full) ---

50 * program. In what cases will gcc/gas generate code that needs a
51 * relative reloc from a global symbol, other than PIC? The
52 * solution is to not hide the symbol from the linker in this case,
53 * but to generate some random name for it so that it doesn't link
54 * with anything but holds the place for the reloc.
55 * - arrange that all the BSS segments start at the same address, so
56 * that the final crunched binary BSS size is the max of all the
57 * component programs' BSS sizes, rather than their sum.
1/*
2 * Copyright (c) 1994 University of Maryland
3 * All Rights Reserved.
4 *
5 * Permission to use, copy, modify, distribute, and sell this software and its
6 * documentation for any purpose is hereby granted without fee, provided that
7 * the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting

--- 41 unchanged lines hidden (view full) ---

50 * program. In what cases will gcc/gas generate code that needs a
51 * relative reloc from a global symbol, other than PIC? The
52 * solution is to not hide the symbol from the linker in this case,
53 * but to generate some random name for it so that it doesn't link
54 * with anything but holds the place for the reloc.
55 * - arrange that all the BSS segments start at the same address, so
56 * that the final crunched binary BSS size is the max of all the
57 * component programs' BSS sizes, rather than their sum.
58 */
58 */
59#include <unistd.h>
60#include <stdio.h>
61#include <stdlib.h>
62#include <string.h>
63#include <fcntl.h>
64#include <a.out.h>
65#include <sys/types.h>
66#include <sys/stat.h>

--- 255 unchanged lines hidden ---
59#include <unistd.h>
60#include <stdio.h>
61#include <stdlib.h>
62#include <string.h>
63#include <fcntl.h>
64#include <a.out.h>
65#include <sys/types.h>
66#include <sys/stat.h>

--- 255 unchanged lines hidden ---