From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by sourceware.org (Postfix) with ESMTPS id AE30238277A7 for ; Fri, 27 May 2022 09:45:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AE30238277A7 Received: by mail-ed1-x531.google.com with SMTP id fd25so4762618edb.3 for ; Fri, 27 May 2022 02:45:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=66+kLJ+jxv4xBGiBMFDaTOhaMt82jdfc5ul+u3g7E/0=; b=7aad2mj3SWH26RLq5zGLQk6L0ZUeAmNjZaxEu7Dj1TOHaUtpbAFR3jnILfGk0m1Bdb ie2KZteNehIOUclSPt9tck5tZtjSzUVDw8C2guqIxJ4FhWtF1AZkCtwCUlsbss20er6u a9TyvVAujdDW3QbfFnx409HarXIu0jYXHCgcEFlLJeOCrUUuB54tX8VnaAlLiz8ZK4SI rqAKdZu0+X7LGkjLHgod/Je3Id9y7hIjjl1v/lhrzsV7qPRFM7WDf4CdIVC1uTU9rnL5 l62zyWn7R+uz5oeh55HybU4F4SIUTFPUiNMj90yKliRs2aoNhzIJFILswicG7xpkZJcl 0tsA== X-Gm-Message-State: AOAM530Q00DYaZCu3C1hmzr2iwxw21e6YOzH2jLcjW/AVkPGyKXG6gg0 D+RpCbgN3Ijb+raqLoQ5UiuxkmmiXEszGr3D7sI= X-Google-Smtp-Source: ABdhPJyMc5swobr5jzgKhD8Rwk5wzl7IZZwqOwRk7gi3yYSK0gtrVuZ9FDdPLt1dh0Knr6GSDgZGKNPr5GBkm72vqB4= X-Received: by 2002:a05:6402:4394:b0:42a:e84c:2cfb with SMTP id o20-20020a056402439400b0042ae84c2cfbmr44754505edc.97.1653644747199; Fri, 27 May 2022 02:45:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kito Cheng Date: Fri, 27 May 2022 17:45:36 +0800 Message-ID: Subject: Re: RISCV relocs . To: umesh kalappa Cc: Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2022 09:45:50 -0000 Those relocations are used in EH frame and debug info IIRC. On Fri, May 27, 2022 at 5:31 PM umesh kalappa via Binutils wrote: > > Hi All , > > We build the loadable kernel module ,where we do partially link (-r) and > for riscv > > we are understanding the relocs like > > 000000000030 001300000034 R_RISCV_SUB6 0000000000000002 + 0 > 000000000033 001700000035 R_RISCV_SET6 0000000000000008 + 0 > > Currently we are ignoring the above relocs ,is that ok to do so ? > > ~Umesh