This is the mail archive of the mailing list for the Java project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Java broken after i386 PIC change


> 2001-01-15  Richard Henderson
>         * config/i386/i386.c (asm_output_function_prefix): Remove.
>         (ix86_asm_file_end): New.
>         (load_pic_register): Generate pic_label_name into a
>         staticly allocated buffer.
>         * config/i386/i386-protos.h: Update.
>         * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
>         (ASM_FILE_END): New.
>         * config/i386/i386afe.h: New file.
>         * config.gcc (i?86-*-elf) [tm_file]: Use it.
>         (i?86-*-{freebsd,linux*,moss*}): Likewise.
>         * config/elfos.h (ASM_FILE_END): Undef before redefinition.
>         * config/i386/cygwin.h (ASM_FILE_END): Likewise.
>         * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
>         * config/i386/sco5.h (ASM_FILE_END): Likewise.
>         * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.

This patch broke Java.


$ ./hello
Liberté, égalité, fraternité !


$ ./hello
Segmentation fault (core dumped)

(gdb) bt
#0  0x0 in ?? ()
#1  0x804a8fe in __register_frame_info (begin=0x405818ec, ob=0x40583320)
    at ../../gcc/frame-dwarf2.c:563
#2  0x404848c0 in __libc_global_ctors () at soinit.c:56
#3  0x40484942 in init (argc=1, argv=0xbffffa3c, envp=0xbffffa44)
    at ../sysdeps/unix/sysv/linux/init-first.c:103
#4  0x4000d2dd in _dl_init (main_map=0x40015fd8, argc=1, argv=0xbffffa3c,

    env=0xbffffa44) at dl-init.c:111


  [ bryce ]

Alexandre Petit-Bianco wrote:

> Bryce McKinlay writes:
> > I'm trying to track this down. Does anyone have any clues as to when
> > it broke and/or what might be causing this?
> I would say it happened over the week-end. I'm pretty sure I did an
> up-to-date build last Friday.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]